Batch run for Layout?
sgia
Posts: 4
Hello, can anyone tell me if it is possible to BATCH run the SQL layout command? I have a bunch (several hundred) stored procedures I would like to clean up and a batch function would be great.
Thanks,
SG
Thanks,
SG
Comments
Using a file open interface, to just point SQL Prompt at a folder full of SQL scripts and have them formatted and saved back again would be brilliant.
Senior DBA
Careers South West Ltd
David Atkinson
Product Manager
Red Gate Software
Product Manager
Redgate Software
Yes, I would like to have the CTRL-SHIFT-Y functionality applied to all stored procedures in a database.
let it create the DROP and CREATE scripts for ALL the SPs, then copy the resulting script to Query Analyzer and run LayOut SQL over that.
Worked like a charm.
SG
For some reason, permissions are not generated in the script.
Regards,
Cleveland, OH USA