0

I'm trying to script an object from SQL Server, but I get the following error:

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).

Is there a query I can run that shows me the current database engine?

4

1 回答 1

4

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

SELECT @@VERSION

或者

SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')
于 2013-10-28T18:15:26.677 回答