What is the equivalent for LOCK_ESCALATION = TABLE in SQL Server 2005?

后端 未结 4 818
忘了有多久
忘了有多久 2021-02-11 16:39

I have a script that was generated in SQL Server 2008, but I need to execute it against a SQL Server 2005 database.

What would an equivalent statement for the following

相关标签:
4条回答
  • 2021-02-11 17:02

    @gbn wrote
    "You'll need to change the "Script For version" to SQL Server 2005"

    In SQL Server Management Studio 2008 select menu Tools-Options (SQL Server Object Explorer/Scripting Page)

    0 讨论(0)
  • 2021-02-11 17:04

    There is no equivalent option: it's new in SQL Server 2008.

    You'll need to change the "Script For version" to SQL Server 2005,

    0 讨论(0)
  • 2021-02-11 17:10

    In the script generation wizard set the option Script For version to SQL 2005 that should give you the right script.

    0 讨论(0)
  • 2021-02-11 17:19

    LOCK_ESCALATION = TABLE is the default behavior in SQL Server 2008 & is the ONLY behaviour in SQL Server 2005.

    You can safely drop the statement without any change in functionality.

    0 讨论(0)
提交回复
热议问题