March 7, 2014 at 12:02 pm
Thomas Abraham (3/7/2014)
Had to guess, and got it right. Thanks for the question, but questions that are this subjective are deprecated in future versions of SQL Server. 😉
+1
I thought the same about another one recently....
March 7, 2014 at 1:51 pm
i chose None of the above, because the AD group does not have the domain in the command, making it invalid.
--no such user or role
/*
Msg 15151, Level 16, State 1, Line 7
Cannot find the login 'QODListMembers', because it does not exist or you do not have permission.
*/
Grant VIEW ANY DEFINITION to QODListMembers
--the group supposedly exists
Grant VIEW ANY DEFINITION to mydomain\QODListMembers
Lowell
March 7, 2014 at 11:30 pm
Ford Fairlane (3/6/2014)
Could have been this or could have been that but we assume the other.... didn't like the question.
Neither did I.
Thanks & Best Regards,
Hany Helmy
SQL Server Database Consultant
March 7, 2014 at 11:33 pm
From my previous hands-on experience, the correct answer should be "View Definition must be granted in each database". and by the way that`s the highest percentage answer.
Thanks & Best Regards,
Hany Helmy
SQL Server Database Consultant
March 8, 2014 at 5:48 am
Lowell (3/7/2014)
i chose None of the above, because the AD group does not have the domain in the command, making it invalid.
--no such user or role
/*
Msg 15151, Level 16, State 1, Line 7
Cannot find the login 'QODListMembers', because it does not exist or you do not have permission.
*/
Grant VIEW ANY DEFINITION to QODListMembers
--the group supposedly exists
Grant VIEW ANY DEFINITION to mydomain\QODListMembers
My answer was none of the above 🙁 . How do SQL Server identify that QODListMembers is an Active directory Group?
March 8, 2014 at 6:44 pm
I appreciate the comments - writing good questions is hard! I've got another one I'm working on now.
March 10, 2014 at 7:29 am
interesting question..
thanks Andy.
March 11, 2014 at 11:32 am
Hany Helmy (3/7/2014)
Ford Fairlane (3/6/2014)
Could have been this or could have been that but we assume the other.... didn't like the question.Neither did I.
Nor did I. Certainly a server level pemission makes sense if "various databases" means "every database on the instance" but the more natural interpretation is surely that "various databases" means what it says, not "each and every database" so that grants on the various databases rather than a grant at server level are what is required. Also, I believe that the absence of a domain qualification on the principlal name means it can't be the server login for an AD group, so it must be a database user and what's claimed to be the correct answer isn't even a possible answer.
Tom
Viewing 9 posts - 16 through 23 (of 23 total)
You must be logged in to reply to this topic. Login to reply