Forum Replies Created

Viewing 15 posts - 5,446 through 5,460 (of 5,678 total)

  • RE: Optimise multiple joins between two tables

    chris.king (9/28/2010)


    Thanks guys.

    I guess I'll have to live with the seven joins.

    The only other option would be to de-normalise the data from Table B into Table A.

    Chris

    If the data from...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Deny network access to a named instance

    Can you alter the database engine/remote connections to local connections only via the surface area configuration? Will this work for the MDSE engine?

    Best I can come up with. ...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Optimization strategy?!

    Double post, sorry. Dunno how I pulled that off.


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Optimization strategy?!

    jordantx (9/24/2010)


    Thanks for the replies so far...

    The Widgets table has no clustered index. The WidgetDate field is the single most relevant column for searching/querying, however it can change often...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: There is insufficient system memory in resource pool 'default' to run this query

    Not sure what all you've looked into yet, sure you've exhausted a lot, buuut:

    Is there a lot of databases on this server? http://support.microsoft.com/kb/316749 (near the bottom)

    Looking at the error log...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Get min and max rows without a cursor

    ken.trock (9/24/2010)


    For now, nothing 😀 My report will produce counts in a given month for before and after the 1st ESN change in that month.

    Ken

    So this also needs to be...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Optimization strategy?!

    jordantx (9/24/2010)


    In the temp table version of my code, will SQL Server limit the rows it reads from Widgets to only those which are also in #tmpIDs BEFORE it tries...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: How to add summery to pivot table ?

    Heh, sorry, for summary by column do all your row summary/setup the entire structure, then union to the tail (adding a hardvalued sortby column, per query, if necessary, to keep...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: How to add summery to pivot table ?

    Well, with no code, this is generic, but basically, put in a column that will add headers.

    For example, if you pivoted across MON/TUE/WED/THU/FRI, and now want TOTAL, you'd put

    [MON]+[TUE]+[WED]+[THU]+[FRI]...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Timeout expired due to an opened transaction

    Sean: I've done ISS/SQL combined boxes before for dedicated apps/vendor apps before. It's not the optimal solution but it's doable if your userload isn't high. It's a special...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Timeout expired due to an opened transaction

    as-534320 (9/24/2010)


    The transaction is started by a method in a c# .net apllication, and then several methods that uses several stored procedures in database are called, using the same trasaction....


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Great Service – All About Attitude

    There's a catch-22 to being a DBA/SQL Server person and trying to instill 'customer service'. I agree, when the priority issue comes up and you've got the flying circle...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: I need some help with a test, please.

    Gentlemen, a thank you for doing this entire thread publically. I'm relatively sure my brain is attempting an escape as I try to keep up with your experience and...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are the posted questions getting worse?

    I got used to NY drivers. I drove a rig in the tri-state for a bit, and grew up there. They're not so bad, they're predictable. They're...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are the posted questions getting worse?

    Jeff Moden (9/21/2010)


    Alvin Ramard (9/21/2010)


    GilaMonster (9/21/2010)


    Shawn Melton (9/21/2010)


    I like this one:

    Knock Knock

    Who's There?

    sp underscore

    sp underscore who?

    spid1, spid2, spid3....

    I told that one at a dinner at the PASS Summit a few...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

Viewing 15 posts - 5,446 through 5,460 (of 5,678 total)