Forum Replies Created

Viewing 15 posts - 1,501 through 1,515 (of 5,678 total)

  • RE: Using Union..but that's wrong..is there an un-union?

    krypto69 (6/8/2012)


    Hi Lynn,

    Thanks for your reply.

    Yep, join sure sounds like what I need.

    How would I go about that type of join?

    Krypto, that would be difficult for us to answer...


    - 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?

    Lynn Pettis (6/8/2012)


    You have to be kidding me.

    OP: I don't want a union. How do I put these two queries together?

    Me: Looks like you need a join.

    OP: ...


    - 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: SSIS variable filename - wildcard

    azdeji (6/8/2012)


    Thank You For the Comprehensive Reply!!!

    Can you help me with one more question releating to folders and Variables?

    Is there any way to retrieve the folder name for...


    - 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?

    Revenant (6/8/2012)


    GilaMonster (6/8/2012)


    I've heard mutterings about using Kinect for that. With it's facial recognition it can lock the computer when you get up, unlock when you sit down.

    Would probably...


    - 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?

    Greg Edwards-268690 (6/7/2012)


    Stefan Krzywicki (6/7/2012)


    Revenant (6/7/2012)


    For an intermedaite or senior BI developer, I would probably add "understanding of business statistics." By that I mean a good grasp of applicability of...


    - 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: Using Union..but that's wrong..is there an un-union?

    What you're looking to do is really return two different recordsets. The first query in a union defines what the field types/names/etc are. This is what we call...


    - 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 convert a string into datetime, if fails return null

    Stewart's method is about the only way in pure T-SQL to perform that task, using IsDate() and then converting or returning null based on the result of IsDate().

    Just make sure...


    - 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: optimize views

    ReginaR1975 (6/5/2012)


    Thank you for the responses. I'll try not to use views. 🙂

    I wouldn't avoid using views, I'd just make sure I understand the limitations of them. The reason...


    - 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?

    GilaMonster (6/5/2012)


    I love the fact that my bank keeps offering me an overdraft1 at reasonable rates, even though I have more than 5 times the overdraft amount in my account....


    - 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: Msg 102, Level 15, State 1, Line 1 Incorrect syntax near '.'.

    We don't have the UserProductivityMapping INNER JOIN Weeks wk...

    Can you copy/paste the result of your print statement? I believe the error's most likely in that, not in your actual...


    - 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: Using temp table to SELECT values from another table

    The method you want is either a Crosstab query or the PIVOT function, but the problem with both of those is you typically want to know how many columns you'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: Creating a procedure to dynamically build an update statement

    ScottPletcher (6/4/2012)


    @scott: By best practice you never store your unencryption mechanisms and your data in the same place. Admittedly, there are times when you may need to work with the...


    - 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: Creating a procedure to dynamically build an update statement

    blampe (6/4/2012)


    As for defining the purpose of this script a little more clearly, this whole thing is being used in an incredibly simple manner. I know that giving users the...


    - 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: Creating a procedure to dynamically build an update statement

    blampe (6/4/2012)


    Disclaimer, I am new to sql and new to these forums so bear with me on this one.

    Not a problem, particularly since you're looking to help yourself and not...


    - 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: Total / average function advice

    Jeff Moden (6/4/2012)


    ScottPletcher (6/4/2012)


    When you create a clustered index, SQL itself will make it UNIQUE if necessary. A clustering key in SQL Server is always UNIQUE -- it must...


    - 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 - 1,501 through 1,515 (of 5,678 total)