[英]How can I use 'Generate Scripts' in SQL Server 2017 with Graph Database Objects?
I'm attempting to use the Generate Scripts
feature of SQL Server Management Studio in order to script the schema and data of a database which has Node and Edge tables included.我正在尝试使用 SQL Server Management Studio 的Generate Scripts
功能来编写包含 Node 和 Edge 表的数据库的架构和数据的脚本。 When I select Schema and Data
for Types of data to script
in the Advanced options, I get the following exception, shown in the post-script failure report:当我在高级选项中为Types of data to script
选择Schema and Data
,出现以下异常,显示在脚本后故障报告中:
System.Data.SqlClient.SqlException: System.Data.SqlClient.SqlException:
Cannot access internal graph column 'graph_id_65236D8A22184389B40ACEF8C7BA629D'无法访问内部图形列“graph_id_65236D8A22184389B40ACEF8C7BA629D”
Is this a bug?这是一个错误吗?
How can I use the Generate Scripts
feature to script both schema and data for a database containing graph objects in SQL Server 2017?如何使用“ Generate Scripts
功能为包含 SQL Server 2017 中图形对象的数据库编写架构和数据脚本?
You should upgrade SSMS to the newest version:您应该将 SSMS 升级到最新版本:
Release notes for SQL Server Management Studio (SSMS) SQL Server Management Studio (SSMS) 的发行说明
SSMS 18.1 SSMS 18.1
SMO/scripting SMO/脚本
Fixed an issue where "Generate Script" on a graph table fails when generating data.修复了生成数据时图表上的“生成脚本”失败的问题。 See UserVoice for more details.有关更多详细信息,请参阅 UserVoice。
Generate Script on a graph table fails when generating data 生成数据时,在图表上生成脚本失败
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.