473,395 Members | 1,689 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Operating across multi SQL Server databases

Br
We have a product that is being used by a client to outsource salary
packaging. They therefore run several instances of our database, one for
each of their clients.

There is now a requirement to run operations globally across all the
databases including a central database holding some global information. What
method(s) would people recommend that would work best?

(Access2000 ADP, SQL Server 2000)

--
regards,

Br@dley
Mar 17 '06 #1
10 1869
I am not aware of the details of how to accomplish it, but you can link
tables in different databases in SQL Server, just as you can in Jet. If you
are going to do something "global" with disparate databases, that would seem
to be the first approach to consider.

I might suggest that you consider redesigning the database so that only one
instance would have to be run, but the tables have "user" identification for
the data. However, as that may not be a common requirement (e.g, just this
one "outsourcer" or a few), that might just be unused, extra data, for most
of your clients.

Other than this, I am not sure what recommendation you are seeking.

Larry Linson
Microsoft Access MVP
"Br@dley" <do***********@google.com> wrote in message
news:dv**********@news-02.connect.com.au...
We have a product that is being used by a client to outsource salary
packaging. They therefore run several instances of our database, one for
each of their clients.

There is now a requirement to run operations globally across all the
databases including a central database holding some global information.
What method(s) would people recommend that would work best?

(Access2000 ADP, SQL Server 2000)

--
regards,

Br@dley

Mar 17 '06 #2
I've done something similar in Access; I coded a routine to dyamically
link the tables I needed and pull in their data, using a local table to
keep a list of the database locations. I don't think an ADP would be a
good choice, since you can only connect to one database at a time.

If you're comfortable with SQL data warehousing, that's probably the
best bet, though... that's what it sounds like you're doing.

Mar 17 '06 #3
What about finding a SQL Server hosting company?

If the SQL Server happened to be hosted in one place and the connection
strings all pointed there (IP over the web - or - VPN and connect) then your
in business. Multiple users anywhere could connect and operate from a
single datasource. Of course depending on the efficiency of the client
application and how much it utilizes the server itself for processing
(particularly on report generation), performance could be an issue. However
I would think it is certainly worth a shot before recoding or messing with
replication. Could be another profit center for you as well whether you
host the db yourself or outsource that. Especially if the client sites have
a good dedicated internet connection.

--
Jerry Boone
"Br@dley" <do***********@google.com> wrote in message
news:dv**********@news-02.connect.com.au...
We have a product that is being used by a client to outsource salary
packaging. They therefore run several instances of our database, one for
each of their clients.

There is now a requirement to run operations globally across all the
databases including a central database holding some global information. What method(s) would people recommend that would work best?

(Access2000 ADP, SQL Server 2000)

--
regards,

Br@dley

Mar 17 '06 #4
Br
Larry Linson wrote:
I am not aware of the details of how to accomplish it, but you can
link tables in different databases in SQL Server, just as you can in
Jet. If you are going to do something "global" with disparate
databases, that would seem to be the first approach to consider.
Thought of that but we're using an ADP...
I might suggest that you consider redesigning the database so that
only one instance would have to be run, but the tables have "user"
identification for the data.
Yes, this is the way I'd like to have done it but I didn't design it and
there is not the time/resources to redesign it at the moment. There is also
some benefit to having the data seperate.
However, as that may not be a common
requirement (e.g, just this one "outsourcer" or a few), that might
just be unused, extra data, for most of your clients.

Other than this, I am not sure what recommendation you are seeking.

Larry Linson
Microsoft Access MVP
"Br@dley" <do***********@google.com> wrote in message
news:dv**********@news-02.connect.com.au...
We have a product that is being used by a client to outsource salary
packaging. They therefore run several instances of our database, one
for each of their clients.

There is now a requirement to run operations globally across all the
databases including a central database holding some global
information. What method(s) would people recommend that would work
best? (Access2000 ADP, SQL Server 2000)

--
regards,

Br@dley


--
regards,

Br@dley
Mar 19 '06 #5
Br
Graham Charles wrote:
I've done something similar in Access; I coded a routine to dyamically
link the tables I needed and pull in their data, using a local table
to keep a list of the database locations. I don't think an ADP would
be a good choice, since you can only connect to one database at a
time.
Unfortinately it's not a choice... it's what the system has been written in.

I could maybe write an external interface MDB to do the processing...
If you're comfortable with SQL data warehousing, that's probably the
best bet, though... that's what it sounds like you're doing.


--
regards,

Br@dley
Mar 19 '06 #6
Br
Jerry Boone wrote:
What about finding a SQL Server hosting company?

If the SQL Server happened to be hosted in one place and the
connection strings all pointed there (IP over the web - or - VPN and
connect) then your in business. Multiple users anywhere could
connect and operate from a single datasource. Of course depending on
the efficiency of the client application and how much it utilizes the
server itself for processing (particularly on report generation),
performance could be an issue. However I would think it is certainly
worth a shot before recoding or messing with replication. Could be
another profit center for you as well whether you host the db
yourself or outsource that. Especially if the client sites have a
good dedicated internet connection.
All the databases are on the same local server so none of this is required:)
"Br@dley" <do***********@google.com> wrote in message
news:dv**********@news-02.connect.com.au...
We have a product that is being used by a client to outsource salary
packaging. They therefore run several instances of our database, one
for each of their clients.

There is now a requirement to run operations globally across all the
databases including a central database holding some global
information. What method(s) would people recommend that would work
best?

(Access2000 ADP, SQL Server 2000)

--
regards,

Br@dley


--
regards,

Br@dley
Mar 19 '06 #7
"Br@dley" <do***********@google.com> wrote in
news:dv**********@news-02.connect.com.au:
We have a product that is being used by a client to outsource salary
packaging. They therefore run several instances of our database, one
for each of their clients.

There is now a requirement to run operations globally across all the
databases including a central database holding some global
information. What method(s) would people recommend that would work
best?

(Access2000 ADP, SQL Server 2000)


Are the dbs on different servers? Do they have different names?

If they're not on different servers on can just access them using their
names? eg: SELECT * FROM FFDBA_ESO_LOCAL.dbo.tblSchools runs fine when my
ADP is linked to a db named Temp but which is on the same server as the db
FFDBA_ESO_LOCAL (assuming I have permissions of course).

And if they are on different servers the servers can be linked (BOL has
mucho info about linking servers; we can even link to an mdb if it resides
on the same machine as the SQL server), and the dbs can be accessed by
servername.dbname.owner.object?
eg SELECT * FROM Server2.FFDBA_ESO_Remote.dbo.tblSchools

But perhaps I am not understanding. Perhaps you need to access tblSchools
on several different dbs on several different servers. I don't know if a
Union will work in those circumstances or not, but I'd give it a shot.

--
Lyle Fairfield
Mar 19 '06 #8
Br
Lyle Fairfield wrote:
"Br@dley" <do***********@google.com> wrote in
news:dv**********@news-02.connect.com.au:
We have a product that is being used by a client to outsource salary
packaging. They therefore run several instances of our database, one
for each of their clients.

There is now a requirement to run operations globally across all the
databases including a central database holding some global
information. What method(s) would people recommend that would work
best?

(Access2000 ADP, SQL Server 2000)
Are the dbs on different servers? Do they have different names?


Same server.
If they're not on different servers on can just access them using
their names? eg: SELECT * FROM FFDBA_ESO_LOCAL.dbo.tblSchools runs
fine when my ADP is linked to a db named Temp but which is on the
same server as the db FFDBA_ESO_LOCAL (assuming I have permissions of
course).


Perhaps. Ideally I'd need to make it as dynamic as possible (ie. 'register'
the database into a table and insert the table names into the SQL
statement).

<>
--
regards,

Br@dley
Mar 19 '06 #9
Ahh...

Interesting, so you need to combine all the databases together for a single
source solution.

You could make a database called "globaldb" or something and make views
named for each table object you have in the other databases...

use globaldb
create view 'table1'
as
select * from db1.dbo.table1
union
select * from db2.dbo.table1
union
select * from db3.dbo.table1

create view 'table2'
as
select * from db1.dbo.table2
union
select * from db2.dbo.table2
union
select * from db3.dbo.table2

and so on...

This gives you a single db to connect to that combines data from the other
db's. In just about any sql server scenario view objects are completely
interchangeable with table objects. I always use views to "pull" in data
from other databases. Then if the source database changes you have a "shim"
layer where to can adjust such changes to keep from having to re-code your
application.

--
Jerry Boone
"Br@dley" <do***********@google.com> wrote in message
news:dv**********@news-02.connect.com.au...
Jerry Boone wrote:
What about finding a SQL Server hosting company?

If the SQL Server happened to be hosted in one place and the
connection strings all pointed there (IP over the web - or - VPN and
connect) then your in business. Multiple users anywhere could
connect and operate from a single datasource. Of course depending on
the efficiency of the client application and how much it utilizes the
server itself for processing (particularly on report generation),
performance could be an issue. However I would think it is certainly
worth a shot before recoding or messing with replication. Could be
another profit center for you as well whether you host the db
yourself or outsource that. Especially if the client sites have a
good dedicated internet connection.
All the databases are on the same local server so none of this is

required:)
"Br@dley" <do***********@google.com> wrote in message
news:dv**********@news-02.connect.com.au...
We have a product that is being used by a client to outsource salary
packaging. They therefore run several instances of our database, one
for each of their clients.

There is now a requirement to run operations globally across all the
databases including a central database holding some global
information. What method(s) would people recommend that would work
best?

(Access2000 ADP, SQL Server 2000)

--
regards,

Br@dley


--
regards,

Br@dley

Mar 20 '06 #10
Br
Jerry Boone wrote:
Ahh...

Interesting, so you need to combine all the databases together for a
single source solution.

You could make a database called "globaldb" or something and make
views named for each table object you have in the other databases...

use globaldb
create view 'table1'
as
select * from db1.dbo.table1
union
select * from db2.dbo.table1
union
select * from db3.dbo.table1

create view 'table2'
as
select * from db1.dbo.table2
union
select * from db2.dbo.table2
union
select * from db3.dbo.table2

and so on...

This gives you a single db to connect to that combines data from the
other db's. In just about any sql server scenario view objects are
completely interchangeable with table objects. I always use views to
"pull" in data from other databases. Then if the source database
changes you have a "shim" layer where to can adjust such changes to
keep from having to re-code your application.
Thanks.

The reason I need to work across the databases is because there is an import
transaction file that contains data for all the databases. So this needs to
be imported and reconciled.

"Br@dley" <do***********@google.com> wrote in message
news:dv**********@news-02.connect.com.au...
Jerry Boone wrote:
What about finding a SQL Server hosting company?

If the SQL Server happened to be hosted in one place and the
connection strings all pointed there (IP over the web - or - VPN and
connect) then your in business. Multiple users anywhere could
connect and operate from a single datasource. Of course depending
on the efficiency of the client application and how much it
utilizes the server itself for processing (particularly on report
generation), performance could be an issue. However I would think
it is certainly worth a shot before recoding or messing with
replication. Could be another profit center for you as well
whether you host the db yourself or outsource that. Especially if
the client sites have a good dedicated internet connection.


All the databases are on the same local server so none of this is
required:)
"Br@dley" <do***********@google.com> wrote in message
news:dv**********@news-02.connect.com.au...
We have a product that is being used by a client to outsource
salary packaging. They therefore run several instances of our
database, one for each of their clients.

There is now a requirement to run operations globally across all
the databases including a central database holding some global
information. What method(s) would people recommend that would work
best?

(Access2000 ADP, SQL Server 2000)

--
regards,

Br@dley


--
regards,

Br@dley


--
regards,

Br@dley
Mar 21 '06 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: jimstallings | last post by:
Hi, I am trying to locate documentation on using views across databases. We have serveral databases broken down by application, some shared databases and some location specific databases...
4
by: surfdog58 | last post by:
Need to build complete deployment package for a multi-project enterprise soln consisting of 3 web apps, 20+ web services, 2 windows services, 61 component dll's and 4 databases. Everything except...
1
by: chandrub78 | last post by:
Hello Everyone We have a third party tool which maintains its own custom database,DB1 on SQL Server 2000 on Server A (Windows 2000). We built an inhouse application which maintains a transactional...
2
by: RipTide | last post by:
Background: Using an unsupported/abandoned multi-user multi-database program that uses Access 97 and Jet 3.5. Program itself appears to have been built with PowerBuilder 6.5. Databases reside on...
6
by: Damon Grieves | last post by:
Hi I just want to be sure I understand how the Access client works. If I have an Access back end with a million records on a server and an Access client. If the client is installed on the users pc...
5
by: bobwansink | last post by:
Hi, I'm relatively new to programming and I would like to create a C++ multi user program. It's for a project for school. This means I will have to write a paper about the theory too. Does anyone...
2
by: Merrall, Graeme | last post by:
I don't think there's an easy way to do this but I thought I better ask just in case. I'm trying to come up with a way to search across a number of databases without resorting to lots of horrible...
1
by: Dmitri | last post by:
Hi! I have a stored procedure that takes 22 minutes to run in one environment, that only takes 1 sec or so to run in another environment. Here is the exact situation: Database 1 on Server 1...
0
by: Philip Nelson | last post by:
I'm a UNIX person who is having difficulty understanding Windows security. I've got to install a DB2 server (initially Express-C) in a Windows domain environment. I fire up the installer and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...

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.