dickiebird
Programmer
Can anyone show me how to use defncopy
I want to extract the text of all my stored procedures, in a loop in a script.
Here's a sample of just trying to get the text from one sp
defncopy -Usduser -Psdpass out audit.sp_groupccy.P.ddl audit
So there's my 'out filename' and the database name (audit)
as per the manual, but I can't see how defncopy knows which sp to print.
Dickie Bird (-)))
I want to extract the text of all my stored procedures, in a loop in a script.
Here's a sample of just trying to get the text from one sp
defncopy -Usduser -Psdpass out audit.sp_groupccy.P.ddl audit
So there's my 'out filename' and the database name (audit)
as per the manual, but I can't see how defncopy knows which sp to print.
Dickie Bird (-)))