|
SQL Reference |
Commands |
|
DETACHDetach the attached Omnidex Standalone Table (OST) file from the open environment by using the DETACH command. Once the table is detached, it can no longer be referred to by the application, unless it is re-attached. OST's are created using the Omnidex EXPORT statement. export company, contact, state, status from customers, orders where customers.customer_no = orders.customer_no and status='cncl' to cncl.ost with ost attach ost cncl as CANCELED select company, contact from customers where state='CO' detach ost canceled See also: ATTACH
SyntaxDETACH OST table [ON [INSTANCE] instance][WITH options] DETACH OST table [ON [INSTANCE] instance] [WITH options]
Options
ExampleThis example creates an OST that contains customers who have canceled their order and names the OST 'canceled'. The OST is attached on the default current instance, a select statement is run, then the OST is detached. >export company, contact, state, status from customers,
orders where customers.customer_no=orders.customer_no and status='cncl'
to cncl.ost with ost >attach ost /users/test/cncl.ost as CANCELED >select company, contact from customers where state='CO' >detach ost canceled table CANCELED detached
|
|
APIs | SQL Reference | Stored Procedures | Third Party Tools | Debugging |
OmniAccess API |
ODBC |
JDBC |
Nested Queries |
SET Operations |
WITH Options |
CURSOR / INSTANCE |
Commands |
Functions |
SQL Server |
Oracle |
MS Access |
Ms Excel |