Click here to Skip to main content
15,917,618 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please give me a suggestion -
How to create one stored procedure for multiple database in the same server..
Posted

1 solution

Have all databases call one stored procedure from one of the databases. Use Linked Servers if they are on different servers or simply reference the SP with full

databasename.schema.SP_name if they are on the same server (and you can access each of them)


If this helps please take time to accept the solution. Thank you.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900