Hi there
simple question
Is there any way to generate a script to recreate all the stored procs
that are in the database?
I have tried using the syscomments table, but the text field truncates
the stored proc as it is only varchar 255
What i need is to generate a script that would look like...
create proc procedure1
...
end
go
create proc procedure2
...
end
go
where the procs procedure1 and procedure2 are in the database.
Anyone?
TIA
JD
simple question
Is there any way to generate a script to recreate all the stored procs
that are in the database?
I have tried using the syscomments table, but the text field truncates
the stored proc as it is only varchar 255
What i need is to generate a script that would look like...
create proc procedure1
...
end
go
create proc procedure2
...
end
go
where the procs procedure1 and procedure2 are in the database.
Anyone?
TIA
JD