Morning ! This is perhaps a dumb question.
We have mispelled a word - sometimes - in SOME table columns and in SOME stored procedures. (It is 'milage' rather than 'mileage'.) We become aware of this when we run a job and failure occurs because of a mismatch between the table and the stored proc. Ouch.
What we would like to do is to search every table in a given database and check whether any column in any table contains the misspelled word. We'd also like to be able to do this with all stored procedures in a database. We can do this by hand but ... thought SQL Server might be able to help do it with less chance of human error ;-)
I realize this is a strange request - I really don't know whether this is possible at all. Appreciate any advice you can give !!
thanks,
ethan
We have mispelled a word - sometimes - in SOME table columns and in SOME stored procedures. (It is 'milage' rather than 'mileage'.) We become aware of this when we run a job and failure occurs because of a mismatch between the table and the stored proc. Ouch.
What we would like to do is to search every table in a given database and check whether any column in any table contains the misspelled word. We'd also like to be able to do this with all stored procedures in a database. We can do this by hand but ... thought SQL Server might be able to help do it with less chance of human error ;-)
I realize this is a strange request - I really don't know whether this is possible at all. Appreciate any advice you can give !!
thanks,
ethan