
December 30th, 2003, 02:43 PM
|
|
Junior Member
|
|
Join Date: Dec 2003
Location: Binghamton, NY
Posts: 22
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
One way is to use replication.
Another way is to use run multiple queries with the full database qualifier.
If all the databases are on the same server:
Insert into MyDatabase1.dbo.MyTable (Field1) values ('hello world');
Insert into MyDatabase2.dbo.MyTable (Field1) values ('hello world');
Insert into MyDatabase3.dbo.MyTable (Field1) values ('hello world')
If they are on different servers then you can create Linked Servers and the queries would look something like this:
Insert into MyDatabase1.dbo.MyTable (Field1) values ('hello world');
Insert into Myserver2.MyDatabase2.dbo.MyTable (Field1) values ('hello world');
Insert into MyServer3.MyDatabase3.dbo.MyTable (Field1) values ('hello world')
|