|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
how to load a .csv file to a temporary table in sql 2000hi,
i have a vb.net application. Here is what i have to do. i have 2 .csv files with almost similar data i have to lad each .csv in 1 temp table and then compare those 2 temp tables. any ideas ? Thanks "with a question" <PrashantiK***@gmail.com> wrote in message What would make the two different? What would not? What if there is an extra news:1142271428.060824.54760@j33g2000cwa.googlegroups.com... > i have a vb.net application. > Here is what i have to do. > i have 2 .csv files with almost similar data > i have to lad each .csv in 1 temp table and then compare those 2 temp > tables. space at the end of one field? What do you want to happen if they are different? with a question wrote:
> hi, Why do you need to read them into a table to compare them? Why not just > i have a vb.net application. > Here is what i have to do. > i have 2 .csv files with almost similar data > i have to lad each .csv in 1 temp table and then compare those 2 temp > tables. > any ideas ? > Thanks > compare the two file directly? Open each file Read them in byte by byte or line by line and compare the two Chris Why do you need to put them into SQL tables? Using a DataTable should be
sufficient if you just need to check the values? Show quoteHide quote "with a question" <PrashantiK***@gmail.com> wrote in message news:1142271428.060824.54760@j33g2000cwa.googlegroups.com... > hi, > i have a vb.net application. > Here is what i have to do. > i have 2 .csv files with almost similar data > i have to lad each .csv in 1 temp table and then compare those 2 temp > tables. > any ideas ? > Thanks > Hi,
> i have to lad each .csv in 1 temp table and then compare those 2 temp try 'csvdiff' (http://csvdiff.sourceforge.net/)> tables. > any ideas ? it's a perl script, but i think that's what you're looking for Yours Mumpitz -- mumpitz ------------------------------------------------------------------------ Posted via http://www.mcse.ms ------------------------------------------------------------------------ View this thread: http://www.mcse.ms/message2203022.html |
|||||||||||||||||||||||