1

I would like to generate scripts of about 100 Stored Procedures. When I generate script, all the files contains 'CREATE PROCEDURE' statement. How should I get scripts with 'ALTER PROCEDURE' statement?

0

2 Answers 2

2
  • Find/replace in an editor
  • Script with a DROP first
  • Use a 3rd party to generate a differential script instead
Sign up to request clarification or add additional context in comments.

Comments

1

If you generate all the scripts to a new query window you could press Ctrl-Shift-H to get the find and replace in files dialog up and do a finf and replace on 'CREATE PROCEDURE' to 'ALTER PROCEDURE'?

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.