Forum Replies Created

Viewing 15 posts - 421 through 435 (of 465 total)

  • RE: Query tuning - Left Join vs. Inner Join vs. main table select

    GilaMonster (6/4/2012)


    See the link I posted.

    Sorry, Gail, my display didn't refresh before I posted that reply to Luis. Looking at that now...

  • RE: Query tuning - Left Join vs. Inner Join vs. main table select

    Luis Cazares (6/4/2012)


    Unless there's something else missing in the requirements that you haven't shared with us.

    Yes, there is. As I mentioned in the original post, these queries are extremely simplified...

  • RE: Query tuning - Left Join vs. Inner Join vs. main table select

    GilaMonster (6/4/2012)


    Ok, now I see the difference...

    Sorry, I ran out for some food.

    That's changed the logical meaning of the query. The first query is a left join, the filter is...

  • RE: Limit stored procedure rights

    GilaMonster (5/31/2012)


    Read up on EXECUTE AS.

    Got it - that's exactly what I need. Thanks for the kick in the right direction.

  • RE: The User Defined Server Roles in SQL Server 2012

    2008 lets you define custom roles - whats different here, besides the new graphic interface?

  • RE: Reuse view?

    GilaMonster (5/28/2012)


    Please, please don't trust those index suggestions. They're made on the basis of a single query and if you follow them blindly without testing or considering the rest of...

  • RE: Reuse view?

    GilaMonster (5/28/2012)


    pdanes (5/28/2012)


    No, it won't, because during simplification (also part of parsing) that query would be further reduced to just...

    You can see that if you run that query and look...

  • RE: Reuse view?

    GilaMonster (5/28/2012)


    The term you're looking for is 'materialise'

    Sorry, sloppy terminology. I do try to use correct wording, but I slipped on this one.

    SQL doesn't materialise views when running queries. Views...

  • RE: Reuse view?

    Andy Hyslop (5/28/2012)


    Don't get me wrong we do use views where appropriate I suppose I'm just a little more cautious these days (and maybe a little jaded ;-)) when it...

  • RE: Reuse view?

    GilaMonster (5/28/2012)


    pdanes (5/28/2012)


    If I make a special view for each join, listing only the fields needed in that particular case, I will have no excess ballast, but SQL Server will...

  • RE: Reuse view?

    Andy Hyslop (5/28/2012)


    so please spare me the 'Post your SQL' spankings

    Not a good way to ask for help or advice!! 😉

    Maybe not, but I often get that in response to...

  • RE: General Qestions

    Eugene Elutin (5/24/2012)


    P.S. There is an universal solution to stop queries running forever:

    Ask electrician to connect your server room power supply via your floor light switch, so when the...

  • RE: IN versus Equals

    Okay, got it. Thank you both, maybe I was thinking about the error 8623 mentioned on that page. Not a problem in my case, there can never be more...

  • RE: IN versus Equals

    According to BOL, an IN clause is the same as the different elements with OR constraints.

    Oh? I didn't know that, and I seem to remember reading that multiple ORs are...

  • RE: Time for Your Career

    I sometimes feel like all I'm doing is learning new things. And as soon as I do learn something, it's on to some other project and what I just learned...

Viewing 15 posts - 421 through 435 (of 465 total)