|
|
|
Say Hey Kid
      
Group: General Forum Members
Last Login: Friday, April 26, 2013 11:57 AM
Points: 708,
Visits: 660
|
|
I thought I might get it wrong, but not only was I wrong, but for the wrong reason. Learned something. Thanks for the question.
I shocked that no one has chimed in with a gripe that the Server Version wasn't mentioned, or any default configurations.
Dan
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Tuesday, February 12, 2013 3:20 PM
Points: 528,
Visits: 399
|
|
Very good question. I guess the moral of the story is to always be precise and specify the full path to any object in order to avoid "default" assumptions. Boy, I've made this mistake before.
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Yesterday @ 2:31 PM
Points: 3,418,
Visits: 3,438
|
|
| I did not notice the Sysadmin role. Gotta' read the whole question I guess.
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Yesterday @ 3:33 PM
Points: 1,654,
Visits: 10,864
|
|
Great question! That's the kind of issue that would cause the loss of much hair if I'd have to figure it out in a production environment.
Rob Schripsema Accelitec, Inc
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Tuesday, June 04, 2013 8:50 AM
Points: 862,
Visits: 1,440
|
|
I'll be sincere: I didn't know exactly what to choose. I got it right after some time thinking but my reason was different from the answer.  I guess I'm just lucky.
And maybe the "EXECUTE AS LOGIN" deserve an article?
Thanks a lot. Very tricky.
Best regards,
Andre Guerreiro Neto
Database Analyst http://www.softplan.com.br MCITPx1/MCTSx2
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Monday, May 13, 2013 8:27 PM
Points: 15,
Visits: 59
|
|
Nice questions from which i learned more about schemas.. Never knew Schema has this much to do..
__________________________________________________________ Yuvaraj
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Today @ 8:26 AM
Points: 3,164,
Visits: 4,344
|
|
Good question, with a nice twist. really had to stretch the grey matter arround the "execute as" bit.
____________________________________________ Space, the final frontier? not any more... All limits henceforth are self-imposed. “libera tute vulgaris ex”
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Thursday, February 21, 2013 6:30 AM
Points: 562,
Visits: 1,404
|
|
As with Cliff, I glanced over the important bit.
I must read the question completely. I must read the question completely. I must read the question completely. I must read the question completely. . . .
------------------------------------------------------------------------- Normal chaos will be resumed as soon as possible.
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Today @ 8:11 AM
Points: 5,296,
Visits: 7,237
|
|
Good question. I read it twice, thinking it could not be this simple. Then I submitted my answer and found it wasn't.
Thanks for teaching me something new!
Hugo Kornelis, SQL Server MVP Visit my SQL Server blog: http://sqlblog.com/blogs/hugo_kornelis
|
|
|
|