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 |
|
Anisha
Starting Member
10 Posts |
Posted - 2008-02-27 : 04:13:19
|
Hi all I want to know that if different users have access to a database with same loginName and password then how can I get the IP address of a particular user through a query.Thanks in advance Anisha |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-02-27 : 04:16:39
|
You can use HOST_NAME() system function. E 12°55'05.25"N 56°04'39.16" |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2008-02-27 : 05:20:37
|
| http://sqlblogcasts.com/blogs/madhivanan/archive/2007/08/27/get-ip-address.aspxMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|