SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Classifier Functions


Classifier Functions

Author
Message
Steve Jones
Steve Jones
SSC Guru
SSC Guru (280K reputation)SSC Guru (280K reputation)SSC Guru (280K reputation)SSC Guru (280K reputation)SSC Guru (280K reputation)SSC Guru (280K reputation)SSC Guru (280K reputation)SSC Guru (280K reputation)

Group: Administrators
Points: 280206 Visits: 19901
Comments posted to this topic are about the item Classifier Functions

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
jeff.mason
jeff.mason
SSCarpal Tunnel
SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)

Group: General Forum Members
Points: 4485 Visits: 2137
"the 'local_net_address' parameter is used to get the IP address of the client."

Yet from books online:

"Returns the IP address on the server that this connection targeted. Available only for connections that are using the TCP transport provider."

In other words, it returns the SERVER IP address, NOT the client IP address, which is returned by the option from the fourth option. Steve, I think you copied and pasted wrong.
Paul White
Paul White
SSC Guru
SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)

Group: General Forum Members
Points: 68218 Visits: 11399
Ok so this is getting silly: that's four QotDs in a row that I have wrong, and I *knew* the answer to this one! Or so I thought, perhaps I misinterpreted "IP address of the incoming connection" - I took it to be asking for the client's IP address rather than whichever of several server IP address was connected to. Ah well, perhaps tomorrow.



Paul White
SQLPerformance.com
SQLblog.com
@SQL_Kiwi
Tom Thomson
Tom Thomson
SSC-Forever
SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)

Group: General Forum Members
Points: 43956 Visits: 13004
Good question, but I don't like the explanation - it doesn't return the client IP address, it returns the server's IP address to which the client connected.

Tom

Tom Thomson
Tom Thomson
SSC-Forever
SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)

Group: General Forum Members
Points: 43956 Visits: 13004
SQL Kiwi (1/7/2012)
Ok so this is getting silly: that's four QotDs in a row that I have wrong, and I *knew* the answer to this one! Or so I thought, perhaps I misinterpreted "IP address of the incoming connection" - I took it to be asking for the client's IP address rather than whichever of several server IP address was connected to. Ah well, perhaps tomorrow.

The only reason I got this right is that only one of the four options had a valid parametername - all the others would have been uncrecognised so that null would be returned. Judging by the explanation, Steve ment to have client_net_address (but that wasn't an option).

Tom

bitbucket-25253
bitbucket-25253
One Orange Chip
One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)

Group: General Forum Members
Points: 29825 Visits: 25280
L' Eomot Inversé (1/8/2012)
SQL Kiwi (1/7/2012)
Ok so this is getting silly: that's four QotDs in a row that I have wrong, and I *knew* the answer to this one! Or so I thought, perhaps I misinterpreted "IP address of the incoming connection" - I took it to be asking for the client's IP address rather than whichever of several server IP address was connected to. Ah well, perhaps tomorrow.

The only reason I got this right is that only one of the four options had a valid parametername - all the others would have been uncrecognised so that null would be returned. Judging by the explanation, Steve ment to have client_net_address (but that wasn't an option).


+1

And the results are showing:

Correct answers: 31% (4)
Incorrect answers: 69% (9)
Total attempts: 13



If everything seems to be going well, you have obviously overlooked something.

Ron

Please help us, help you -before posting a question please read

Before posting a performance problem please read
SQLRNNR
SQLRNNR
SSC Guru
SSC Guru (123K reputation)SSC Guru (123K reputation)SSC Guru (123K reputation)SSC Guru (123K reputation)SSC Guru (123K reputation)SSC Guru (123K reputation)SSC Guru (123K reputation)SSC Guru (123K reputation)

Group: General Forum Members
Points: 123688 Visits: 18627
L' Eomot Inversé (1/8/2012)
SQL Kiwi (1/7/2012)
Ok so this is getting silly: that's four QotDs in a row that I have wrong, and I *knew* the answer to this one! Or so I thought, perhaps I misinterpreted "IP address of the incoming connection" - I took it to be asking for the client's IP address rather than whichever of several server IP address was connected to. Ah well, perhaps tomorrow.

The only reason I got this right is that only one of the four options had a valid parametername - all the others would have been uncrecognised so that null would be returned. Judging by the explanation, Steve ment to have client_net_address (but that wasn't an option).


That is also the only reason I got this correct. No other option was valid. But the correct answer doesn't seem correct to me. I interpreted the question to be asking for the IP of the Client and not the IP of the server that the client connected to.



Jason AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server, MVP


SQL RNNR

Posting Performance Based Questions - Gail Shaw

Steve Jones
Steve Jones
SSC Guru
SSC Guru (280K reputation)SSC Guru (280K reputation)SSC Guru (280K reputation)SSC Guru (280K reputation)SSC Guru (280K reputation)SSC Guru (280K reputation)SSC Guru (280K reputation)SSC Guru (280K reputation)

Group: Administrators
Points: 280206 Visits: 19901
Doh, copied the wrong item.

corrected.

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
bitbucket-25253
bitbucket-25253
One Orange Chip
One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)

Group: General Forum Members
Points: 29825 Visits: 25280
Steve Jones - SSC Editor (1/8/2012)
Doh, copied the wrong item.

corrected.


Too much snow boarding without sun glasses ?

If everything seems to be going well, you have obviously overlooked something.

Ron

Please help us, help you -before posting a question please read

Before posting a performance problem please read
SQLRNNR
SQLRNNR
SSC Guru
SSC Guru (123K reputation)SSC Guru (123K reputation)SSC Guru (123K reputation)SSC Guru (123K reputation)SSC Guru (123K reputation)SSC Guru (123K reputation)SSC Guru (123K reputation)SSC Guru (123K reputation)

Group: General Forum Members
Points: 123688 Visits: 18627
Steve Jones - SSC Editor (1/8/2012)
Doh, copied the wrong item.

corrected.


Glad to see our complaining was effective;-)



Jason AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server, MVP


SQL RNNR

Posting Performance Based Questions - Gail Shaw

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum







































































































































































SQLServerCentral


Search