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 |
kifeda
Posting Yak Master
136 Posts |
Posted - 2007-01-30 : 12:26:19
|
I have a tabkle that I want to use for NT authnetication. It was a list of domain lan usernames. I want to use NT authentication in ASP but in order to do so I need to add the domain to each of the lan ds. So my username, kssensalo needs to be DOMAIN\kssensalo. I need to do this for 5,000+ plus records. What SQL fucntion would I use? I know I can use LTRIM to remove, but I need to add or append. Any suggesttions? |
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2007-01-30 : 12:28:56
|
select 'DOMAIN\' + name from names==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
|
|
kifeda
Posting Yak Master
136 Posts |
Posted - 2007-01-30 : 12:46:45
|
THANKS |
|
|
|
|
|