using DTS to import a text file in SQL Server 7.0 with VB6 
Author Message
 using DTS to import a text file in SQL Server 7.0 with VB6

I would like to import data from a text file into an SQL Server 7.0 table,
through a vb6 application. I already know how to import data from aonther
table (samples are given with SQL Server), but how should I do that for a
text file ?

Thanks

Olivier



Fri, 20 Sep 2002 03:00:00 GMT  
 using DTS to import a text file in SQL Server 7.0 with VB6
With ODBC and DTS


Quote:
> I would like to import data from a text file into an SQL Server 7.0 table,
> through a vb6 application. I already know how to import data from aonther
> table (samples are given with SQL Server), but how should I do that for a
> text file ?

> Thanks

> Olivier



Fri, 20 Sep 2002 03:00:00 GMT  
 using DTS to import a text file in SQL Server 7.0 with VB6
This sounds like a case for BULK INSERT rather than DTS, but I believe you can
also do it throuh pure DTS programming.  I haven't tried it, but can't you use
the simple OLE DB provider?  or maybe the flat file provider?

Quote:

> I would like to import data from a text file into an SQL Server 7.0 table,
> through a vb6 application. I already know how to import data from aonther
> table (samples are given with SQL Server), but how should I do that for a
> text file ?

> Thanks

> Olivier

--
Peter Daniels
Husband, Database Jedi, Avs fan


Mon, 23 Sep 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. How can I import a text file into a sql server using Visual basic5

2. Import text file in SQL Server 6.5 via SQL in Visual Basic

3. Import text file in SQL Server 6.5 via SQL in Visual Basic

4. DTS Packages SQL Server 7.0

5. Import xls file into SQL Server using VBscript and exe function on remote server

6. UNC mapping in SQL 7.0 DTS package using VB Script

7. VB Codes to Import Text Files to SQL Server

8. Import text file int sql server

9. Importing a text file to a access table using VB6

10. How to copy a SQL Server DTS package with a VB6 application

11. Executing a SQL Server 7 DTS Package from VB6

12. VB6 application using SQL Server 2000 migrating db to SQL Server 2

 

 
Powered by phpBB® Forum Software