|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Today @ 12:25 PM
Points: 7,110,
Visits: 7,184
|
|
Apologies to everyone for the silly syntax error.
I'll ask Steve to correct the question.
Tom Is minic a gheibheann béal oscailte dorn dúnta. Is minig a cheapas beul fosgailte dòrn dùinte.
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 7:02 AM
Points: 300,
Visits: 307
|
|
| Agree, got the same result as the post above above about syntax error. Is there any quality control on these questions?!?!
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Today @ 11:36 AM
Points: 837,
Visits: 1,219
|
|
Ugh, I didn't realize that had been depreciated. Thanks for the question Tom!
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Wednesday, September 19, 2012 8:39 AM
Points: 595,
Visits: 1,226
|
|
QOD <<FAIL>>
Converting oxygen into carbon dioxide, since 1955.
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Today @ 1:05 PM
Points: 1,559,
Visits: 1,397
|
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Tuesday, May 21, 2013 12:26 PM
Points: 1,258,
Visits: 341
|
|
| The question specifically states 2008+ and on 2008 the syntax is invalid. The first answer is the correct answer, not the answer you indicate.
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Thursday, May 02, 2013 3:45 PM
Points: 3,748,
Visits: 928
|
|
Got me on this one because I read an old version of BOL. I knew there was a syntax error but I focused only on the words and not the punctuation.
I should pay attention to versions in later QOTDs.
Happy weekend everyone!!!
"El" Jerry.
"El" Jerry.
"A watt of Ottawa" - Gerardo Galvan
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: 2 days ago @ 4:56 PM
Points: 277,
Visits: 201
|
|
I got this one wrong (or right) because my answer assumes that DBCC CheckDB requires a database name, and in parentheses. At any rate, I didn't get the point but it was nice to brush up on some SQL history.
Thanks.
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Tuesday, January 08, 2013 6:07 AM
Points: 1,073,
Visits: 170
|
|
| in SQL 2012 running this you will get a syntex error near ","
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Today @ 7:16 PM
Points: 3,231,
Visits: 64,330
|
|
I got this right because my copy of Local Transact SQL Help says as does BOL
' database_name ' | database_id | 0 Is the name or ID of the database for which to run integrity checks. If not specified, or if 0 is specified, the current database is used. Database names must comply with the rules for identifiers.
REPAIR_ALLOW_DATA_LOSS | REPAIR_FAST | REPAIR_REBUILD Specifies that DBCC CHECKDB repair the found errors. The specified database must be in single-user mode to use one of the following repair options.
I read it such that if you don't specify a database it will default to the current one. I guess not with the REPAIR commands?
Originally I thought it was an error... but reading that it seems that it should be right... it's not... but I think it should be.
--Mark Tassin MCITP - SQL Server DBA Proud member of the Anti-RBAR alliance. For help with Performance click this link For tips on how to post your problems
|
|
|
|