tags:

views:

19

answers:

2

Dear Friends,

I have text file which contain the 15000000 Rows with the Comma delimiters..i want to import that file to SQL Table Through VB.net(2005) With 1000 Rows per seconds Is that Possible through VB.net

Please help me... Thanx in Advance

+1  A: 

You'll want to use the sqlbulkcopy class.

pb
can we map Text file Column with SQL table Column using SQLBULK Copy CLASS.
John
you need to do some work implementing the source as an IDataReader.
pb
+1  A: 

It would help if you tell us what kind of SQL table is that.

In SQL Server you use BULK INSERT. If you must use Vb.Net code, the functionality is exposed in .Net via the SqlBulkCopy class. A more sensible approach is to use SSIS.

Remus Rusanu