Forum Replies Created

Viewing 15 posts - 2,836 through 2,850 (of 5,504 total)

  • RE: CAlculate debits and credit total in ssrs report

    dbowlin (9/9/2010)


    Apologies. I have had similar problems, I should have thought of this before my answer.

    Usually when I run into this, I have to go back to...

  • RE: T-SQL help to convert rows to columns

    David Burrows (9/9/2010)


    sangeethu (9/9/2010)


    Hi Lutz,

    Thanks for the reply. I have gone through Cross Tab and Dynamic Cross tab and found that it involves aggregation of a column. But in my...

  • RE: Compare Time

    Craig Farrell (9/8/2010)


    LutzM (9/8/2010)


    I would prefer a solution that would be able to benefit from an index on that date column, (snip)

    Lutz, since when does a case statement in a...

  • RE: GIVING THE SPACE

    Would you mind sharing your solution so others might benefit?

  • RE: Compare Time

    I would prefer a solution that would be able to benefit from an index on that date column, or I would add shift table that would specify the period it's...

  • RE: GIVING THE SPACE

    A totally different approach:

    You might want to have a look at one of Jacob Sebastian's TSQL Challenges.

    It might help to look through the various solutions...

    Or, if you already know the...

  • RE: Are the posted questions getting worse?

    Steve Jones - Editor (9/8/2010)


    I think Lutz has some bad karma going. It seems every weird thread I come across with a difficult OP is one in which Lutz is...

  • RE: Are the posted questions getting worse?

    Tom.Thomson (9/8/2010)


    WayneS (9/8/2010)


    How about a table where the PK is on a text datatype? (as are most of the other columns also!)

    Now that I've seen that one, and the one...

  • RE: T-SQL help to convert rows to columns

    Please have a look at the CrossTab article referenced in my signature.

    Give it a try and post back if you get stuck.

    Once you figured how it works you might want...

  • RE: This is SSC related actually

    Funny...

    Now that you actually have an avatar go back to your question and re-read it. After that have a look at the avatar right next to it. 😉

    I know, the...

  • RE: SQL Query

    call4ljw (9/8/2010)


    Like this?

    Almost.

    Just try to run that code on a just created (empty) database in your test environment.

    Most probably you'll get the same message like we do when we try...

  • RE: Help for MS Access homework

    GilaMonster (9/8/2010)


    LutzM (9/8/2010)


    I've seen this very same question (including exactly the same query even down to POPDATA.ANCNUMBER=720) at least a dozen times so far.

    Links?

    As requested:

    SSC1,

    SSC2,

    Several links at phpfreaks.com, go4expert.com, and...

  • RE: hi aggregate text values

    What would be your expected output for

    INSERT INTO @Tbl VALUES(1,1,'A')

    INSERT INTO @Tbl VALUES(1,2,'D')

    INSERT INTO @Tbl VALUES(1,3,'X')

    INSERT INTO @Tbl VALUES(1,4,'A')

  • RE: Help for MS Access homework

    Would you mind telling us where you're located at?

    It seems like a phenomenon...

    I've seen this very same question (including exactly the same query even down to POPDATA.ANCNUMBER=720) at least a...

  • RE: Integration of XQuery and T-SQL

    tonyclifton77 (9/8/2010)


    for the expected output I'd be happy with a simple true or false - as in the exist-method.

    What would be your true or false condition?

Viewing 15 posts - 2,836 through 2,850 (of 5,504 total)