Forum Replies Created

Viewing 15 posts - 1,246 through 1,260 (of 1,492 total)

  • RE: Data driven subscriptions. Has anybody implemented it?

    We' re still testing it and most likely it will change.

    Right now we have an issue with storing Parameter values for "Mutliple list".

    Example:

    CURRENCY:

    USD

    CAD

    GBP

    We need to be able to store all...

  • RE: Data driven subscriptions. Has anybody implemented it?

    We use a main table for all subscribers, and another table for each report. So if someone gets more than 1 report, we only have to list them once.

    And you...

  • RE: Nested Case statement

    Posting schema and sample data, along with expected results will help out a lot.

    Sounds like you want Prior Day, MTD, and YTD.

    Although you also have to be careful with MTD...

  • RE: Are the posted questions getting worse?

    Roy Ernest (10/2/2009)


    The water cooler has been too quiet for my liking. I am getting withdrawal symptoms. What is happening? Where is everyone? 🙁

    Offer up some free beer and see...

  • RE: Nested Case statement

    Compare yy, mm, dd of date_closed to getdate()

    Wonder if the OP is even looking anymore?

    Interesting to hear if they think their problem is solved.

    Greg E

  • RE: Nested Case statement

    You are correct.

    When I've done this, it's with a query that starts at the beggining of the year.

    So I don't need to quallify with the year too.

    Greg E

  • RE: Nested Case statement

    Something along these lines...

    sum(case when DATEPART(yy,date_closed) = DATEPART(yy,getdate()) then 1 else 0 end) as 'YTD',

    sum(case when DATEPART(mm,date_closed) = DATEPART(mm,getdate()) then 1 else 0 end) as 'MTD',

    sum(case when DATEPART(dd,date_closed) =...

  • RE: Are the posted questions getting worse?

    Roy Ernest (9/29/2009)


    Telepathy... Thats what you all lack....:-D

    Isn't date_closed = calendardate in the join

    like saying

    1=1?

    So the query is working perfectly.

    And I think I saw a teaser to this effect.....

    Greg...

  • RE: Nested Case statement

    in your join criteria...

    ON CONVERT(VARCHAR(11),date_closed,120) = CONVERT(VARCHAR(11),[CalendarDate],120)

    If you are joining on dates (date_closed to CalendarDate), they will always be the same.

    So all your case staements are effectively =

    DAY - wouldn't...

  • RE: Lock request time out period exceeded

    I agree with the others - until you find the root cause, and know why it's causing the problem, you cannot fix anything.

    What you are doing is like getting a...

  • RE: Are the posted questions getting worse?

    9/11 - a day that I too always take time for a moment of silence and prayers for all the innocent lives lost.

    Something I will never forget.

    Greg E

  • RE: Are the posted questions getting worse?

    Jan Van der Eecken (9/9/2009)


    GilaMonster (9/9/2009)


    Silverfox (9/9/2009)


    No it isnt, Gail made some money by the sounds of it.

    No I didn't. No one local was willing to bet that the pigeon...

  • RE: SQL Service and Agen Service - Fails due to login failure

    Try changing to a completely different account (through the configuration manager), apply, and then change it back to the original credentials.

    Greg E

  • RE: downtime activities

    Another factor can be other systems in the network may already have existing Service Level Agreements. It may not make sense to try and promise up time in the same...

  • RE: Are the posted questions getting worse?

    GilaMonster (8/31/2009)


    There's already duplicate users in the system. We've got at least one case where two people have the same username. Something has to be don e about those and...

Viewing 15 posts - 1,246 through 1,260 (of 1,492 total)