用PowerDesigner逆向数据库工程时”Unable to list the table"错误的解决方法
2012-01-29 15:11
507 查看
今天在补项目的文档时要用到DB的ER图,于是就想到用PD来逆向数据库生成DB的ER图,这对我来说是轻车熟路的事,本来以为很简单,谁知在生成逆向工程的时候却遇到了一个错误,错误界面如下:
经过google得知这是由于数据库的版本兼容模式不正确引起的,需要利用 “SP_DBCMPTLEVEL”存储过程来正确设置数据库的版本兼容。知道原因后解决故障就很简单了,打开企业管理器,输入“EXEC SP_DBCMPTLEVEL 'PMS', '90'; GO ”并执行,执行成功后,重新逆向工程就可以了。
PS:
SP_DBCMPTLEVEL 存储过程一共需要两个参加 ,第一个参数为数据库名,在上面的例子中我的数据库名为“PMS”,第二个参数为想要设置的sql server版本号,其对应关系如下
80 = SQL Server 2000
90 = SQL Server 2005
100 = SQL Server 2008 ,在上面的例子中由于我想和sql server 2005兼容,所以设置版本号为90。
作者:张荣华
出处:http://zhangronghua.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
经过google得知这是由于数据库的版本兼容模式不正确引起的,需要利用 “SP_DBCMPTLEVEL”存储过程来正确设置数据库的版本兼容。知道原因后解决故障就很简单了,打开企业管理器,输入“EXEC SP_DBCMPTLEVEL 'PMS', '90'; GO ”并执行,执行成功后,重新逆向工程就可以了。
PS:
SP_DBCMPTLEVEL 存储过程一共需要两个参加 ,第一个参数为数据库名,在上面的例子中我的数据库名为“PMS”,第二个参数为想要设置的sql server版本号,其对应关系如下
80 = SQL Server 2000
90 = SQL Server 2005
100 = SQL Server 2008 ,在上面的例子中由于我想和sql server 2005兼容,所以设置版本号为90。
作者:张荣华
出处:http://zhangronghua.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
相关文章推荐
- 用PowerDesigner逆向数据库工程时”Unable to list the table"错误的解决方法
- 用PowerDesigner逆向数据库工程时”Unable to list the table"错误的解决方法(转载)
- 用PowerDesigner逆向数据库工程时”Unable to list the table"错误的解决方法
- 用PowerDesigner逆向数据库工程时”Unable to list the table"错误的解决方法
- 用PowerDesigner逆向数据库工程时”Unable to list the table"错误的解决方法(转载)
- 用PowerDesigner逆向数据库工程时”Unable to list the table"错误的解决方法
- 错误"Unable to find manifest signing certificate in the certificate store"的解决方法
- "无法启动Web服务器。Web服务器无法找到请求的资源" 或 "unable to start debugging on the web server.the web server could not find the request"解决方法
- PowerDesigner 反向工 出现"Unable to list Tables" SqlState=37000错误的解决方法
- Unable to find the wrapper "https"错误的解决办法
- "The connection to adb is down, and a severe error has occured"错误解决方法
- PowerDesigner15 反向工程SQLServer2008 出现"Unable to list Tables" SqlState=37000错误的解决方法
- hibernate实体类构造方法内含有Timestamp类型变量时"Unable to locate approprite constructor"错误解决方法
- 安装安卓->启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- Unable to get the project ile from the web server错误的解决方法
- "List cannot be resolved to a type"错误的解决方法
- powerDesigner 15 unable to list the users 解决方法
- 错误"Unable to find manifest signing certificate in the certificat...
- The reference to entity "password" must end with the ';' delimiter.的原因跟解决方法
- 解决Unable to locate theme engine in module_path: "pixmap"