ITALIAORIANA
Technical User
Hi Everyone,
I am going to apologize in advance if this posts twice. The first time I posted it didn't show up.
My knowledge of SQL is beginner level. My job only requires simple insert and update queries. I have now been tasked with working change requests that require updates to all 18 client databases.
We have 18 separate client databases on 5 different servers. Each server has all 18 databases. One server for test, one for config, one for dev etc...
I was wondering if it is possible to update all 18 databases on one server with one script. I tried the USE [db1config] and just added each database with a comma followed by my insert statement but that did not work. I separated each into its own USE statement but it only updated the last database. Any help would be greatly appreciated.
Thanks
Deana
I am going to apologize in advance if this posts twice. The first time I posted it didn't show up.
My knowledge of SQL is beginner level. My job only requires simple insert and update queries. I have now been tasked with working change requests that require updates to all 18 client databases.
We have 18 separate client databases on 5 different servers. Each server has all 18 databases. One server for test, one for config, one for dev etc...
I was wondering if it is possible to update all 18 databases on one server with one script. I tried the USE [db1config] and just added each database with a comma followed by my insert statement but that did not work. I separated each into its own USE statement but it only updated the last database. Any help would be greatly appreciated.
Thanks
Deana