Re: DataBase reusability
From: Uri Dimant (urid_at_iscar.co.il)
Date: 02/28/05
- Next message: Sa: "Re: writing audit trail for a table"
- Previous message: Uri Dimant: "Re: How can I select rows where the time is midnight"
- In reply to: W. Jordan: "DataBase reusability"
- Next in thread: Welman Jordan: "Re: DataBase reusability"
- Reply: Welman Jordan: "Re: DataBase reusability"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 28 Feb 2005 08:56:28 +0200
W,Jordan
Are there any reasons to have two databases if as you said they have the
same table's structure?
use master
create table t(c1 varchar(50)) insert t values('master')
go
create proc sp_test as select * from t
GO
use northwind
create table t(c1 varchar(50)) insert t values('northwind')
use pubs
create table t(c1 varchar(50)) insert t values('pubs')
use pubs
exec sp_test --returns 'master'
use master
exec sp_MS_marksystemobject sp_test
use pubs
exec sp_test --returns 'pubs'
use northwind
exec sp_test --returns 'northwind'
"W. Jordan" <wmjordan@163.com.spam.proof> wrote in message
news:OUhzd6VHFHA.2936@TK2MSFTNGP15.phx.gbl...
> Hello,
>
> I am developing several database centric applications.
> Each application has gotten one or more databases. I
> discovered that some applications share some
> functionalities around database tables. For example,
> Application A will query the Members, Groups,
> MemberPreferences tables in database A, and Application
> B queries the Members, Groups, MemberPreferences tables
> in database B. Those tables named Members, Groups, and
> MemberPreferences have the identical table schema, and
> have the same select/insert/update/delete stored
> procedures, and triggers.
>
> Is there any good solution to maintain those kind of
> databases easily? Using the data import/export provided
> by the SQL Enterprise Manager might help a bit. Any
> other efficient alternatives to synchronize the table
> schema and stored procedures among those databases?
>
> W. Jordan
>
>
- Next message: Sa: "Re: writing audit trail for a table"
- Previous message: Uri Dimant: "Re: How can I select rows where the time is midnight"
- In reply to: W. Jordan: "DataBase reusability"
- Next in thread: Welman Jordan: "Re: DataBase reusability"
- Reply: Welman Jordan: "Re: DataBase reusability"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|