﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by Nils Gustav Stråbø  / default schema trouble / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Tue, 21 May 2013 05:11:39 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: default schema trouble</title><link>http://www.sqlservercentral.com/Forums/Topic959815-2749-1.aspx</link><description>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!</description><pubDate>Sun, 01 Aug 2010 15:38:53 GMT</pubDate><dc:creator>Hugo Kornelis</dc:creator></item><item><title>RE: default schema trouble</title><link>http://www.sqlservercentral.com/Forums/Topic959815-2749-1.aspx</link><description>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....</description><pubDate>Thu, 29 Jul 2010 08:16:35 GMT</pubDate><dc:creator>John McC</dc:creator></item><item><title>RE: default schema trouble</title><link>http://www.sqlservercentral.com/Forums/Topic959815-2749-1.aspx</link><description>Good question, with a nice twist.really had to stretch the grey matter arround the "execute as" bit.</description><pubDate>Thu, 29 Jul 2010 00:08:11 GMT</pubDate><dc:creator>Stewart "Arturius" Campbell</dc:creator></item><item><title>RE: default schema trouble</title><link>http://www.sqlservercentral.com/Forums/Topic959815-2749-1.aspx</link><description>Nice questions from which i learned more about schemas.. Never knew Schema has this much to do..</description><pubDate>Thu, 29 Jul 2010 00:01:19 GMT</pubDate><dc:creator>Yuvaraj S-467280</dc:creator></item><item><title>RE: default schema trouble</title><link>http://www.sqlservercentral.com/Forums/Topic959815-2749-1.aspx</link><description>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. :-DI guess I'm just lucky.And maybe the "EXECUTE AS LOGIN" deserve an article?Thanks a lot. Very tricky.:hehe:</description><pubDate>Wed, 28 Jul 2010 20:20:08 GMT</pubDate><dc:creator>codebyo</dc:creator></item><item><title>RE: default schema trouble</title><link>http://www.sqlservercentral.com/Forums/Topic959815-2749-1.aspx</link><description>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.</description><pubDate>Wed, 28 Jul 2010 13:14:02 GMT</pubDate><dc:creator>Rob Schripsema</dc:creator></item><item><title>RE: default schema trouble</title><link>http://www.sqlservercentral.com/Forums/Topic959815-2749-1.aspx</link><description>I did not notice the Sysadmin role. Gotta' read the whole question I guess.</description><pubDate>Wed, 28 Jul 2010 10:07:59 GMT</pubDate><dc:creator>Cliff Jones</dc:creator></item><item><title>RE: default schema trouble</title><link>http://www.sqlservercentral.com/Forums/Topic959815-2749-1.aspx</link><description>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. :-)</description><pubDate>Wed, 28 Jul 2010 09:37:09 GMT</pubDate><dc:creator>wbeaton-664441</dc:creator></item><item><title>RE: default schema trouble</title><link>http://www.sqlservercentral.com/Forums/Topic959815-2749-1.aspx</link><description>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</description><pubDate>Wed, 28 Jul 2010 09:19:55 GMT</pubDate><dc:creator>Dan Guzman - Not the MVP</dc:creator></item><item><title>RE: default schema trouble</title><link>http://www.sqlservercentral.com/Forums/Topic959815-2749-1.aspx</link><description>that was a real thinker, got it wrong, but learned someth9ing new. thanks!</description><pubDate>Wed, 28 Jul 2010 08:39:38 GMT</pubDate><dc:creator>forjonathanwilson</dc:creator></item><item><title>RE: default schema trouble</title><link>http://www.sqlservercentral.com/Forums/Topic959815-2749-1.aspx</link><description>Good one. execute as Login is new to me.  Hadn't tried as of yet, but would definitely suggest developers to use this while working with multiple schemas.</description><pubDate>Wed, 28 Jul 2010 07:57:39 GMT</pubDate><dc:creator>SanjayAttray</dc:creator></item><item><title>RE: default schema trouble</title><link>http://www.sqlservercentral.com/Forums/Topic959815-2749-1.aspx</link><description>Soon as I hit the submit button, knew I was wrong.  I've been working alot lately with schema specific tables and when I saw that the select statement had no schema prefix, of course I thought I'd get an error.Stupid.  Oh well.  Good question</description><pubDate>Wed, 28 Jul 2010 07:57:04 GMT</pubDate><dc:creator>Brnbngls</dc:creator></item><item><title>RE: default schema trouble</title><link>http://www.sqlservercentral.com/Forums/Topic959815-2749-1.aspx</link><description>Cindy, glad to hear that you got something out of the qotd even if you knew the answer to the actual question :-)</description><pubDate>Wed, 28 Jul 2010 07:02:52 GMT</pubDate><dc:creator>Nils Gustav Stråbø</dc:creator></item><item><title>RE: default schema trouble</title><link>http://www.sqlservercentral.com/Forums/Topic959815-2749-1.aspx</link><description>Thanks for the question.  I've done a lot work with schemas, so I was confident in my selection of the answer.  The interesting part of this QoD for me was the [b]execute as login='qotd'[/b] statement.  Didn't know this one and I'm now kicking myself for how much time I could have saved in the past if I had known this.  This one is going in my personal "tips" cheat-sheet.Cindy</description><pubDate>Wed, 28 Jul 2010 06:46:22 GMT</pubDate><dc:creator>CavyPrincess</dc:creator></item><item><title>RE: default schema trouble</title><link>http://www.sqlservercentral.com/Forums/Topic959815-2749-1.aspx</link><description>Good question.  I was wondering if the admin role had an impact.  Apparently it did.  Thanks.:-)</description><pubDate>Wed, 28 Jul 2010 06:45:48 GMT</pubDate><dc:creator>Daniel Bowlin</dc:creator></item><item><title>RE: default schema trouble</title><link>http://www.sqlservercentral.com/Forums/Topic959815-2749-1.aspx</link><description>nice question. got to know something new today... thanks :-)</description><pubDate>Wed, 28 Jul 2010 00:32:38 GMT</pubDate><dc:creator>ziangij</dc:creator></item><item><title>RE: default schema trouble</title><link>http://www.sqlservercentral.com/Forums/Topic959815-2749-1.aspx</link><description>Thanks for the question.</description><pubDate>Tue, 27 Jul 2010 22:51:35 GMT</pubDate><dc:creator>SQLRNNR</dc:creator></item><item><title>RE: default schema trouble</title><link>http://www.sqlservercentral.com/Forums/Topic959815-2749-1.aspx</link><description>Nice question, I knew it wasn't as simple as I first thought, and while I chose the correct answer I didn't want it to be correct. ;-)</description><pubDate>Tue, 27 Jul 2010 22:09:51 GMT</pubDate><dc:creator>UMG Developer</dc:creator></item><item><title>default schema trouble</title><link>http://www.sqlservercentral.com/Forums/Topic959815-2749-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/questions/T-SQL/70405/"&gt;default schema trouble&lt;/A&gt;[/B]</description><pubDate>Tue, 27 Jul 2010 22:05:31 GMT</pubDate><dc:creator>Nils Gustav Stråbø</dc:creator></item></channel></rss>