Find invalid objects via SQL
marc.durand
Posts: 2 New member
Is it possible to find invalid objects using a SQL statement instead of using the UI? I'm looking to automate our build/install/test process and would like to find invalid objects by using osql from the command line. Can SQL Prompt's Find Invalid Objects functionality be triggered that way?
Thanks!
Thanks!
Tagged:
Comments
There's no way to trigger find invalid objects directly from SQL at the moment. We are doing some minor improvements to find invalid objects for the next release of Prompt and so I'm wondering if we could include some changes to help you. What would be the ideal way that this would work for you?
Any more details on what you'd like to use it for would be really useful!
Thanks,
Aaron.
I would also like this feature. As part of our production deployment process I would like to be able to confirm via a SQL statement that there are no-invalid objects in *ANY* of the production user databases. If there was an output which confirmed the results that we could keep for SOC purposes (i.e. Database Name checked and the results) that would be very helpful. Right now i have to do each data base one at a time and take a screen print for the documentation and this is time consuming.
Thank you!
Hi - I've emailed you a workaround directly.
Product Manager
Redgate Software
Is there any known workaround or progess since 2018?
Thank you in advance
Thanks for your comment on this.
I'm engaging with our development to get an update on this. I will come back to you again as soon as possible.
Dan Jary | Redgate Software
Have you visited our Help Center?
Unfortunately this functionality had not yet been added, I have however re-highlighted this to our development team for their visibility.
There has also been a feature request raised for this - https://redgate.uservoice.com/forums/94413-sql-prompt/suggestions/42693359-find-invalid-objects-in-multiple-databases. It would be good if you comment and/or vote for as this will further help to raise awareness of it.
Dan Jary | Redgate Software
Have you visited our Help Center?
Thank you very much for your answer