SQL SERVER – Error: Failed to retrieve data for this request. Microsoft.SqlServer.Management.Sdk.Sfc – ‘DATABASEPROPERTY’ is not a recognized built-in function name. (Microsoft SQL Server, Error: 195)

I have four different machine at home.

  1. Office Laptop – Provided by work organization
  2. Personal Laptop – My wife uses it
  3. Demo Machine – A very old machine – I think I can only do demo of my messenger only – it is 32 bit – single CPU 1 GB RAM

I work with SQL Server 2008 (R2) and SQL Server ‘Denali’ and often connect to both the instances. Recently while I was connecting to Denali I encountered following error.

SQL SERVER - Error:  Failed to retrieve data for this request. Microsoft.SqlServer.Management.Sdk.Sfc - 'DATABASEPROPERTY' is not a recognized built-in function name. (Microsoft SQL Server, Error: 195) Denalierror1

Failed to retrieve data for this request. Microsoft.SqlServer.Management.Sdk.Sfc)
‘DATABASEPROPERTY’ is not a recognized built-in function name. (Microsoft SQL Server, Error: 195)

I was bit confused with the error and suddenly realized that I was attempting to connect to SQL Server ‘Denali’ instance from SQL Server 2008 R2 SSMS.

SQL SERVER - Error:  Failed to retrieve data for this request. Microsoft.SqlServer.Management.Sdk.Sfc - 'DATABASEPROPERTY' is not a recognized built-in function name. (Microsoft SQL Server, Error: 195) denalierror2

However, if you try to connect to SQL Server 2008 R2 from SQL Server ‘Denali’ SSMS it will work absolutely fine.

SQL SERVER - Error:  Failed to retrieve data for this request. Microsoft.SqlServer.Management.Sdk.Sfc - 'DATABASEPROPERTY' is not a recognized built-in function name. (Microsoft SQL Server, Error: 195) denalierror3

Reference: Pinal Dave (https://blog.sqlauthority.com)

SQL Error Messages
Previous Post
SQL SERVER – Performance Improvement with of Executing Stored Procedure with Result Sets in SQL Server 2012
Next Post
SQL SERVER – Interview on Wait Types and Wait Queues – SQL Doctor

Related Posts

Leave a Reply