在PowerDesigner12 逆向工程DataBase SQl时出现:unable to list the tables 信息
2011-07-26 14:45
597 查看
在PowerDesigner12 逆向工程DataBase SQl2005时出现:unable to list the tables 信息
此时应该设置sqlserver2005数据库的行为设置为指定Sql server版本兼容:
执行:EXEC sp_dbcmptlevel 'dbname', '90';
GO
sp_dbcmptlevel (Transact-SQL):将某些数据库行为设置为与指定的 SQL Server 版本兼容
[ @dbname = ] name
要为其更改兼容级别的数据库的名称。数据库名称必须符合标识符的规则。name 的数据类型为 sysname,默认值为 NULL。
[ @new_cmptlevel = ] version
数据库要与之兼容的 SQL Server 的版本。version 的数据类型为 tinyint,默认值为 NULL。该值必须为下列值之一:
80 = SQL Server 2000
90 = SQL Server 2005
100 = SQL Server 2008
-----------------------------------------------------------------------------------------------------------------------------------------------
个人看法:
在PowerDesigner中, 在建立PDM时, 就要求设定DBMS, 如果数据库的版本设定为了2005, 但数据库本身又不是2005, 所以要在sql server中改一下才能使两者匹配.
此时应该设置sqlserver2005数据库的行为设置为指定Sql server版本兼容:
执行:EXEC sp_dbcmptlevel 'dbname', '90';
GO
sp_dbcmptlevel (Transact-SQL):将某些数据库行为设置为与指定的 SQL Server 版本兼容
[ @dbname = ] name
要为其更改兼容级别的数据库的名称。数据库名称必须符合标识符的规则。name 的数据类型为 sysname,默认值为 NULL。
[ @new_cmptlevel = ] version
数据库要与之兼容的 SQL Server 的版本。version 的数据类型为 tinyint,默认值为 NULL。该值必须为下列值之一:
80 = SQL Server 2000
90 = SQL Server 2005
100 = SQL Server 2008
-----------------------------------------------------------------------------------------------------------------------------------------------
个人看法:
在PowerDesigner中, 在建立PDM时, 就要求设定DBMS, 如果数据库的版本设定为了2005, 但数据库本身又不是2005, 所以要在sql server中改一下才能使两者匹配.
相关文章推荐
- 在PowerDesigner12 逆向工程DataBase SQl时出现:unable to list the tables 信息
- PowerDesigner12 逆向工程DataBase SQl2005: unable to list the tables 信息
- 解决powerDesinger12逆向工程报错:Unable to list the tables
- PowerDesigner 逆向工程 unable to list the tables
- 解决powerDesinger12逆向工程报错:Unable to list the tables
- PowerDesigner 逆向工程 unable to list the tables
- PowerDesigner:Reverse Engineer Database 中报错 unable to list the tables
- Powerdesigner 16.5 从SQL Server 2012做逆向工程时提示:Unable to list tables问题
- Powerdesigner 16.5 从SQL Server 2012做逆向工程时提示:Unable to list tables问题
- PowerDeisinger 逆向工程 Unable to list the columns 解决
- PowerDesigner 12反向工程用于sql2005 Reverse的时候提示“Unable to list Tables”,报sqlstate=37000错误。
- Unable to list tables”——PowerDesigner逆向工程,从SQL SERVER获取数据结构时报错
- Error while preforming database login with the "sqlserver" driver Unable to create...
- 导入android工程出现:unable to get system library for the project
- Error while performing database login with the sqljdbc driver:Unable to create connection. Check your URL.
- 解决Android 工程出现 unable to get system library for the project 异常
- PowerDesigner15 反向工程SQLServer2008 出现"Unable to list Tables" SqlState=37000错误的解决方法
- Error while preforming database login with the sql driver Unable to create...
- Unable to list the columns. [Microsoft][ODBC SQL Server Driver][SQL Server]无法预定义语句。
- Android 导入工程出现 unable to get system library for the project