August 20, 2010 at 9:02 am
Bhuvnesh (8/18/2010)
Jeff Moden (8/18/2010)
Bhuvnesh (8/18/2010)
Anamika (8/18/2010)
Hi,
SELECT * FROM [font="Arial Black"]SYSOBJECTS[/font] WHERE XTYPE = 'P'
output of this query gives the new SP name.
My problem is while getting the create script for the same gets created in old name only.
Thanks,
Regards,
-Ami
you cant always rely on these DMVs for some information.try to use system objects like [font="Arial Black"]sysobjects [/font], sysindexes
??? :blink:
jeff i didnt get you here
Heh... understood. I didn't get you either. Maybe its just something out of context. Op posted something about sysObjects and something not working correctly. You agree and then post the same thing about sysObjects. That's just a wee bit hard to follow. 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing post 16 (of 15 total)
You must be logged in to reply to this topic. Login to reply