Re: "Best Practices" way to distribute MSDE
From: Andrea Montanari (andrea.sqlDMO_at_virgilio.it)
Date: 07/08/04
- Previous message: PPC: "Re: MSDE Deployment Toolkit"
- In reply to: Ian Boyd: "Re: "Best Practices" way to distribute MSDE"
- Next in thread: Ian Boyd: "Re: "Best Practices" way to distribute MSDE"
- Reply: Ian Boyd: "Re: "Best Practices" way to distribute MSDE"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 8 Jul 2004 04:41:43 +0200
hi Ian,
"Ian Boyd" <admin@SWIFTPA.NET> ha scritto nel messaggio
news:%23fiy0DIZEHA.2516@TK2MSFTNGP10.phx.gbl...
> How do you determine if an SQL Server is already installed?
you can (locally) check the registry, instantiate SQL-DMO (which only tells
if SQL-DMO is locally present) and try a connection to the server... this
can be done via Ado/Ado.Net too...
> If so, how do you detect if your database is already installed?
query the database catalogue for it's name... SQL-DMO/Ado/Ado.Net
> How do you detect if you login is already created?
if you can't connect with that login, it's not there... or SQL-DMO or
sp_helplogins 'login2test' via Ado/Ado.Net
> If you login is not already created, but your database is, how do you
relink
> them?
strange situation, isn't it? =;-D
eventually, just re-add your login and grant db access, as long as all
object privileges... SQL-DMO/Ado/Ado.Net
> If you login is already there, but the database isn't how do you handle
it?
you just create the database... and then go on granting db access and object
privileges... SQL-DMO/Ado/Ado.Net
just use traditional common sense =;-)
-- Andrea Montanari (Microsoft MVP - SQL Server) http://www.asql.biz/DbaMgr.shtm http://italy.mvps.org DbaMgr2k ver 0.8.0 - DbaMgr ver 0.54.0 (my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual interface) --------- remove DMO to reply
- Previous message: PPC: "Re: MSDE Deployment Toolkit"
- In reply to: Ian Boyd: "Re: "Best Practices" way to distribute MSDE"
- Next in thread: Ian Boyd: "Re: "Best Practices" way to distribute MSDE"
- Reply: Ian Boyd: "Re: "Best Practices" way to distribute MSDE"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|