Results 1 to 6 of 6

Thread: Migrating Access 2000 To SQL Server database

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2005
    Posts
    384

    Migrating Access 2000 To SQL Server database

    Hello, I've found 2 options in migrating to a SQL Server database.
    1) Use the Upsizing wizard in Access
    2) DTS - Import and Export Data in SQL Server

    I want to know which one is the best option to take ?
    Isn't there a way I could do it in VB itself ??

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Migrating Access 2000 To SQL Server database

    DTS. Best way. Tried and tested.

    Yes, there is a way to do it in VB, but is there any specific reason you want to take this approach?

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2005
    Posts
    384

    Re: Migrating Access 2000 To SQL Server database

    Thanx, I thought so.

    The reason I want to do this with VB is that, I have a dualboot computer - Win98 and Win XP.
    On my Win 98 part - I have the whole MS Office on XP, I don't

    I was just wondering actually whether it is possible, so incase I might need it one day - I know it

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Migrating Access 2000 To SQL Server database

    Just so you know, yes it is possible and the procedure is actually quite simple. On your XP machine, you only need the MDB, but you don't need MS Access. What helps you access the MDB file is the ODBC namespace in ADO.NET. You can simply open up the tables, read from them and run your INSERT statements for SQL Server. Of course, the table structure must be known.


    OK, understood that?

    Good. You can take things a step further by using ADOX, so you dynamically read the table structure, create the table in sql server, and then transfer the data.

    Hope that confused you

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2005
    Posts
    384

    Re: Migrating Access 2000 To SQL Server database

    Thanx once again, MendHak!

    Nope, it didn't confuse me much - I just need to do a bit of research on ADOX, and how precisely to use the ODBC namespace in .Net

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Migrating Access 2000 To SQL Server database

    Then you're halfway there. I don't know whether you'll be using this approach or not but if you do feel free to post here, I'm sure someone intelligent browses the forums.

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