79463581

Date: 2025-02-24 12:55:31
Score: 1.5
Natty:
Report link

I'm not sure why this fixing the issue and it makes no sense to me whatsoever but i set the default database back to master.

I added a USE MyDB before the stored procedure and it works now.

Use MyDB 
Go
Exec MyProc
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Tommy W Holden