gpt4 book ai didi

sql-server - SQL Server : how to get the database engine type?

转载 作者:行者123 更新时间:2023-12-03 04:52:16 24 4
gpt4 key购买 nike

我尝试从 SQL Server 编写对象脚本,但收到以下错误:

SQL Azure Federation objects are not supported in SQL Server 2012.
To script the SQL Azure federation objects change the target database engine type to SQL Azure Database. (Microsoft.SqlServer.Smo).

我可以运行一个查询来显示当前的数据库引擎吗?

最佳答案

试试这个。应该在 SQL Azure 以及独立 SQL Server 中工作

SELECT @@VERSION

SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')

关于sql-server - SQL Server : how to get the database engine type?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19641265/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com