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

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -