Hi All,
I ran the below queries in my database, it was displayed below error message.
USE master
if db_id('databasename') is not null begin
exec database.dbo.sp_updateStats
end
-- Error message
Msg 0, Level 11, State 0, Line 0
A severe error occurred on the current command. The results, if any, should be discarded.
Msg 0, Level 20, State 0, Line 0
A severe error occurred on the current command. The results, if any, should be discarded.
USE Database;
GO
UPDATE STATISTICS dbo.tablename;
GO
--Error message
Msg 0, Level 11, State 0, Line 0
A severe error occurred on the current command. The results, if any, should be discarded.
Can you any once help me how to solve this issue, this is very urgent issues,
Thanks inadvance,
SAAD.