Avatar of rhservan
rhservan
Flag for United States of America

asked on 

What determines the DBName where Use [DBName] is at Top of Stored procedure?

I have a stored procedure that has gone through table changes none of which are in the original Use [DBNAme] database.  

How do I best determine which database I need to point it to.  

Please explain why this matters as well.
Microsoft SQL Server 2008SQL

Avatar of undefined
Last Comment
jogos

8/22/2022 - Mon