Reputation: 39
The below shown is my program:
As You can see, all the table details are correct. But when I try to run it through the "Execute Stored Procedure", the details are not entered into the table.
Rather I get a output like this:
How I can solve this?
Note: Recently had MSDB in SUSPECT, so, took my friends MSDB log and data, is that causing the problem? If yes, what can i do about that?
Upvotes: 0
Views: 51
Reputation: 66
The error message would certainly help. A quick, easy change would be to replace set @msg='Error' with set @msg= ERROR_MESSAGE(); so we can see the error.
If this isn't possible I suggest:
I hope this helps.
Upvotes: 2