Here’s a nice trick for you! Some of these procedures aren’t accessible using sp_helptext and they also aren’t accessible using the OBJECT_DEFINITION function. However if you use the Dedicated Admin Connection (DAC), you’ll be able to access the real text of the procedure:
SELECT object_definition(object_id(‘sys.sp_MSrepl_helparticlecolumns’))
The trick is to open up a connection using the DAC (when you open a query window to “yourservername” just use
“ADMIN:yourservername” instead).
Submitted questions and answers are subject to review and editing, and may or may not be selected for posting, at the sole discretion of w3Sniff.
Get Started
Comments
Leave a Comment