Click here to Skip to main content
15,896,484 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to insert multiple data insert into single coloumn in database
Posted
Comments
Maciej Los 26-Feb-14 3:28am    
Any details..., requirements...

1 solution

You have to insert multiple rows to do that.
There are a couple of ways to do it, but the simplest is just
SQL
INSERT INTO MyTable (Column1, Column2) VALUES (1, "hello") (2, "Goodbye")
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900