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. Migration error from SQL 2014 to SQL 2012

Migration error from SQL 2014 to SQL 2012

Scheduled Pinned Locked Moved Database
databasehelpsql-serversysadminsales
9 Posts 4 Posters 0 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.
  • K Offline
    K Offline
    Kala Vairakkannu
    wrote on last edited by
    #1

    I have a database(Eg. SALES) in SQL Server 2014 which needs to be recreated in SQL Server 2012 version. Since I can not use the SQL 2014 back up file in SQL 2012 environment, I have proceed with the Generate Script option and trying to run the script in SQL Server 2012 environment. However it is giving an error as Msg 102, Level 15, State 6, Line 1 Incorrect syntax near 'DELAYED_DURABILITY'. which is pointing to the ALTER DATABASE [SALES] SET DELAYED_DURABILITY = DISABLED line in the script and not able to proceed further. Please help me to get this sorted out.

    Thanks, Kala

    Kornfeld Eliyahu PeterK L 2 Replies Last reply
    0
    • K Kala Vairakkannu

      I have a database(Eg. SALES) in SQL Server 2014 which needs to be recreated in SQL Server 2012 version. Since I can not use the SQL 2014 back up file in SQL 2012 environment, I have proceed with the Generate Script option and trying to run the script in SQL Server 2012 environment. However it is giving an error as Msg 102, Level 15, State 6, Line 1 Incorrect syntax near 'DELAYED_DURABILITY'. which is pointing to the ALTER DATABASE [SALES] SET DELAYED_DURABILITY = DISABLED line in the script and not able to proceed further. Please help me to get this sorted out.

      Thanks, Kala

      L Offline
      L Offline
      LloydA111
      wrote on last edited by
      #2

      Wrong forum and, http://mssqltrek.com/2013/12/12/delayed-durability-in-sql-server-2014-a-hidden-gem/[^] "DELAYED_DURABILITY" was only introduced with SQL Server 2014. I don't know what the equivalent is in 2012.

             .-.
            |o,o|
         ,| \_\\=/\_      .-""-.
         ||/\_/\_\\\_\\    /\[\] \_ \_\\
         |\_/|(\_)|\\\\  \_|\_o\_LII|\_
            \\.\_./// / | ==== | \\
            |\\\_/|"\` |\_| ==== |\_|
            |\_|\_|    ||" ||  ||
            |-|-|    ||LI  o ||
            |\_|\_|    ||'----'||
           /\_/ \\\_\\  /\_\_|    |\_\_\\
      
      Z 1 Reply Last reply
      0
      • K Kala Vairakkannu

        I have a database(Eg. SALES) in SQL Server 2014 which needs to be recreated in SQL Server 2012 version. Since I can not use the SQL 2014 back up file in SQL 2012 environment, I have proceed with the Generate Script option and trying to run the script in SQL Server 2012 environment. However it is giving an error as Msg 102, Level 15, State 6, Line 1 Incorrect syntax near 'DELAYED_DURABILITY'. which is pointing to the ALTER DATABASE [SALES] SET DELAYED_DURABILITY = DISABLED line in the script and not able to proceed further. Please help me to get this sorted out.

        Thanks, Kala

        Kornfeld Eliyahu PeterK Offline
        Kornfeld Eliyahu PeterK Offline
        Kornfeld Eliyahu Peter
        wrote on last edited by
        #3

        You are in the wrong forum!!!

        Welcome to the Lounge Technical discussions are welcome, but if you need specific help please use the programming forums.

        DELAYED_DURABILITY is a 2014 only - new - feature, so 2012 do not know it...Change database compatibility to 2012 (110) and try again...

        I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

        "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

        Z K 2 Replies Last reply
        0
        • L LloydA111

          Wrong forum and, http://mssqltrek.com/2013/12/12/delayed-durability-in-sql-server-2014-a-hidden-gem/[^] "DELAYED_DURABILITY" was only introduced with SQL Server 2014. I don't know what the equivalent is in 2012.

                 .-.
                |o,o|
             ,| \_\\=/\_      .-""-.
             ||/\_/\_\\\_\\    /\[\] \_ \_\\
             |\_/|(\_)|\\\\  \_|\_o\_LII|\_
                \\.\_./// / | ==== | \\
                |\\\_/|"\` |\_| ==== |\_|
                |\_|\_|    ||" ||  ||
                |-|-|    ||LI  o ||
                |\_|\_|    ||'----'||
               /\_/ \\\_\\  /\_\_|    |\_\_\\
          
          Z Offline
          Z Offline
          ZurdoDev
          wrote on last edited by
          #4

          Lloyd Atkinson wrote:

          I don't know what the equivalent is in 2012.

          It is empty string. :)

          There are only 10 types of people in the world, those who understand binary and those who don't.

          K 1 Reply Last reply
          0
          • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

            You are in the wrong forum!!!

            Welcome to the Lounge Technical discussions are welcome, but if you need specific help please use the programming forums.

            DELAYED_DURABILITY is a 2014 only - new - feature, so 2012 do not know it...Change database compatibility to 2012 (110) and try again...

            I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

            Z Offline
            Z Offline
            ZurdoDev
            wrote on last edited by
            #5

            Correct and Correct. +5 :thumbsup:

            There are only 10 types of people in the world, those who understand binary and those who don't.

            1 Reply Last reply
            0
            • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

              You are in the wrong forum!!!

              Welcome to the Lounge Technical discussions are welcome, but if you need specific help please use the programming forums.

              DELAYED_DURABILITY is a 2014 only - new - feature, so 2012 do not know it...Change database compatibility to 2012 (110) and try again...

              I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

              K Offline
              K Offline
              Kala Vairakkannu
              wrote on last edited by
              #6

              Didn't notice the forum. Thank you.

              KV

              1 Reply Last reply
              0
              • Z ZurdoDev

                Lloyd Atkinson wrote:

                I don't know what the equivalent is in 2012.

                It is empty string. :)

                There are only 10 types of people in the world, those who understand binary and those who don't.

                K Offline
                K Offline
                Kala Vairakkannu
                wrote on last edited by
                #7

                As far as I know, there is no such property DELAYED_DURABILITY in SQL 2012. Hence removed that line and ran the query, it works fine. Not sure if this is the right approach, but just tried it out.

                Thanks, KV

                Kornfeld Eliyahu PeterK 1 Reply Last reply
                0
                • K Kala Vairakkannu

                  As far as I know, there is no such property DELAYED_DURABILITY in SQL 2012. Hence removed that line and ran the query, it works fine. Not sure if this is the right approach, but just tried it out.

                  Thanks, KV

                  Kornfeld Eliyahu PeterK Offline
                  Kornfeld Eliyahu PeterK Offline
                  Kornfeld Eliyahu Peter
                  wrote on last edited by
                  #8

                  There is not such property. Removing it is just right...

                  I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

                  "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                  K 1 Reply Last reply
                  0
                  • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                    There is not such property. Removing it is just right...

                    I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

                    K Offline
                    K Offline
                    Kala Vairakkannu
                    wrote on last edited by
                    #9

                    Thank you Kornfeld Eliyahu Peter.

                    KV

                    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