Forum Replies Created

Viewing 15 posts - 2,431 through 2,445 (of 5,678 total)

  • RE: Query help

    Mvs2k11 (10/25/2011)


    Let me know if i m not clear..

    You're not, and you're being very vague with your responses:

    Column.

    Also, you mention 10 partitions, and when asked for a sample of your...


    - 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: Summing Problem.

    jared-709193 (10/25/2011)


    WardyWonderland (10/25/2011)


    bitbucket-25253 (10/25/2011)


    Read this article by Jeff Moden, and its sample T-SQL .. it may be the answer to your question

    http://www.sqlservercentral.com/articles/T-SQL/68467/

    Many thanks guys.

    I have started reading the article...


    - 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: Violating Foreign Keys

    Damn good question, thanks. I'm also glad it was as long as it was, it took me a few re-reads to realize where you were trying to take this...


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

    Heh Tom, I'm with you.

    I still run a Sprint Treo (Palm OS). It's amazing. It makes phone calls and gets my email. When I actually kept a...


    - 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: FInd position of a number in string by using FINDSTRING

    Kramaswamy, my biggest concern with the nested choices are if you have something like:

    aaaaaaaa93aaaaaa.

    3 gets picked up first. You'd have to test for all possibilities and pick the lowest...


    - 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: Comment in update statement causes it to skip second part of update

    Got a semicolon in the comment?

    EDIT: Nevermind, just proved to myself that couldn't be the issue.

    Otherwise, from this basic explanation, no. We'd have to see the offending comment/syntax.

    Though, to...


    - 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 SQL Server DBA salaries going up dramatically?

    Might be a local market boost. I haven't noticed anything significant in the markets I watch.


    - 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: Extracting records with the latest date

    nfpacct (10/24/2011)


    The desired output are the rows that have an * (asterisk). As it contains the latest date.

    Thanks you

    Ah, that helped. Try this:

    select

    ...


    - 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: FInd position of a number in string by using FINDSTRING

    Jeff Moden (10/24/2011)


    I'm not 100% sure about SSIS but, from what I've read, you should be able to use "%[0-9]%" as the "search string" in FINDSTRING. Of course, you'd...


    - 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: Extracting records with the latest date

    So you're looking for the last record by vendor?

    Something like this would work:

    select

    drv.vendor, ca.dateofValue

    FROM

    (SELECT DISTINCT vendor FROM Tbl) AS drv

    CROSS APPLY

    (SELECT TOP 1 Vendor, DateOfValue

    FROM Tbl

    WHERE Vendor = drv.Vendor

    ORDER BY...


    - 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: Help Converting While Loop to true Set Based

    Evil Kraig F (10/24/2011)


    venoym (10/24/2011)


    Kraig,

    I think what it's analyzing is on the whole find all pairs that match DataKey and have opposite Types. Any "orphan" or "single" DataKey is...


    - 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: Help Converting While Loop to true Set Based

    venoym (10/24/2011)


    Kraig,

    I think what it's analyzing is on the whole find all pairs that match DataKey and have opposite Types. Any "orphan" or "single" DataKey is "Not a dup".

    Then...


    - 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: Help Converting While Loop to true Set Based

    Venom, you're using the same theory I am but your method won't deal with generic TransCodes, you'd have to code for each one. I'm assuming this sample is restricted...


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

    L' Eomot Inversé (10/24/2011)


    Evil Kraig F's signature (10/24/2011)


    This space for Rent.

    - Payment will only be accepted in non-mobile Electrons.

    The wonderful thing about non-mobile electrons is that you know their...


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

    Yeesh, what is this, attack of the copy/pasters?


    - 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 - 2,431 through 2,445 (of 5,678 total)