January 7, 2012 at 5:29 pm
Comments posted to this topic are about the item Classifier Functions
January 7, 2012 at 5:31 pm
"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.
January 7, 2012 at 10:13 pm
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
SQLkiwi blog
@SQL_Kiwi
January 8, 2012 at 1:10 pm
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
January 8, 2012 at 1:13 pm
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
January 8, 2012 at 1:40 pm
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:
Incorrect answers: 69% (9)
Total attempts: 13
January 8, 2012 at 2:21 pm
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[/url]
Learn Extended Events
January 8, 2012 at 9:01 pm
Doh, copied the wrong item.
corrected.
January 8, 2012 at 9:32 pm
Steve Jones - SSC Editor (1/8/2012)
Doh, copied the wrong item.corrected.
Too much snow boarding without sun glasses ?
January 8, 2012 at 11:01 pm
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[/url]
Learn Extended Events
January 9, 2012 at 1:57 am
Well, there was only one valid combination anyway.
January 9, 2012 at 5:16 am
Explanation currently says "This function takes an argument, and the 'local_net_address' parameter is used to get the IP address of the client." Probably needs to be fixed now too.
January 9, 2012 at 8:32 am
Rich Weissler (1/9/2012)
Explanation currently says "This function takes an argument, and the 'local_net_address' parameter is used to get the IP address of the client." Probably needs to be fixed now too.
Good catch. Thanks and it's fixed.
January 9, 2012 at 8:54 am
tks Steve (& all who helped today!)
January 9, 2012 at 9:51 am
As I got to the explanation when it was already corrected, I am left with nothing to complain about. Darn! 🙂
Thanks, Steve!
Viewing 15 posts - 1 through 15 (of 18 total)
You must be logged in to reply to this topic. Login to reply