This shows you the differences between two versions of the page.
programs:odxsql:home [2009/12/01 20:52] tdo |
programs:odxsql:home [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> | ||
- | ====== OdxSQL Quick Notes ====== | ||
- | |||
- | ^[[programs:odxsql:overview|OdxSQL Overview]]^ OdxSQL Commands ^OdxSQL Settings^OdxSQL Scripts^SQL SELECT^ Omnidex SQL ^ | ||
- | |||
- | OdxSQL is a console application for manually entering SQL Statements and OdxSQL Commands. | ||
- | |||
- | Use OdxSQL for processing Data Definition Scripts to create Omnidex Environments and Indexes. | ||
- | |||
- | Use OdxSQL to test SQL SELECTs and ODBC, JDBC and Network Services set up. | ||
- | |||
- | Use OdxSQL to prototype Omnidex Queries and use the Explain Command to review optimization. | ||
- | |||
- | |||
- | ===== Common ways to run OdxSQL ===== | ||
- | |||
- | |||
- | os> odxsql | ||
- | os> odxsql envfile | ||
- | os> odxsql dsnfile -odxnet -odbc | ||
- | os> odxsql -? | ||
- | os> odxsql -use scriptfile | ||
- | |||
- | Running OdxSQL Explained: | ||
- | | odxsql | Run OdxSQL. Use the CONNECT command to connect to an Environment | | ||
- | | odxsql dsnfile -odxnet -odbc | Run OdxSQL and an OdxNET background process and connect to the DSN using ODBC | | ||
- | | odxsql envfile | Run OdxSQL and connect to the 'envfile' | | ||
- | | odxsql -? | Displays OdxSQL command line options | | ||
- | | odxsql -use scriptfile | Run OdxSQL and read and process the scriptfile of OdxSQL Statements and Commands.| | ||
- | |||
- | ===== OdxSQL Important Information ===== | ||
- | |||
- | * OdxSQL connects to an Omnidex Environment or ODBC or JDBC Omnidex File Datasource (DSN). | ||
- | | ||
- | * OdxSQL automatically terminates commands and SQL Statements with a <cr>. | ||
- | * Use the backslash [ \ ]statement continuation character for multi line statements. | ||
- | * Use SET CONTINUATION OFF to use the semi-colon command and statement terminator. | ||
- | |||
- | * Use HELP <cr> to display a list of commands and SQL Statements. | ||
- | * Use HELP <command> to display the syntax for the command. | ||
- | |||
- | * Use SET ? to get a list of OdxSQL Set options. | ||
- | |||
- | * Use Show <table> to show information on a table with the tables's column layout. | ||
- | * Use SHOW ALL to see all tables, including internal system tables. | ||
- | |||
- | * Create scripts and process with the USE <scriptfile> command or the OdxSQL -use scriptfile | ||
- | | ||
- | ===== See Also ===== | ||
- | |||
- | * [[programs:odxsql:overview | OdxSQL Overview ]] | ||
- | * OdxSQL Command Line Options | ||
- | * OdxSQL Commands | ||
- | * OdxSQL Settings | ||
- | * OdxSQL Script Examples | ||
- | * SQL SELECT | ||
- | * SQL SELECT Examples | ||
- | * Omnidex SQL Statements | ||
- | |||
- | ^[[programs:odxsql:overview|OdxSQL Overview]]^ OdxSQL Commands ^OdxSQL Settings^OdxSQL Scripts^SQL SELECT^ Omnidex SQL ^ | ||
- | |||
- | {{page>:bottom_add&nofooter&noeditbtn}} | ||