Does anyone know of the availability of a Perl script that will automate the process of going through a series of .sql files that contain a stored procedure each (for MS SQL Server).
As an added bonus, I would like this program to search through a series of directories to do this.
And, if these stored procedures contain ALTER SPROC on the first line I would like that changed to CREATE SPROC prior to execution.
Any help much appreciated.
I have tried to go through and find a similar question that I asked previously. Google search, perlmonks search etc. I've searched trough local files also. Without luck.