Forum Replies Created

Viewing 15 posts - 391 through 405 (of 5,678 total)

  • RE: Not sure how to transpose a table like this...

    The keywords you want to use to search for are either PIVOT or CROSSTAB. Either method will work for you.


    - 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: Is there a way to generate a list of dates based on date ranges in another table?

    Can we see the DDL for these tables, and if you have one available, the actual execution plan of what you've written up so far that's running poorly?

    Do you have...


    - 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: Need help with this query

    Luis Cazares (2/19/2014)


    sql2k8 (2/19/2014)


    I have to rewrite the code in another language. This correlated subquery is not working in the another language. So i am trying to rewrite the code...


    - 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: Columns in primary key

    N_Muller (2/19/2014)


    Does anyone know the real-world trade-off between narrower PK (ID1 and IndexID) and more granular PK (ID1, ID2, ID3 and IndexID)?

    Yeah, a smaller index. Also, you can't get...


    - 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: Calling ALL Experts...SSIS Package keep failing in Debug Mode..SQL 2005

    lektri1 (2/19/2014)


    The source system is a set of tables from a software call Cimpro...not sure if anyone has ever heard of that

    Tl

    Sorry, I should have been more clear. What's...


    - 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: Is there a way to generate a list of dates based on date ranges in another table?

    Tally Table is perfect for this. Hit the link in my signature on it.


    - 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: Calling ALL Experts...SSIS Package keep failing in Debug Mode..SQL 2005

    lektri1 (2/19/2014)


    Thanks I'll try that...I told my boss that I will do some research on the matter, I just don't want to comeback empty handed

    Ah, that's a VERY different statement,...


    - 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: Calling ALL Experts...SSIS Package keep failing in Debug Mode..SQL 2005

    Your problem is at the top of the stack.

    lektri1 (2/19/2014)


    "Error: 0xC0047062 at Data Flow Task, Source - Query [1]: System.OverflowException: Arithmetic operation resulted in an overflow.

    There's something in the source...


    - 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 Newbie Here With Question

    elee1969 (2/19/2014)


    How would i do this? in the sql query or is there some where ssis i can do this? Sorry for all the questions.

    You would do this in either...


    - 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 Newbie Here With Question

    elee1969 (2/19/2014)


    Evil Kraig F (2/19/2014)


    elee1969 (2/19/2014)


    My first question is within the query it grabs data with a year date of 2015. Next july 1st the users would need it 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 the posted questions getting worse?

    Congratz Jason. May you have many more years of helping people here.


    - 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 Newbie Here With Question

    elee1969 (2/19/2014)


    My first question is within the query it grabs data with a year date of 2015. Next july 1st the users would need it to change to 2016. ...


    - 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: Employee Time Use Analysis

    justin.jones 30639 (2/18/2014)


    Not only is this to look for performance metrics, but also to look for data integrity issues.

    Thank you for the quick response! I can definitely work through...


    - 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: Employee Time Use Analysis

    Just so you know, your data's a hair off, the start times seem a little out of sync (See rn #3 for 1439), but this is the basic gist:

    /*

    CREATE TABLE...


    - 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: Simple Tsql scenario - Please help

    LameAss2DataBadAss (2/18/2014)


    @craig-2

    If March doesnt have data and in case this procedure runs for the first ever run in March, nothing happens with my code.

    Right, so what's the problem? ...


    - 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 - 391 through 405 (of 5,678 total)