how to insert multiple rows in ssms

Solutions on MaxInterview for how to insert multiple rows in ssms by the best coders in the world

showing results for - "how to insert multiple rows in ssms"
Mira
30 Sep 2018
1-- External tool only syntax  
2
3INSERT   
4{  
5    [BULK]  
6    { database_name.schema_name.table_or_view_name | schema_name.table_or_view_name | table_or_view_name }  
7    ( <column_definition> )  
8    [ WITH (  
9        [ [ , ] CHECK_CONSTRAINTS ]  
10        [ [ , ] FIRE_TRIGGERS ]  
11        [ [ , ] KEEP_NULLS ]  
12        [ [ , ] KILOBYTES_PER_BATCH = kilobytes_per_batch ]  
13        [ [ , ] ROWS_PER_BATCH = rows_per_batch ]  
14        [ [ , ] ORDER ( { column [ ASC | DESC ] } [ ,...n ] ) ]  
15        [ [ , ] TABLOCK ]  
16    ) ]  
17}  
18  
19[; ] <column_definition> ::=  
20 column_name <data_type>  
21    [ COLLATE collation_name ]  
22    [ NULL | NOT NULL ]  
23  
24<data type> ::=   
25[ type_schema_name . ] type_name   
26    [ ( precision [ , scale ] | max ]  
27