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
Next revision Both sides next revision
dev:sql:statements:insert:home [2009/12/18 15:32]
tdo
dev:sql:statements:insert:home [2010/07/02 18:10]
tdo
Line 8: Line 8:
 Inserts one or more records into a table and depending on the Omnidex index set up will automatically synchronize the Omnidex Indexes. ​ Inserts one or more records into a table and depending on the Omnidex index set up will automatically synchronize the Omnidex Indexes. ​
 ===== Syntax ===== ===== Syntax =====
- +<​code>​ 
-  INSERT INTO table    ​< [(column-list)] < VALUES (value-list) | select statement > > +  INSERT INTO table_spec  ​< [(column-list)] < VALUES (value-list) | select statement > > 
       [ON [INSTANCE] instance] ​       [ON [INSTANCE] instance] ​
       [WITH options]       [WITH options]
  
- +  ​INSERT <​table>​ SELECT <​statement>​  
-INSERT <​table>​ SELECT <​statement>​  +</​code>​
- +
  
 ===== Discussion ===== ===== Discussion =====
Line 41: Line 40:
  
 ===== Examples ===== ===== Examples =====
- 
-==== Simple ==== 
   > INSERT INTO CUSTOMERS (COMPANY, CONTACT) VALUES ('​DISC',​ 'JOHN DOE')   > INSERT INTO CUSTOMERS (COMPANY, CONTACT) VALUES ('​DISC',​ 'JOHN DOE')
  
  
 {{page>:​bottom_add&​nofooter&​noeditbtn}} {{page>:​bottom_add&​nofooter&​noeditbtn}}
 
Back to top
dev/sql/statements/insert/home.txt · Last modified: 2016/06/28 22:38 (external edit)