在PowerDesigner12 逆向工程DataBase SQl2005时出现:unable to list the tables 信息 此时应该设置sqlserver2005数据库的行为设置为指定Sql server版本兼容: 执行:EXEC sp_dbcmptlevel 'dbname', '90'; GO
sp_dbcmptlevel (Transact-SQL):将某些数据库行为设置为与指定的 SQL Server 版本兼容
----------------------------------------------------------------------------------------------------------------------------------------------- 个人看法: 在PowerDesigner中, 在建立PDM时, 就要求设定DBMS, 如果数据库的版本设定为了2005, 但数据库本身又不是2005, 所以要在sql server中改一下才能使两者匹配. |
|