Insert multiple values into SQL Server table -
i'm kind of new in using sql server , have problem. don't know how have concatenate in order insert 1 column table multiple values.
insert table (column) values ('name'+','+' last name',);,('name'+','+'last name',);
and error:
msg 102, level 15, state 1, line 3
incorrect syntax near ','.
insert table (column) values ('name'+','+ 'last name') --<-- no comma required inside paranthesis ,('name'+','+ 'last name'); --<-- need semi-colon here
Comments
Post a Comment