ALTER DATABASE MyDatabase
SET READ_ONLY
ALTER DATABASE MyDatabase
SET READ_WRITE

Signature
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
>I run several DTS Packages that load databases residing on two seperate
> instances of SQL Server 2000 on the same server. For security reasons, I
[quoted text clipped - 8 lines]
> code. I would appreciate and welcome any advise on how to accomplish this
> programming task. Thank you.
PGene2 - 25 Sep 2006 17:46 GMT
Thanks for the help. This is what needed.

Signature
grp
> ALTER DATABASE MyDatabase
> SET READ_ONLY
[quoted text clipped - 14 lines]
> > code. I would appreciate and welcome any advise on how to accomplish this
> > programming task. Thank you.