April 5, 2010 at 8:18 am
Hi,
A subcontractor has created a trigger in my database and I want to modify it. Unfortunately when I goto the trigger, in the tables section, the modify button is greyed out. How can I modify or at least view this trigger?
Cheers,
Jason
April 5, 2010 at 11:19 am
Did you went to tables/details pane, right-click the table on which the trigger exists, point to AllTasks, and then click ManageTriggers?
_____________________________________
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at Amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.April 5, 2010 at 11:43 am
What do you get if you execute sp_helptext [triggerName]?
April 5, 2010 at 7:55 pm
Are you logged in with SysAdmin privs?
--Jeff Moden
Change is inevitable... Change for the better is not.
April 5, 2010 at 7:55 pm
Toby White (4/5/2010)
What do you get if you execute sp_helptext [triggerName]?
Thanks for the reply.
When I execute the above I get "The text for object '<TABLENAME>' is encrypted."
April 5, 2010 at 7:57 pm
Jeff Moden (4/5/2010)
Are you logged in with SysAdmin privs?
Correct
April 6, 2010 at 12:03 pm
You will have to either get the source code from the contractor or decrypt the trigger yourself. I attached code you can use to decrypt objects, but you will have to connect in DAC mode. There are comments at the top of the code explaining how to do this.
Regards,
Toby
Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply