Hi Group,
I have a database which has around 2000 SPs. I dont have relationships
defind in the database as its a maintainence project so now I want to
recomiple each SP so to know that the SPs are in correct state. One
way is to use sp_recomiple system stored procedure but it will only
recomiple the SP when the SP is called. I want the SPs to get
recompiled and report me errors in the SPs.
I dont want to change the SP by WITH RECOMPILE option since that will
also mean changing all SPs. and every other option i found only works
when the SP is called. I cannot write EXEC <SP NAME> since it means
providing parameters for the SPs and its a very tidious task.
Can anyone suggest me some easier way to do it ??
Thanks in advance
Sunil
I have a database which has around 2000 SPs. I dont have relationships
defind in the database as its a maintainence project so now I want to
recomiple each SP so to know that the SPs are in correct state. One
way is to use sp_recomiple system stored procedure but it will only
recomiple the SP when the SP is called. I want the SPs to get
recompiled and report me errors in the SPs.
I dont want to change the SP by WITH RECOMPILE option since that will
also mean changing all SPs. and every other option i found only works
when the SP is called. I cannot write EXEC <SP NAME> since it means
providing parameters for the SPs and its a very tidious task.
Can anyone suggest me some easier way to do it ??
Thanks in advance
Sunil
Comment