If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > trying to Import text file into MySql using VB 6.0

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-24-04, 14:18
Devinder Gera Devinder Gera is offline
Registered User
 
Join Date: Sep 2003
Location: Canada
Posts: 10
trying to Import text file into MySql using VB 6.0

Hi All,

I am tryig to import a text file in to MySQL table using visual basic, but so far i have no success in it. Any kind of help will be appericiated.
I am using DTS packages to import data into SQL Server is there any way we can use DTS packages to import text file in MySQL(by changing connection properties) I tried my best to set connection properties for MySQL like connection provider to MySQLprov etc, but no success in that.

Thanks for your time.
__________________
Thanks in advance
Devinder
Reply With Quote
  #2 (permalink)  
Old 02-25-04, 04:07
omiossec omiossec is offline
Registered User
 
Join Date: Jan 2003
Location: Paris, France
Posts: 320
Re: trying to Import text file into MySql using VB 6.0

Quote:
Originally posted by Devinder Gera
Hi All,

I am tryig to import a text file in to MySQL table using visual basic, but so far i have no success in it. Any kind of help will be appericiated.
I am using DTS packages to import data into SQL Server is there any way we can use DTS packages to import text file in MySQL(by changing connection properties) I tried my best to set connection properties for MySQL like connection provider to MySQLprov etc, but no success in that.

Thanks for your time.
You can use odbc in your package to connecte to your MySql Server.

You can also use LOAD DATA. It 's a better way to import large text delimited files in mysql

See

http://www.lasso-developpeur.net/us/...tab=db&lang=us
__________________
Olivier Miossec
--
http://www.lasso-developpeur.net/
--
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On