Is there any way with osql to compare the stored procedure for a give database againts a fixed list.
In other word I know that a database is supposed to have 100 stored procedures and if one is deleted I would like to query the stored procedures and be able to tell which procedure got deleted.
I know is can use sp_stored_procedure to list the procedure but would either like to dumpt this list to a file so i can compare it or it its possible to write something to compared the dump list against the a fix list and tell me what is missing.
In other word I know that a database is supposed to have 100 stored procedures and if one is deleted I would like to query the stored procedures and be able to tell which procedure got deleted.
I know is can use sp_stored_procedure to list the procedure but would either like to dumpt this list to a file so i can compare it or it its possible to write something to compared the dump list against the a fix list and tell me what is missing.