Forum Replies Created

Viewing 15 posts - 631 through 645 (of 5,678 total)

  • RE: Enforcing From and To Date parameters to be either NULL or have a value

    RexHelios (5/29/2013)


    I am passing these to a stored procedure call. If I set it at the SSRS parameter, it will either accept NULL or not. What I need is, 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: Enforcing From and To Date parameters to be either NULL or have a value

    For your dataset query, are you using a text command type or stored procedure?

    EDIT: I should have been more clear. You can set the parameter in the node 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: How to keep two fields in sync with one another?

    I'm... confused I think.

    Can you list out your schema and some sample data in a consumable format, along with the triggers you've built so far? It would be far...


    - 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: Paging in SSRS report with huge result set

    Not directly, at least not with SSRS. You'd need more of an interface to pass down parameters for rowcounts and starting rows to a proc which would restrict 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: Are the posted questions getting worse?

    The Dixie Flatline (5/29/2013)


    If 42 is the answer (to life, the universe, and everything), what is the question?

    How many mice did the cats eat before the mice stopped being sentient?


    - 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: Process flow not functioning properly in stored proc

    I believe the order of operations is what's confusing you, along with a secondary syntax for IF.

    There are two ways to write an IF:

    IF 1=1

    PRINT 'One Command Only Active'

    BEGIN

    PRINT...


    - 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: Stored Proc with temp table issue.

    I was about to suggest that then realized you'd found your answer as I read down.

    There are two things you always do for any stored procedure that's more complex than...


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

    There is no countdown, there is only Zuul...


    - 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: What is Functional DBA?

    Michael Valentine Jones (5/29/2013)


    Are there Non-Functional DBAs?

    Yes, but the one I have in mind hasn't posted here in a while and I'm afraid to invoke his name.


    - 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: JOIN Issues

    Out of curiosity, can you move category_id up to #rateheader? That seems like the most logical place for it long-term, and means you won't end up with one...


    - 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: JOIN Issues

    brickpack (5/24/2013)


    Let me rephrase that...I'm actually looking for the total number of product *rates* for each product category. That's why I've included the custrate table in the example. 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: JOIN Issues

    Well, I think this gets you where you need to be:

    SELECT

    c.Category_Name,

    COUNT(*) AS Total

    FROM

    (SELECT DISTINCT

    category_id,

    rg_id

    FROM

    #rate

    ) AS drv

    JOIN

    #product_category AS c

    ONdrv.Category_id = c.Category_id

    GROUP BY

    c.Category_Name

    I converted things to #tables so if you need those:

    CREATE...


    - 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: range and count of users

    Without sample schema and data we're trying to offer you ideas, not perfect error free code.

    If you would like us to be able to provide solutions that are (nearly) guaranteed...


    - 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: JOIN Issues

    *scratches head*

    Okay, you've officially confused me... and I thought I understood it, so bear with me. Is my assumption correct that the rate table has a 'minimum bought' column...


    - 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: XML, SSIS, and counting Tags

    For the love of gods...

    THANK YOU. 😀

    I owe you a beer. Or ten.


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