SQL Server Errors

Cannot use table option LARGE VALUE TYPES OUT OF ROW on a user table that does not have any of large value types varchar(max), nvarchar(max), varbinary(max), xml or large CLR type columns in it.

Error Message: Msg 4992, Level 16, State 1, Procedure sp_tableoption, Line 113 Cannot use table option LARGE VALUE TYPES OUT OF ROW on a user table that does not have any of large value types varchar(max), nvarchar(max), varbinary(max), xml or large CLR type columns in it. This option can be applied to tables having large […]

Select statements included within a function cannot return data to a client.

Error Message: Msg 444, Level 16, State 3, Procedure, Line 6 Select statements included within a function cannot return data to a client. Severity level: 16. Description: This error message appears when you return data from a function via an included SELECT statement inside the function. Consequences: The T-SQL statement can be parsed, but causes […]

Vardecimal storage format is not available in system database ‘%s’.

Error Message: Msg 15657, Level 16, State 1, Procedure sp_db_vardecimal_storage_format, Line 65 Vardecimal storage format is not available in system database ‘%s’. Severity level: 16. Description: This error message appears when you try to enable the vardecimal storage format on a system database. Consequences: The T-SQL statement can be parsed, but causes the error at […]

The last statement included within a function must be a return statement.

Error Message: Msg 455, Level 16, State 2, Procedure, Line 6 The last statement included within a function must be a return statement. Severity level: 16. Description: This error message appears when you try to call a function whose last statement is not a return statement. Consequences: The T-SQL statement can be parsed, but causes […]

Vardecimal storage format cannot be enabled on table ‘%.*ls’ because database ‘%.*ls’ is a system database. Vardecimal storage format is not available in system databases.

Error Message: Msg 4995, Level 16, State 10, Procedure sp_tableoption, Line 129 Vardecimal storage format cannot be enabled on table ‘%.*ls’ because database ‘%.*ls’ is a system database. Vardecimal storage format is not available in system databases. Severity level: 16. Description: This error message appears when you try to enable the vardecimal storage format on […]

A trigger returned a resultset and the server option ‘disallow results from triggers’ is true.

Error Message: Msg 524, Level 16, State 1, Procedure, Line 5 A trigger returned a resultset and the server option ‘disallow results from triggers’ is true. Severity level: 16. Description: This error message appears when you try to return a resultset from a trigger while the server option ‘disallow results from triggers’ is set to […]

Cannot create %S_MSG on view “%.*ls” because it contains the TOP keyword. Consider removing TOP or not indexing the view.

Error Message: Msg 10101, Level 16, State 1, Line 2 Cannot create %S_MSG on view “%.*ls” because it contains the TOP keyword. Consider removing TOP or not indexing the view. Severity level: 16. Description: This error message appears when you try to create an index on a view that contains the TOP keyword. Consequences: The […]

Cannot create plan guide ‘%.*ls’ because parameter @hints is incorrect. Use N’OPTION ( [ ,...n ] )’.

Error Message: Msg 10504, Level 16, State 1, Line 1 Cannot create plan guide ‘%.*ls’ because parameter @hints is incorrect. Use N’OPTION ( <query_hint> [ ,...n ] )’. Severity level: 16. Description: This error message appears when you try to create a planguide, but the @hints parameter is incorrect. Consequences: The T-SQL statement can be […]

Cannot create plan guide ‘%.*ls’ because object ‘@module_or_batch’ is encrypted. Consider tuning query using other techniques such as indexes and statistics.

Error Message: Msg 10512, Level 16, State 1, Procedure, Line 2 Cannot create plan guide ‘%.*ls’ because object ‘@module_or_batch’ is encrypted. Consider tuning query using other techniques such as indexes and statistics. Severity level: 16. Description: This error message appears when you try to create a planguide, but the object specified in the @module_or_batch parameter […]

Derived table ‘%.*ls’ is not updatable because a column of the derived table is derived or constant.

Error Message: Msg 4421, Level 16, State 1, Line 1 Derived table ‘%.*ls’ is not updatable because a column of the derived table is derived or constant. Severity level: 16. Description: This error message appears when you try to update a column of a derived table that is either derived or constant. Consequences: The T-SQL […]
Software Reviews | Book Reviews | FAQs | Tips | Articles | Performance Tuning | Audit | BI | Clustering | Developer | Reporting | DBA | ASP.NET Ado | Views tips | | Developer FAQs | Replication Tips | OS Tips | Misc Tips | Index Tuning Tips | Hints Tips | High Availability Tips | Hardware Tips | ETL Tips | Components Tips | Configuration Tips | App Dev Tips | OLAP Tips | Admin Tips | Software Reviews | Error | Clustering FAQs | Performance Tuning FAQs | DBA FAQs |