[英]SQL Server 2008 R2 - Objects not supported in a DAC geography
Using SQL Server Management Studio, I'm trying to create a DACPAC by right-clicking the db -> Tasks -> Extract Data-Tier Application
. 使用SQL Server Management Studio,我试图通过右键单击db- db -> Tasks -> Extract Data-Tier Application
Tasks- db -> Tasks -> Extract Data-Tier Application
创建一个DACPAC。 When I get to the Validation and Summary screen I get some errors because sql spatial data types aren't supported. 进入“验证和摘要”屏幕时,出现一些错误,因为不支持sql空间数据类型。 I've read this article and it lists the SQL Server Data Types
supported in DAC and Spatial Types aren't. 我已经读过这篇文章 ,它列出了DAC支持的SQL Server Data Types
,而空间类型不是。 Is there a workaround to this so I can create a DACPAC with SQL spatial data types in my tables? 有没有解决方法,可以在表中创建具有SQL空间数据类型的DACPAC?
Here is the error shown in the wizard: 这是向导中显示的错误:
DAC Objects
---Objects not supported in a DAC
[my table name] - Column '[Location]' is of type 'geography', 'geometry', or 'hierarchyid', which are not supported in a data-tier application
The latest version of SSMS Preview should support spatial data types when extracting. 提取时,最新版本的SSMS Preview应该支持空间数据类型。 It's available for download here: https://msdn.microsoft.com/en-us/library/mt238290.aspx 可在此处下载: https : //msdn.microsoft.com/zh-cn/library/mt238290.aspx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.