SQL Server -Copy Views from one db to multiple dbs with the same schema? -


how copy view 1 database other databases same schema @ same time, dont want script process each db, time consuming . have atleast 5 other dbs need these views ?

just script out view create new query editor window, change use databasename on top other databases, 1 @ time. if view contains qualified references (database.schema.object), may have find , replace on database name.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -