Cannot issue SAVE TRANSACTION when there is no active transaction.
Error Message: Msg 628, Level 16, State 0, Line 1 Cannot issue SAVE TRANSACTION when there is no active transaction. Why This Error? – This error occurs when SAVE TRANSACTION/TRAN command is issued...
View ArticleIncorrect syntax near the keyword into
Error Message: Msg 156, Level 15, State 1, Line 2 Incorrect syntax near the keyword ‘INTO’. This error occurs when the syntax of the select into statement is not correct. Example: [sql] SELECT * FROM...
View ArticleCannot grant, deny, or revoke permissions to sa, dbo, entity owner,...
Message: Cannot grant deny or revoke permissions to sa dbo entity owner information_schema sys or yourself. This message occurs when yoy try to revoke permissions for the following users: – yourself –...
View Articlesql server error 10061
Check if the SQL Server Service is running. Check the below link to for additional steps to solve this error: http://sqlserverlearner.com/2012/causes-for-network-related-errors-in-sql-server
View ArticleThe column prefix ‘A’ does not match with a table name or alias name used in...
Error Message: Msg 107, Level 15, State 1, Line 1 The column prefix ‘A’ does not match with a table name or alias name used in the query. This error occurs when the correct table name/alias is not used...
View ArticleThe select list for the INSERT statement contains fewer items than the insert...
Error Message: Msg 120, Level 15, State 1, Line 2 The select list for the INSERT statement contains fewer items than the insert list. The number of SELECT values must match the number of INSERT...
View ArticleThe select list for the INSERT statement contains more items than the insert...
Error Message: Msg 121, Level 15, State 1, Line 3 The select list for the INSERT statement contains more items than the insert list. The number of SELECT values must match the number of INSERT columns....
View ArticleA TOP N value may not be negative
Error Message: Msg 127, Level 15, State 1, Line 1 A TOP N value may not be negative. This error occurs when you try to specify negative value for the TOP Clause in the select statement. Simple Example:...
View ArticleString or binary data would be truncated
Error Message: Msg 8152, Level 16, State 14, Line 4 String or binary data would be truncated. The statement has been terminated. Why this error? This error occurs whan the size of data that is inserted...
View ArticleCannot issue SAVE TRANSACTION when there is no active transaction.
Error Message: Msg 628, Level 16, State 0, Line 1 Cannot issue SAVE TRANSACTION when there is no active transaction. Why This Error? – This error occurs when SAVE TRANSACTION/TRAN command is issued...
View ArticleIncorrect syntax near the keyword into
Error Message: Msg 156, Level 15, State 1, Line 2 Incorrect syntax near the keyword ‘INTO’. This error occurs when the syntax of the select into statement is not correct. Example: [sql] SELECT * FROM...
View ArticleCannot grant, deny, or revoke permissions to sa, dbo, entity owner,...
Message: Cannot grant deny or revoke permissions to sa dbo entity owner information_schema sys or yourself. This message occurs when yoy try to revoke permissions for the following users: – yourself –...
View Articlesql server error 10061
Check if the SQL Server Service is running. Check the below link to for additional steps to solve this error: http://sqlserverlearner.com/2012/causes-for-network-related-errors-in-sql-server
View ArticleA value for the parameter @retention cannot be specified when the job type is...
The Parameter @retention should NOT be supplied with a NOT NULL value when the value of @job_type is ‘capture’ [sql] EXEC sp_cdc_change_job @job_type=’capture’,@maxtrans = ‘10000’,@retention=200 [/sql]...
View Article