October 20, 2010 at 10:33 am
Can someone help me with the tsql on this? i created a test table and want to set the status to OFFLINE. The following is what doesn't work.
USE master
GO
ALTER DATABASE TK432
SET db_state_option = OFFLINE;
GO
Thanks.
October 20, 2010 at 11:11 am
Did you open books online and look up the syntax for ALTER DATABASE?
ALTER DATABASE database_name
SET { ONLINE | OFFLINE | EMERGENCY }
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
October 20, 2010 at 11:16 am
October 20, 2010 at 11:19 am
Thanks. Yes I did but was making a stupid syntax error. Thanks again.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply