Verify all SP after changes in DDL

  • Hi,

    How to verify that all 300 existing SPs will be OK after we introduced some new tables/columns. I heard about Export/Import feature but I think it's only for data?

    Another option to create script exec sp_recompile (sp_name1....name300) ??

    Appreciate your help, I think this also can affect all dbo in Programmability folder.

    Thansk

    Mario

  • take a look at this post i participated in a while back; it's got some handy code for finding all invalid objects, which would happen on procs/functions/views if the underlying objects they depend on were missing;

    that won't fix any procs that use dynamic sql to find tables or columns, but it will find anything with direct dependencies.

    FInding Invalid Stored Procedure in SQL 2008

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • Thanks Lowell

    !!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply