Nov 22, 2008 #1 vc1881 Programmer Joined Nov 9, 2008 Messages 32 Location US Hello, I have a text file with a column of data. How do I search for matching records against a database field? Thanks, Victor
Hello, I have a text file with a column of data. How do I search for matching records against a database field? Thanks, Victor
Nov 23, 2008 #2 mansii Programmer Joined Oct 18, 2002 Messages 641 Location ID I believe that you need to read all lines (records) then compare certain filter. Upvote 0 Downvote
Nov 24, 2008 Thread starter #3 vc1881 Programmer Joined Nov 9, 2008 Messages 32 Location US The data in the text file is in the following format: aaaaaaaaa bbbbbbbbb ccccccccc ddddddddd eeeeeeeee what SQL commands would read every line and search against the database? Thanks Upvote 0 Downvote
The data in the text file is in the following format: aaaaaaaaa bbbbbbbbb ccccccccc ddddddddd eeeeeeeee what SQL commands would read every line and search against the database? Thanks
Nov 24, 2008 #4 PRPhx MIS Joined Jul 4, 2005 Messages 747 Location US Do a google search for: read text file sql server. There is a lot of examples out there. OR you can look into doing a bulk insert of your text file into either a table or temp table. Upvote 0 Downvote
Do a google search for: read text file sql server. There is a lot of examples out there. OR you can look into doing a bulk insert of your text file into either a table or temp table.