﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server 2008 Administration  / Changing database to Read_Write / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 18 May 2013 22:59:15 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Changing database to Read_Write</title><link>http://www.sqlservercentral.com/Forums/Topic1412663-1550-1.aspx</link><description>No worries, good linkhttp://blog.sqlauthority.com/2010/03/17/sql-server-difference-between-rollback-immediate-and-with-no_wait-during-alter-database/SummaryNo Wait - will cause the statement you are executing to fail if there are open transactionsRoll back Immediate - will rollback open transactions when you execute your script (an override I guess)Andrew</description><pubDate>Tue, 29 Jan 2013 13:09:20 GMT</pubDate><dc:creator>Andrew Pruski</dc:creator></item><item><title>RE: Changing database to Read_Write</title><link>http://www.sqlservercentral.com/Forums/Topic1412663-1550-1.aspx</link><description>[quote][b]Andrew Pruski (1/29/2013)[/b][hr]Would [WITH ROLLBACK IMMEDIATE] help?Andrew[/quote]Thanks Andrew. This worked. I'll read further on  ROLLBACK IMMEDIATE.</description><pubDate>Tue, 29 Jan 2013 13:02:33 GMT</pubDate><dc:creator>sunny.tjk</dc:creator></item><item><title>RE: Changing database to Read_Write</title><link>http://www.sqlservercentral.com/Forums/Topic1412663-1550-1.aspx</link><description>Would [WITH ROLLBACK IMMEDIATE] help?Andrew</description><pubDate>Tue, 29 Jan 2013 06:48:36 GMT</pubDate><dc:creator>Andrew Pruski</dc:creator></item><item><title>RE: Changing database to Read_Write</title><link>http://www.sqlservercentral.com/Forums/Topic1412663-1550-1.aspx</link><description>You could add  "WITH NO_WAIT"</description><pubDate>Mon, 28 Jan 2013 14:44:34 GMT</pubDate><dc:creator>arnipetursson</dc:creator></item><item><title>Changing database to Read_Write</title><link>http://www.sqlservercentral.com/Forums/Topic1412663-1550-1.aspx</link><description>I've a read-only database and I'd like to change it to read_write but the following script never seems to complete. Not sure where I'm going wrong.USE DatabaseNamegoALTER DATABASE [DatabaseName] SET  READ_WRITE GOIs there an alternative method?</description><pubDate>Mon, 28 Jan 2013 14:36:43 GMT</pubDate><dc:creator>sunny.tjk</dc:creator></item></channel></rss>