T
Terry Olsen
I have an in-memory DataTable with about 35,000 rows. I have an IP
address column that is populated and a hostname column that is not. I
want to be able to quickly update the hostname column so that it shows
the hostname for the IP. Rather than iterate through all the rows, I'm
wondering if there's a way to update it quickly with an SQL update
command? Something like...
UPDATE MyDT SET hostname='localhost' WHERE IP='127.0.0.1'
Can this be done against an in-memory DataTable?
address column that is populated and a hostname column that is not. I
want to be able to quickly update the hostname column so that it shows
the hostname for the IP. Rather than iterate through all the rows, I'm
wondering if there's a way to update it quickly with an SQL update
command? Something like...
UPDATE MyDT SET hostname='localhost' WHERE IP='127.0.0.1'
Can this be done against an in-memory DataTable?