This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
dev:sql:overview [2009/11/30 14:44] tdo |
dev:sql:overview [2016/06/28 22:38] (current) |
||
---|---|---|---|
Line 2: | Line 2: | ||
<html><div align="center"><span style="color:red">DRAFT</span></div></html> | <html><div align="center"><span style="color:red">DRAFT</span></div></html> | ||
====== Omnidex SQL Reference ====== | ====== Omnidex SQL Reference ====== | ||
+ | {{page>:sql_bar&nofooter&noeditbtn}} | ||
===== Overview ===== | ===== Overview ===== | ||
+ | |||
+ | Omnidex SQL is based on ANSI SQL, but also contains extensions that support Omnidex's extended features. | ||
+ | |||
+ | Omnidex has limited support for Oracle and SQL Server specific SQL extensions such as Oracle decode. | ||
+ | |||
+ | Omnidex SQL is available using standard ODBC and JDBC connections. | ||
Omnidex provides a high-level SQL interface to access databases enhanced with Omnidex indexes. The SQL supported is a subset of the ANSI SQL2 and ANSI SQL99 standard along with some very powerful extensions specific to Omnidex. | Omnidex provides a high-level SQL interface to access databases enhanced with Omnidex indexes. The SQL supported is a subset of the ANSI SQL2 and ANSI SQL99 standard along with some very powerful extensions specific to Omnidex. | ||
Line 12: | Line 19: | ||
Java applications such as applets, servlets, and standard console applications can communicate with Omnidex via the Omnidex JDBC driver. | Java applications such as applets, servlets, and standard console applications can communicate with Omnidex via the Omnidex JDBC driver. | ||
+ | |||
Omnidex SQL is a rich implementation of the SQL2 and SQL99 standards along with extensions specific to Omnidex. | Omnidex SQL is a rich implementation of the SQL2 and SQL99 standards along with extensions specific to Omnidex. | ||
Line 17: | Line 25: | ||
Omnidex SQL statements can also be tested and scripted using the [[programs:odxsql:overview|OdxSQL]] program. | Omnidex SQL statements can also be tested and scripted using the [[programs:odxsql:overview|OdxSQL]] program. | ||
- | |||
- | ===== Statements by Type ===== | ||
- | ==== Data Manipulation Statements ==== | ||
- | | SELECT | Select data | | ||
- | | INSERT | Insert data | | ||
- | | DELETE | Delete data | | ||
- | | UPDATE | Update data | | ||
- | | QUALIFY | Qualify rows using Omnidex criteria | | ||
- | |||
- | ==== Data Definition Language Statements ==== | ||
- | ==== Index Manipulation Statements (V5.1) ==== | ||
- | | | | | ||
- | |||
- | ==== Miscellaneous Statements ==== | ||
- | ===== All Statements ===== | ||
- | |||
- | ^Statement^ Description ^ | ||
- | | [[dev:sql:assignvalues|ASSIGNVALUES]] | Use an undetermined set of values as criteria in a query. | | ||
- | | [[dev:sql:attach|ATTACH]] | Attach an Omnidex Standalone Table (OST) to a connected Omnidex Environment for queries and manipulation. | | ||
- | | [[dev:sql:close_cursor|CLOSE CURSOR]] | Closes a previously opened cursor. | | ||
- | | [[dev:sql:command|OS Command]] | Execute an operating system command. | | ||
- | | [[dev:sql:connect|CONNECT]] | Connect to an Omnidex Environment. | | ||
- | | [[dev:sql:create_database|CREATE DATABASE]] | Create a Database with an Omnidex Environment. | | ||
- | | [[dev:sql:create_directory|CREATE DIRECTORY]] | Create a Directory in the underlying operating system. | | ||
- | | [[dev:sql:create_environment|CREATE ENVIRONMENT]] | V5.1 Create an Omnidex Environment. | | ||
- | | [[dev:sql:create_file|CREATE FILE]] | Create a file in the underlying operating system. | | ||
- | | [[dev:sql:create_index|CREATE INDEX]] | V5.1 Create an Index. | | ||
- | | [[dev:sql:create_indexes|CREATE INDEXES]] | ??? | | ||
- | | [[dev:sql:create_table|CREATE TABLE]] | Create a table within an Omnidex Environment or create a table in the underlying RDBMS. | | ||
- | | [[dev:sql:delete|DELETE]] | Delete a row or rows of data. | | ||
- | | [[dev:sql:deleteindex|DELETEINDEX]] | Delete an Omnidex Index value. | | ||
- | | [[dev:sql:detach|DETACH]] | Detach an Omnidex Standalone Table (OST) from a connected Omnidex Environment. | | ||
- | | [[dev:sql:disconnect|DISCONNECT]] | Disconnect from a connected Omnidex Environment. | | ||
- | | [[dev:sql:drop_database|DROP DATABASE]] | V5.1 Drop a Database from within an Omnidex Environment. | | ||
- | | [[dev:sql:drop_environment|DROP ENVIRONMENT]] | V5.1 Drop an Omnidex XML Environment and purge the underlying operating system file. | | ||
- | | [[dev:sql:drop_index|DROP INDEX]] | V5.1 | | ||
- | | [[dev:sql:drop_indexes|DROP INDEXES]] | ??? | | ||
- | | [[dev:sql:drop_table|DROP TABLE]] | Drop a table created with a CREATE TABLE or SELECT INTO statement. | | ||
- | | [[dev:sql:export|EXPORT]] | Export rows or rowids to an external file. | | ||
- | | [[dev:sql:helper|HELPER]] | ??? | | ||
- | | [[dev:sql:insert|INSERT]] | Insert a row of data. | | ||
- | | [[dev:sql:insertindex|INSERTINDEX]] | Insert values directly into the Omnidex indexes. | | ||
- | | [[dev:sql:join|JOIN]] | Manually join two tables for a joined query | | ||
- | | [[dev:sql:load_ofx|LOAD OFX]] | Load an OFX file. | | ||
- | | [[dev:sql:open_cursor|OPEN CURSOR]] | Open a cursor | | ||
- | | [[dev:sql:partition|PARTITION]] | Partition Data based on criteria. | | ||
- | | [[dev:sql:qualify|QUALIFY]] | Qualify rows in a query. | | ||
- | | [[dev:sql:select|SELECT]] | Select rows , aggregate rows, using Omnidex enhanced criteria. | | ||
- | | [[dev:sql:set|SET]] | Set Omnidex SQL processing options. | | ||
- | | [[dev:sql:update|UPDATE]] | Update rows in a table. | | ||
- | | [[dev:sql:update_indexes|UPDATE INDEXES]] | V5.1 | | ||
- | | [[dev:sql:update_rollup|UPDATE ROLLUP]] | Update Rollup Tables with new calculations. | | ||
- | | [[dev:sql:update_rollups|UPDATE ROLLUPS]] | ??? | | ||
- | | [[dev:sql:update_statistics|UPDATE STATISTICS]] | Update the Omnidex Statistics information. | | ||
- | | [[dev:sql:update_text|UPDATE TEXT]] | Update Text information. | | ||
- | | [[dev:sql:updateindex|UPDATEINDEX]] | Update Omnidex Index Information directly. | | ||
- | | [[dev:sql:version|VERSION]] | Retrieve Omnidex Version Information. | | ||
- | |||
- | ===== Functions ===== | ||
- | |||
- | |||
- | |||
{{page>:bottom_add&nofooter&noeditbtn}} | {{page>:bottom_add&nofooter&noeditbtn}} |