DML Statements

The BNF notations for DML statements follow:

INSERT INTO <table_or_view_name> [(<column_name>,...)] {{VALUES (<literal> |             <expression> |            NULL |            DEFAULT,...)} |    {<select_statement>} } 
UPDATE <table_or_view_name> SET {<column_name> = <literal> |                       <expression> |                       <single_row_select_statement> |                      NULL |                       DEFAULT,...} [WHERE <predicate>] 
DELETE FROM <table_or_view_name> WHERE <predicate>




SQL Bible
Microsoft SQL Server 2008 Bible
ISBN: 0470257040
EAN: 2147483647
Year: 2005
Pages: 208

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net