PC Review


Reply
Thread Tools Rate Thread

Copy data from one database to another

 
 
sijank@gmail.com
Guest
Posts: n/a
 
      13th Nov 2005
I m doing a project where i have to transfer data from one database(in
..MDB) to another database ( say.. . mysql). I know we can read the MDB
file and .. prepare SQL and .. run that in mySQL..or some other way..
making intemediate file...

I would like to know is there any better way... directly copying..?

Sijan Khadka
(cZn)

 
Reply With Quote
 
 
 
 
Cor Ligthert [MVP]
Guest
Posts: n/a
 
      14th Nov 2005
Sijank,

I would go if it is a one time operation as you suggest.

Cor

<(E-Mail Removed)> schreef in bericht
news:(E-Mail Removed)...
>I m doing a project where i have to transfer data from one database(in
> .MDB) to another database ( say.. . mysql). I know we can read the MDB
> file and .. prepare SQL and .. run that in mySQL..or some other way..
> making intemediate file...
>
> I would like to know is there any better way... directly copying..?
>
> Sijan Khadka
> (cZn)
>



 
Reply With Quote
 
S.M. Altaf [MVP]
Guest
Posts: n/a
 
      14th Nov 2005
What about

SELECT * INTO [C:\Path\abc.mdb] FROM Tablename

Altaf
--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I m doing a project where i have to transfer data from one database(in
> .MDB) to another database ( say.. . mysql). I know we can read the MDB
> file and .. prepare SQL and .. run that in mySQL..or some other way..
> making intemediate file...
>
> I would like to know is there any better way... directly copying..?
>
> Sijan Khadka
> (cZn)
>



 
Reply With Quote
 
W.G. Ryan - MVP
Guest
Posts: n/a
 
      14th Nov 2005
Create two data adapters, one OleDb for the Access db, one for MySql.
configure both of them. Fill a dataset with the Access one. Set
AcceptChangesDuringFill to false before filling. Call update on the second
adapter passing in the *same* dataset as the parameter. Enjoy
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I m doing a project where i have to transfer data from one database(in
> .MDB) to another database ( say.. . mysql). I know we can read the MDB
> file and .. prepare SQL and .. run that in mySQL..or some other way..
> making intemediate file...
>
> I would like to know is there any better way... directly copying..?
>
> Sijan Khadka
> (cZn)
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to copy the data's from one database to another database? lvensen Microsoft Access 3 2nd Jul 2009 11:06 AM
how do you copy a database but not copy the data? =?Utf-8?B?Qm9iYmkgQg==?= Microsoft Access Database Table Design 1 24th Feb 2005 05:27 PM
copy data from one database to another database tom Microsoft Dot NET Framework 1 27th Oct 2003 09:03 PM
copy data from one database to another database S Gopikrishna Microsoft Dot NET Framework 0 22nd Oct 2003 07:51 PM
Re: copy data from one database to another database Girish Bharadwaj Microsoft Dot NET Framework 0 22nd Oct 2003 02:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:06 AM.