Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Reuse a Script task for SSIS IP Address Range Lookup

$
0
0

Hey, 

My situation is very much similar to the one describe in this post

Basically I have a MaxMind file that I loaded to our Sql Server and I want to do a range join to find the right locationID for an IP Address, the problem is that a range join a very time consuming.

I saw that there is a script that the SSIS team has written and published that can be very helpful; however since I'm not very familiar with C# I can't reuse the script.  

The important fields in my IP table are:

locationID, StartRange and EndRange

For example

1765 ,  386862079,  368674304

I want to do a range lookup and the result should be the locationID for a given IP address (the IP is converted to a number)

Can someone assist me with updating the script? It would be a great help.

Thanks,  David.



Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>