This is a discussion on Insert Multiple records using single Insert Statement within the Database Support forums, part of the Web Development category; Hi, This is the simple way to insert multiple records using a single Insert Statement. Use YourDB GO INSERT INTO ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi, This is the simple way to insert multiple records using a single Insert Statement. Use YourDB GO INSERT INTO MyTable (FirstCol, SecondCol) VALUES ('First',1); INSERT INTO MyTable (FirstCol, SecondCol) VALUES ('Second',2); INSERT INTO MyTable (FirstCol, SecondCol) VALUES ('Third',3); INSERT INTO MyTable (FirstCol, SecondCol) VALUES ('Fourth',4); INSERT INTO MyTable (FirstCol, SecondCol) VALUES ('Fifth',5); GO |
| Sponsored Links |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to insert data from a csv file into a SQL server database? | $enthil | Database Support | 7 | 05-01-2008 09:45 PM |
| Delete records from multiple table at a time | Falcon | Database Support | 7 | 04-07-2008 12:12 AM |
| How do I insert javascript in php code? | itbarota | PHP Programming | 1 | 09-12-2007 12:08 AM |
| What is Bulk Insert in sql? | oxygen | Database Support | 7 | 08-03-2007 12:31 PM |
| Update / Insert in a single query | priyan | Database Support | 1 | 07-25-2007 07:17 AM |