No Support for OVER in MS SQL Server 2005?

后端 未结 4 1877
我寻月下人不归
我寻月下人不归 2020-12-02 01:21

OVERI am getting an error when trying to run a query in MS SQL Server Management Studio. We use MS SQL Server 2005 on a windows 2003 server.

Here is the query:

4条回答
  •  情书的邮戳
    2020-12-02 01:58

    Check the compatibility level on the particular database

    There is some more detail @ http://msdn.microsoft.com/en-us/library/ms178653(v=SQL.90).aspx

    If the compatibility level is less than 90, then new features, like the OVER clause, available only in SQL 2005, are turned off.

提交回复
热议问题