Is it possible to create a global stored procedure at Sql server level
Posted
by Shantanu Gupta
on Stack Overflow
See other posts from Stack Overflow
or by Shantanu Gupta
Published on 2010-04-21T07:02:53Z
Indexed on
2010/04/21
7:23 UTC
Read the original article
Hit count: 333
I created a query that takes a database backup at certain specified location. I want to use it as a stored procedure but this should act as a global stored procedure so that whenever this SP is called. Then database backup is taken.
It uses DB_Name() to take database backup of owner database.
Is it possible to create any such SP or Function.
I am using sql server 2005
© Stack Overflow or respective owner