This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
dev:sql:statements:insert:home [2010/07/02 18:09] tdo |
dev:sql:statements:insert:home [2016/06/28 22:38] (current) |
||
---|---|---|---|
Line 15: | Line 15: | ||
INSERT <table> SELECT <statement> | INSERT <table> SELECT <statement> | ||
</code> | </code> | ||
- | |||
===== Discussion ===== | ===== Discussion ===== | ||
- | == table == | + | == table_spec == |
Required. The name of the table to insert data into, as defined in the Omnidex environment catalog or as assigned to a table created with the create table command. | Required. The name of the table to insert data into, as defined in the Omnidex environment catalog or as assigned to a table created with the create table command. | ||
Line 40: | Line 39: | ||
===== 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}} |