Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
nitin1353
Constraint Violating Yak Guru
381 Posts |
Posted - 2007-02-23 : 13:17:54
|
GurusCan we insert multiple rows with single insert?Like thisinsert into users(username,password,roles) values('hstewart','codeproject','Administrator')('abc','code','User')RegardsNitin |
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2007-02-23 : 20:27:44
|
[code]insert into users(username,password,roles) select 'hstewart','codeproject','Administrator' union allselect 'abc','code','User'[/code] KH |
 |
|
|
|
|