FindViewByName etc
Sorry for the daft question but ....
FindViewByName etc takes three arguments llAName llASchema llADatabase
llAName and llADatabase I know for the view I am looking for
Would it be possible to make these commands work with a blank llASchema as I'm not sure how I would know this value in advance ?
I see there is a collection called DefaultSchemas but I'm not 100% sure how this could help me
Yes obviously on a test basis I can look in SSMS and see the schemas but how do I know more generically ?
I don't know your database structure: if it support schemas or databases. but if any of them aren't supported by youd database server, you can leave corresponding parameters blank, it's allowed.