Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have more than one sql stored procedure and functions.
Now I want to create batch file to run(or alter all stored procedure and functions) on running of batch file.
Any suggestion provide me.
Posted

1 solution

Very simple! Just write GO statement after every alter script.
SQL
Alter Proc_1 
as 
begin
end

GO

Alter Proc_2
as
begin
end
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900