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 |
|
fmardani
Constraint Violating Yak Guru
433 Posts |
Posted - 2006-12-14 : 05:51:54
|
| Hi,I am using System_User to get the userlogin details.For example I get a value such as EXX099\USzoroHow do I get USzoro from the UserDetails so that I will end up with just the login please? |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2006-12-14 : 07:09:15
|
| select right(login,charindex('/',reverse(login))-1)==========================================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. |
 |
|
|
|
|
|