Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

change schema for stored procedure Expand / Collapse
Author
Message
Posted Monday, December 27, 2010 5:25 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Tuesday, July 26, 2011 11:52 AM
Points: 15, Visits: 94
Hello

I have a bunch of stored procedure(more than 200) in my database.


I have to change the schema of those now. They have the schema ABC. I have to change it to XYZ,.

I know [ALTER SCHEMA XYZ TRANSFER ABC.STOREDPROCEDURE] query would do.

But the no of stored procedure is huge . I cannot do one by one. Is there any other way to do this task.

thanks
Post #1039606
Posted Monday, December 27, 2010 11:27 PM


Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Yesterday @ 6:28 AM
Points: 588, Visits: 1,059
Hi..
Just try this link..

http://www.geekzilla.co.uk/View4384ACEC-8C9D-452A-83F6-230FFE43C17B.htm
Post #1039637
Posted Monday, December 27, 2010 11:31 PM


Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Yesterday @ 6:28 AM
Points: 588, Visits: 1,059
Also

www.sqlservercentral.com/Forums/FindPost995744.aspx
Post #1039638
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse