How to copy views from one database to another database

前端 未结 5 1791
萌比男神i
萌比男神i 2020-12-14 02:07

I have two databases with same structure in MS SQL server.

I\'d like to copy all views another database.

I tried to use Export data functionality by DTS (tha

5条回答
  •  被撕碎了的回忆
    2020-12-14 03:00

    Right click the database, choose Tasks, and then Generate Script. This will allow you to generate a single script containing all views in the database.

提交回复
热议问题