August 29, 2003 at 6:09 am
Hi,
I think the official response is not good,
because the answer 2 says ...everyone wil be disconnected...
and on the documentation about SINGLE_USER
[ ROLLBACK AFTER integer [SECONDS]
ROLLBACK AFTER integer SECONDS waits for the specified number of seconds and then breaks unqualified connections. Incomplete transactions are rolled back. When the transition is to SINGLE_USER mode, unqualified connections are all connections except the one issuing the ALTER DATABASE statement. ]....
[ all connections except the one ] is not equal to [ everyone ]
....
Cheers
Thierry
Edited by - Thierry_Bertin on 08/29/2003 06:10:56 AM
Thierry
August 29, 2003 at 6:16 am
Hi Thierry,
quote:
[ all connections except the one ] is not equal to [ everyone ]
I made the same mistake
Who is responsible for this one?
Cheers,
Frank
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
August 29, 2003 at 7:04 am
ALTER DATABASE Northwind
SET SINGLE_USER
WITH ROLLBACK AFTER 30 SECONDS
Did they change this in SQL2K from SQL7? I ran it against my SQL7 server and got the following message.
Server: Msg 156, Level 15, State 1, Line 2
Incorrect syntax near the keyword 'SET'.
----------------
Jim P.
A little bit of this and a little byte of that can cause bloatware.
August 29, 2003 at 7:09 am
quote:
ALTER DATABASE NorthwindSET SINGLE_USER
WITH ROLLBACK AFTER 30 SECONDS
Did they change this in SQL2K from SQL7? I ran it against my SQL7 server and got the following message.
Server: Msg 156, Level 15, State 1, Line 2
Incorrect syntax near the keyword 'SET'.
Yep, and the question did not specify. Caught me.
Edited by - jpipes on 08/29/2003 07:12:00 AM
September 1, 2003 at 2:32 am
Seems to be a trend lately in the poor quality of questions! They seem to be more and more open ended and vague. I havnt bothered answering many of them lately!
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply