March 25, 2014 at 8:56 pm
Comments posted to this topic are about the item The Unusable User
March 25, 2014 at 10:49 pm
Indeed a good question Andy, Thank you.
---------------------------------------------------
"Thare are only 10 types of people in the world:
Those who understand binary, and those who don't."
March 26, 2014 at 1:19 am
Great question, thanks.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
March 26, 2014 at 2:21 am
This was removed by the editor as SPAM
March 26, 2014 at 2:46 am
One of those where I had no clue as to the answer so picked a random one to see what the real answer was--therefore I learned something today, which is always good! π
March 26, 2014 at 4:23 am
Good one Andy, Very very different one.. π
(I got the answer wrong, what I did is created the user (one query) and just mapped to the database (another query), but in both no role was set. I then logged in as this new user and tried to query the table and it gave permission error and then I executed another query in the admin window for adding role, when I disconnected and connected with new user and checked the output was seen. So I thought of the orphaned option thinking might be role has not been associated.)
ww; Raghu
--
The first and the hardest SQL statement I have wrote- "select * from customers" - and I was happy and felt smart.
March 26, 2014 at 4:37 am
3 easy points blown.
must.read.question.carefully.
---------------------------------------------------------------------
March 26, 2014 at 4:58 am
It's possible that he is in the wrong context, but we'll assume based on the intro that he is in the correct place.
I'm admittedly a bit of a newbie and certainly a BI developer rather than a DBA, so I accept that I'm going to get a lot of the questions wrong. However, when an explanation starts with 'we'll assume' I feel a bit cheated. I know that assuming something is a certain way is a surefire way to waste a lot of time. I'm sure that everybody has had a conversation along the lines of:
You/them, 'have you checked..?',
You/them, 'it's definitely .....',
You/them, 'yeah, but have you checked it?
You/them, 'oh'
Don't get me wrong, I learn something every time, I just feel that answers that make assumptions can stack the deck against getting the answer right, particularly when the assumption can rule in\out a valid answer.
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
March 26, 2014 at 6:52 am
It's possible that he is in the wrong context, but we'll assume based on the intro that he is in the correct place.
Nope, based on the preamble
first confirming the login exists on the instance and then finding that it does not exist in the database used by the application
it's clear that although he's in the right context, he's checked the wrong database by mistake.
π
March 26, 2014 at 7:51 am
Toreador (3/26/2014)
It's possible that he is in the wrong context, but we'll assume based on the intro that he is in the correct place.
Nope, based on the preamble
first confirming the login exists on the instance and then finding that it does not exist in the database used by the application
it's clear that although he's in the right context, he's checked the wrong database by mistake.
π
I agree, being in the wrong database seemed like a much more likely scenario to me.
Especially since there was no use statement preceding the command.
Had the command included a use statement for the appropriate database, then I would have assumed the more obscure answer since there was no mention of a database restore.
March 26, 2014 at 7:58 am
Since there was no Use statement, being in the wrong database seem to be the most likey answer to me.
March 26, 2014 at 7:59 am
Great question Andy
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 26, 2014 at 8:09 am
Thanks Andy. I enjoy this style of questions you have been doing.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
March 26, 2014 at 8:40 am
Jason, thanks for that. I'm experimenting a little, trying to see what works.
March 26, 2014 at 8:56 am
I have a suggestion: You say:
Theodore saw the error message, made a change, and went back to answering the QOTD.
I think you might have made the description more clear if it said:
Theodore saw the error message, made a change to the script, ran it again, and went back to answering the QOTD.
(I made the wrong guess based on that ambiguity)
Thanks for the QOD. I learned something as usual.
Viewing 15 posts - 1 through 15 (of 26 total)
You must be logged in to reply to this topic. Login to reply