This shows you the differences between two versions of the page.
programs:odxsql:commands:connect [2009/11/28 20:48] tdo created |
programs:odxsql:commands:connect [2016/06/28 22:38] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{page>:top_add&nofooter&noeditbtn}} | ||
- | <html><div align="center"><span style="color:red">DRAFT</span></div></html> | ||
- | |||
- | Example | ||
- | In OdxSQL, CONNECT establishes a connection to an Omnidex Environment Catalog and opens a cursor. | ||
- | |||
- | Enter CONNECT followed by the environment catalog file spec and any desired parameters at the prompt. | ||
- | |||
- | >connect orders.env | ||
- | Connected to C:\Omnidex\Demodata\orders.env | ||
- | > | ||
- | |||
- | Or, type CONNECT and press return to be prompted for each parameter. | ||
- | |||
- | >connect | ||
- | Environment file: /disctest/oracle/orders.env | ||
- | User: guest | ||
- | Password: | ||
- | Options: | ||
- | |||
- | Enter / to exit the series of prompts at any time. | ||
- | |||
- | Specify a username and password in the AS [ user]/[ password] clause. | ||
- | |||
- | Specify connect options in the WITH clause. | ||
- | |||
- | The NOCURSOR option, will cause a connection to be established without opening a cursor. | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | {{page>:bottom_add&nofooter&noeditbtn}} |