sql server new users:
The most likely reason it attached as read-only is that the Windows user
that SQL Express is running as (by default NetworkService) doesn't have
controlling writes on the .mdf and .ldf files and the directory they're in.
While Adam's answer is in fact required, It may not work if without also
changing the Windows permissions.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm [quoted text, click to view] "Adam Machanic" <amachanic@IHATESPAMgmail.com> wrote in message
news:C8DF4A69-97DD-4BC7-A0D6-13B1F6D759F3@microsoft.com...
> ALTER DATABASE YourDatabase SET READ_WRITE
>
>
> --
>
> Adam Machanic
> SQL Server MVP
>
> Author, "Expert SQL Server 2005 Development"
>
http://www.apress.com/book/bookDisplay.html?bID=10220 >
>
>
> "R.A.M." <r_ahimsa_m@poczta.onet.pl> wrote in message
> news:f5oqmc$jin$1@news.task.gda.pl...
>> Hello,
>> I would like to ask you such question. I created database but after
>> reinstalling Windows XP and SQL Server 2005 it attaches as read-only.
>> What should I do to have full access?
>> Thanks for help
>> /RAM/
>>
>
ALTER DATABASE YourDatabase SET READ_WRITE
--
Adam Machanic
SQL Server MVP
Author, "Expert SQL Server 2005 Development"
http://www.apress.com/book/bookDisplay.html?bID=10220 [quoted text, click to view] "R.A.M." <r_ahimsa_m@poczta.onet.pl> wrote in message
news:f5oqmc$jin$1@news.task.gda.pl...
> Hello,
> I would like to ask you such question. I created database but after
> reinstalling Windows XP and SQL Server 2005 it attaches as read-only. What
> should I do to have full access?
> Thanks for help
> /RAM/
>
Hello,
I would like to ask you such question. I created database but after
reinstalling Windows XP and SQL Server 2005 it attaches as read-only. What
should I do to have full access?
Thanks for help
/RAM/
Don't see what you're looking for? Try a search.