Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dev:sql:statements:create_database:home [2010/07/06 23:00]
els
dev:sql:statements:create_database:home [2012/10/26 15:00] (current)
Line 30: Line 30:
 ===== Discussion ===== ===== Discussion =====
 === DATABASE database_name === === DATABASE database_name ===
-The //​database_name//​ uniquely identifies the database within this environment. ​ It may be up to 32 characters long, and can contain letters, digits and the following special characters: ! @ # $ % ^ _.  It must begin with a letter and is case-insensitive. ​ The //​database_name//​ must  be unique within the environment. ​ If /​database_name//​ is a SQL reserved word, enclose it in double quotation marks.+The //​database_name//​ uniquely identifies the database within this environment. ​ It may be up to 32 characters long, and can contain letters, digits and the following special characters: ! @ # $ % ^ _.  It must begin with a letter and is case-insensitive. ​ The //​database_name//​ must  be unique within the environment. ​ If //​database_name//​ is a SQL reserved word, enclose it in double quotation marks.
  
  
Line 102: Line 102:
   * ODBC   * ODBC
    
-When a database is spread across multiple nodes of an Omnidex Grid, the PHYSICAL clause is declared for each node.  ​At present, the //​database_type//​ must be the same across all nodes; however, support for different database types for each node may be supported in the future.  ​+When a database is spread across multiple nodes of an Omnidex Grid, the PHYSICAL clause is declared for each node.  ​The //​database_type//​ must be the same across all nodes.  ​
  
 === SUBTYPE odbc_subtype === === SUBTYPE odbc_subtype ===
Line 119: Line 119:
 If no //​directory//​ is declared, then the Omnidex index files will reside in the same directory as the Omnidex Environment File. If no //​directory//​ is declared, then the Omnidex index files will reside in the same directory as the Omnidex Environment File.
  
 +The //​directory//​ can also be specified with an environment variable using curly braces.
 +
 +<​code>​
 +create database ​             "​LIST"​
 +  type                       ​FLATFILE
 +  index_directory ​           {$LIST_DIR}
 +</​code>​
 === VERSION “rdbms_version” === === VERSION “rdbms_version” ===
  
Line 140: Line 147:
 === PHYSICAL "​rdbms_string"​ === === PHYSICAL "​rdbms_string"​ ===
 The PHYSICAL //​rdbms_string//​ declares RDBMS connection information and is only used with relational databases and ODBC.  The //​rdbms_string//​ varies according to database type as follows: The PHYSICAL //​rdbms_string//​ declares RDBMS connection information and is only used with relational databases and ODBC.  The //​rdbms_string//​ varies according to database type as follows:
-^ PHYSICAL_TYPES ​^ Description ^ +^Database Type  ​^Description ​ ^ 
-| FLATFILES ​| ignored |+| FLATFILE ​| ignored |
 | ORACLE | The PHYSICAL clause is ignored and Oracle will use the default database for the specified user. | | ORACLE | The PHYSICAL clause is ignored and Oracle will use the default database for the specified user. |
 | ORACLE w/SQLNET | if using Oracle SQLNET, use the name of the SQLNET service and specify "​SQLNETx"​ in the VERSION clause. | | ORACLE w/SQLNET | if using Oracle SQLNET, use the name of the SQLNET service and specify "​SQLNETx"​ in the VERSION clause. |
Line 223: Line 230:
   * [[dev:​sql:​statements:​create_index:​home|CREATE INDEX]]   * [[dev:​sql:​statements:​create_index:​home|CREATE INDEX]]
   * [[dev:​sql:​statements:​update_indexes:​home|UPDATE INDEXES]]   * [[dev:​sql:​statements:​update_indexes:​home|UPDATE INDEXES]]
- 
-Articles: 
- 
-  * [[admin:​grids:​home|Omnidex Grids]] 
-  * [[dev:​appendix:​articles:​dbspecific:​home|Database-specific issues]] 
  
 {{page>:​bottom_add&​nofooter&​noeditbtn}} {{page>:​bottom_add&​nofooter&​noeditbtn}}
 
Back to top
dev/sql/statements/create_database/home.1278457255.txt.gz · Last modified: 2012/10/26 14:58 (external edit)