My gps device writes its data to a text file in my server. Now i want sql server to read it and store values in a table. How to get started with this kind of a scenario? Any suggestion.
EDIT:
Consider it is an existing file with 10 rows and i have already imported it. Now the file gets updated with new 10 rows. How to import the new rows to sql server?
Here is a sample solution:
The GPS data comes from a pipe-delimited file >
C:\GPS\PingsYou have a stored procedure which is being called intermittently via SQL Agent:
The stored procedure will not load data unless there is a new set of rows starting after the last row loaded in the table.
I realize this simply looks like an implementation of devmake’s answer but I actually created it separately. That said, I upvoted his answer since he posted his first.