sql server - how to create a code for IP-address locator which takes IP-address from a table in database -
I am working on a project that collects the user's IP address and stores them in the database. I want to know the methods or methods from which I can track these IPs and produce their geographic latitude and longitude details. I do not want to create a website or an app ... I just want to work locally on my system
I do not think you can do directly in T-SQL, but you can use CLR with C # You can use View
(var objClient = new System.Net.WebClient ()) {var strFile = objClient.DownloadString ("http://freegeoip.net/xml/192.168. 0.1 "); }
Comments
Post a Comment