Insert 2 record or more to mysql Database using one line sta

Post new topic   Reply to topic

View previous topic View next topic Go down

Insert 2 record or more to mysql Database using one line sta

Post  Admin on Tue Dec 11, 2007 8:22 pm

Example to insert 3 record to mysql database using one insert only
Code:

insert into Table (Field1,Field2) values (1,2),(3,4),(5,6)


thanks

Admin
Admin

Number of posts: 6
Registration date: 2007-12-10

View user profile http://mostshar.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


Permissions of this forum:
You cannot reply to topics in this forum