Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IP Address of connection

Status
Not open for further replies.

cstrong

MIS
Dec 18, 2000
22
0
0
GB
Hi,

Is it possible to get the connections IP address in the same was as you can get the computer name using the HOST_NAME() function?

Is there a function in SQL Server for this or does anyone have some code to obtain this?

Thanks in advance,
Clive
 

I'm not aware of any way to get the IP address of the connection. Haven't seen anything in the documentation. You should be able to obtain the IP address in you VB program. Ask the question in one of the VB forums (forum222). Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top