convert mdf to mdb

Last post 08-02-2007 2:16 AM by Bo Chen – MSFT. 3 replies.

Sort Posts:

  • convert mdf to mdb

    07-29-2007, 9:45 PM
    • Member
      63 point Member
    • stardust25
    • Member since 12-07-2006, 10:05 AM
    • Posts 90

    hi all,

    I'm using visual web developer and created a project with a mdf data file. how can I convert this file to MS ACCESS mdb file?

     Thanks

  • Re: convert mdf to mdb

    07-30-2007, 1:51 AM
    • All-Star
      62,541 point All-Star
    • TATWORTH
    • Member since 02-04-2003, 8:34 AM
    • England
    • Posts 12,209
    • TrustedFriends-MVPs

    Normally migration proceeds the other way! 

    Open your SQL Server management tool, select the database, go tasks, export and on the output select a pre-existing access database.

    Don't forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
  • Re: convert mdf to mdb

    07-30-2007, 5:51 AM
    • Member
      63 point Member
    • stardust25
    • Member since 12-07-2006, 10:05 AM
    • Posts 90

    I just installed Visual Web Developer and SQL Server 2005 Express Edition. Seems cannot find the tool you mentioned..

     If programatically convert it I'm concerning some reserved words problem like "Value" in SQL server is ok while ion ACCESS is a reserved word..

    And DateTime in SQL is one field while in ACCESS is in 2 fields..

  • Re: convert mdf to mdb

    08-02-2007, 2:16 AM
    Answer

    Hi stardust25,

    Normally migration proceeds the other way! 

    Open your SQL Server management tool, select the database, go tasks, export and on the output select a pre-existing access database.

    The solution TATWORTH has suggested you should work on SQL Server 2005. But since you have Expression Edition installed, things are a little different.Based on my understanding, SQL Express doesnot have DTS/SSIS shipped with. We can only use BCP, Bulk Insert, Openrowset, Code..etc  to do export/export (based on the datatype you want to deal with). You can take a look at this thread I answered recently http://forums.asp.net/t/1139369.aspx, I hope it can help you better understand the converstion process.thanks

     

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Page 1 of 1 (4 items)