Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. How can I convert SQL Server data file version ?

How can I convert SQL Server data file version ?

Scheduled Pinned Locked Moved Database
questiondatabasesql-serversysadminannouncement
4 Posts 4 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 2456424
    wrote on last edited by
    #1

    Assuming I have file data northwnd.mdf version 2005 I want to convert to file data version 2008 or reverse ?

    M C J 3 Replies Last reply
    0
    • U User 2456424

      Assuming I have file data northwnd.mdf version 2005 I want to convert to file data version 2008 or reverse ?

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      Use backup and restore going from 2005->2008. You cannot reverse the process using this method.

      Never underestimate the power of human stupidity RAH

      1 Reply Last reply
      0
      • U User 2456424

        Assuming I have file data northwnd.mdf version 2005 I want to convert to file data version 2008 or reverse ?

        C Offline
        C Offline
        Chris Quinn
        wrote on last edited by
        #3

        As Mycroft said, you can upgrade, but not downgrade. Restore the older version database to a newer version instance, or detach from the old version and attach to the new version. Be aware that backup formats changed between SQL2008 and SQL2008 R2, which can cause incompatibilities

        ========================================================= I'm an optoholic - my glass is always half full of vodka. =========================================================

        1 Reply Last reply
        0
        • U User 2456424

          Assuming I have file data northwnd.mdf version 2005 I want to convert to file data version 2008 or reverse ?

          J Offline
          J Offline
          jschell
          wrote on last edited by
          #4

          You could export it - dump it as sql statements rather than as a back up. If the exported sql was fairly simple then it would work in either database. It is possible that it would require some modification to go from 2008 to 2005.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups