Hello All,
Thank you in advance for any help provided :-)
I have lost all of my views on one of my databases.
DB_1
I have this database backed up under a different database name
DB_2
After some initial research it appears as though i can generate a script from the backup copy of the database 'DB_2' that will contain all of my views.
I should then be able to execute this script on 'DB_1' and return my views to their functional glory!
However im not sure if i am doing this correctly as i am receiving errors when i attempt to run the script (as a query) on 'DB_1'



I posted some screens on how im generating the script.
on picture 3 for the advanced options im not sure what to choose here (schema and data?)
the errors being returned are as follows:
Msg 208, Level 16, State 1, Procedure SY_1099Setup, Line 1
Invalid object name 'MAS_SYSTEM..SY_1099Setup'.
...