473,467 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Update & Merge MultiDB into Single DB - Do this as a Routine - Weekly

26 New Member
Hi,

I need to merge about 50 database into a single database for reporting purpose.
All have the same structure.

I do not know at any point of time the list of database in the server. It needs to be run as a routine every week, if possible automatic update.

How do I do this?

I am working in SQL Server 2000 with Access as front end.

Is there a way to know the list of database in a server thro a storedprocedure.

DTS I see, transfer is done only one database at a time, but I can create a routine.

If I do as a storedprocedure how do know what is list of database thats in the server or how do I run the storedprocedure automatically to execute weekly.

Pls advice.

Thanks & Regards,
Ruth.
Jun 1 '07 #1
2 1046
Motoma
3,237 Recognized Expert Specialist
I'm not entirely sure this is necessary.
You can perform cross database joins/unions in SQL Server. I am sure this would be a lot quicker and safer than merging all of your databases into one.
If you must, could you use osql to populate a list of databases, and run a SELECT [Name] FROM sysdatabases to find the databases, and do a merge with that list.
Jun 1 '07 #2
ruthboaz
26 New Member
I'm not entirely sure this is necessary.
You can perform cross database joins/unions in SQL Server. I am sure this would be a lot quicker and safer than merging all of your databases into one.
If you must, could you use osql to populate a list of databases, and run a SELECT [Name] FROM sysdatabases to find the databases, and do a merge with that list.

Thank you..

Regards,
Ruth.
Jun 4 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Spare Brain | last post by:
Hi Folks, I need to INSERT data into the table where the row may already be present. Can MERGE help me out? I'm limited to using SQL only, and thew DB is Oracle 9.2. The low-tech solution...
5
by: Janick Bernet | last post by:
The following Update fails with SQL0407N on Colum "Name", although the source-table t_Addresses_2005 is defined with NOT NULL on that column: UPDATE Addresses.t_Paddresses Old SET (Name,...
1
by: vj | last post by:
How to Update multiple tables in a single SQL update Statement? Is there any way out? vj.
5
by: stemc © | last post by:
Hi there, In work, we often mail merge letters and post them to contacts. But more and more, we've been emailing information to people instead. So far, I've been writing a single generic...
8
by: Darryl Kerkeslager | last post by:
I hope that although this is 25% Access and 75% Word, that someone will know ... The whole problem here arises because 1) Microsoft acknowledges an 'issue' wherein TextInput type FormFields are...
11
by: Siv | last post by:
Hi, I seem to be having a problem with a DataAdapter against an Access database. My app deletes 3 records runs a da.update(dt) where dt is a data.Datatable. I then proceed to update a list to...
7
by: giladp1 | last post by:
I found Albert Kallal's great "Super easy Word Merge" code in his site at: http://www.members.shaw.ca/AlbertKallal/msaccess/msaccess.html Thanks Albert so much for sharing this. I am looking...
11
by: Jorgen Bodde | last post by:
Hi all, I want to provide my users the ability to download a repository from the web, and after that check for updates. I thought of a mechanism that could do that, but since there is patch and...
3
by: Michel Esber | last post by:
Hi all, DB2 V8 LUW FP 15 There is a table T (ID varchar (24), ABC timestamp). ID is PK. Our application needs to frequently update T with a new value for ABC. update T set ABC=? where ID...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.