文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>SQL Server 兼容模式

SQL Server 兼容模式

时间:2010-09-02  来源:upzone

近期一个老系统改用SQL Server 2005数据库, 从原来的2000改为2005, 默认情况下启动出错:

Incorrect syntax near 'Index'. If this is intended as a part of a table hint, A WITH keyword and parenthesis are now required.

 

SQL 语句中的table hint 中缺少with 关键字,查阅资料,得知sql server 2000中可以不用with 关键字,到2005及以后一定要用with 关键字。估计当时sql 语法书写不规范导致.

将对应数据库改为2000(80) 兼容模式,解决问题。

相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载