Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Getting the "Alter Procedure..." or "Alter View..." scripts from SQL Service via SQL?

Avatar of Danielcmorris
DanielcmorrisFlag for United States of America asked on
Microsoft SQL Server
3 Comments1 Solution783 ViewsLast Modified:
I'm working on an interface to manage a bunch of my websites.  Basically, it's a copy of Enterprise Manager written using web-services.  So, I can set up the module on any one of my systems and execute SQL calls via ajax calls.

Right now, I choose a system, and I see a list of all the views, functions, and procedures in the DB.   I'd really like it if I could write a script where I can right-click on a stored procedure and have the "Script stored procedure as Alter..." as an option.

Where is that information??