我正在使用 Visio 2019 尝试对 Azure SQL 服务器进行逆向工程时出现错误的屏幕截图。我已经使用我们的 DB-admin 用户和我的 admin azure 目录登录成功地创建了多个要在向导中使用的用户数据源。数据库凭据已成功验证,当我得到以下信息时,我想要逆向工程的表/视图即将加载:
Visio 逆向工程数据库向导引发错误:
"Error! Cannot extract column definition for the table/view . The definition is not
available or you may not have sufficient privileges."
带有一个文本框,上面写着:
"Could not find server "database name"* in sys.servers. Verify that the correct server name was specified. If necessary, execute the stored procedure sp_addlinkedserver to add the server to sys.servers."
我既找不到 sys.servers 也找不到运行 sp.addlinkedserver 因为它不存在。但是,sys.sysservers 确实存在。
我为数据库名称加了星标,因为它没有显示“DB_2.0”的目标数据库,而是显示“DB_2”,这不是数据库的全名。
正如我上面提到的,我相信我有足够的权限,因为我已经尝试了管理员用户名和密码以及使用 azure 目录的管理员登录。所以它可能与没有 sys.servers 表有关?
有没有办法按照 Visio 的要求创建 sys.servers 表或创建存储过程 sp.addlinkedserver?是否建议使用 Azure SQL,我们数据库的命名约定是否与错误有关?