tb
Programmer
- May 27, 2003
- 328
Hi everyone,
I'm in need of some assistance in the above regard.
(Bit of back ground ... SQL 2000 VB GUI)
I have a Database on Server A and a Database on Server B which contains the information I need to combine in a table on the Database on Server A. As far as I know it is not linked servers (if it will help).
I need to do this in the most effecient way ... the way that I have started out doing this is with an Insert statement form Server A to Server A and then an Update from Server B for every record ... but there must be a more effecient way.
Another little hickup is that the Database on Server A can be one of 5 (different companies within the group) - so hard coding the database name is not an option, but 5 different stored procs would be fine.
Can anyone shed some light on my problem?
Any ideas would be much appreciated!
Chau
I was standing in the park, wondering why frisbees got bigger as they came closer... then it hit me!
I'm in need of some assistance in the above regard.
(Bit of back ground ... SQL 2000 VB GUI)
I have a Database on Server A and a Database on Server B which contains the information I need to combine in a table on the Database on Server A. As far as I know it is not linked servers (if it will help).
I need to do this in the most effecient way ... the way that I have started out doing this is with an Insert statement form Server A to Server A and then an Update from Server B for every record ... but there must be a more effecient way.
Another little hickup is that the Database on Server A can be one of 5 (different companies within the group) - so hard coding the database name is not an option, but 5 different stored procs would be fine.
Can anyone shed some light on my problem?
Any ideas would be much appreciated!
Chau
I was standing in the park, wondering why frisbees got bigger as they came closer... then it hit me!