Nov 22, 2008 #1 vc1881 Programmer Nov 9, 2008 32 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 Oct 18, 2002 641 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 Nov 9, 2008 32 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 Jul 4, 2005 747 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.