Results 1 to 4 of 4

Thread: move data from Oracle table to MS access table

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2006
    Posts
    1

    move data from Oracle table to MS access table

    Guys,
    I'm new to Visual basic.
    My requirement is below:
    I've a table in Oracle 9i and replica of the same table in MS access.
    I need to move the data from Oracle 9i table to the corresponding table in MS access.
    Can someone help me out with a Visual basic macro...or ideas please?

    Thanks,
    Bhagat

  2. #2
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: move data from Oracle table to MS access table

    Link the Oracle table to MSAccess then use the Query table to create an append query to move the data from the Oracle table to the access table.
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  3. #3
    Addicted Member mabbas110's Avatar
    Join Date
    Oct 2005
    Location
    Karachi , Pakistan
    Posts
    172

    Re: move data from Oracle table to MS access table

    WEll u can use Data transformation services of SQL Server 2000 to do this

    first import data from oracle to sql and then impport from sql to acess and u can do it trough code also , sql 2000 can make code for u , see DTS for more help
    Thanks and Regards,

    Muhammad Abbas

  4. #4
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: move data from Oracle table to MS access table

    Or since you are in vb...

    Open a recordset in ado to the oracle
    Open a recordset in ado to access
    Use a loop to read from one and write to the other.
    Save.
    Move to the next record.


    Or even better - don't use access !! Oracle is faster and better - and if you are getting data from Oracle I expect it to be large!

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width