Query a CSV file with ADO.NET and Restriction

S

Shiplu

hi,
I am a newbie in this group.
pardon any mistake.
I am using ADO.NET to query a CSV file.
my CSV file has a Schema.ini file also.

Excel supprots 65535 rows. thats why I switched to CSV. is there any
restriction here.
I have to handle 3,600,000 rows at least
Thank you
 
E

Edwin Knoppert

I'm not aware of a restriction.
I seen > 100MB files.

Though, CSV is a hopeless 'format' it depends on the reader if it can read a
set like that.
Therefore using OLEDB might be the best for reading (and writting)
(forward only recordset)
 
W

William \(Bill\) Vaughn

I would import your CSV to a SQL Express (or SQL Everywhere) database. This
is far easier and considerably faster. The SqlBulkCopy class can do this.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top