i have an folder, in which i receive .csv files for every half hour with time stamps. Now, i need to take the latest file from the available files and import it into sql ser
Take a look at this article for directory listing in tsql http://www.simple-talk.com/sql/t-sql-programming/the-tsql-of-text-files/
Then you can find the latest one by ordering them.