Forum Replies Created

Viewing 15 posts - 7,396 through 7,410 (of 10,144 total)

  • RE: Are the posted questions getting worse?

    CirquedeSQLeil (9/15/2010)


    Brandie Tarvin (9/15/2010)


    [font="Verdana"]We're sorry. The user you are attempting to contact has been smited for biltong blasphemy. Please try your post again later.[/font]

    [font="Verdana"]We're sorry. The user you are attempting...

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (9/15/2010)


    GilaMonster (9/15/2010)


    Chris Morris-439714 (9/15/2010)


    Paul White NZ (9/15/2010)


    Chad Crawford (9/14/2010)


    If only you and DEAD people can read Hex, how many people can read Hex?

    Don't know. But I...

  • RE: Are the posted questions getting worse?

    Paul White NZ (9/15/2010)


    Chad Crawford (9/14/2010)


    If only you and DEAD people can read Hex, how many people can read Hex?

    Don't know. But I do know what an expired...

  • RE: Today's Random Word!

    wiggles

  • RE: I want optimize the store procedure-It's take more time to excecute by use while loop

    It's really inefficient code. Try this:

    INSERT INTO #dgclassNew (eqpid, book_no, flag, dgclass)

    SELECT d.cno, d.bno, d.flag, iTVF.dgclass

    FROM @dgclassunique d

    CROSS APPLY

    (SELECT CAST(dgclass AS VARCHAR) + ','

    FROM @dgclassunique

    WHERE cno =...

  • RE: Are the posted questions getting worse?

    Tom.Thomson (9/15/2010)


    Stefan Krzywicki (9/14/2010)


    CirquedeSQLeil (9/14/2010)


    Alvin Ramard (9/14/2010)


    GilaMonster (9/14/2010)


    Grant Fritchey (9/14/2010)


    GilaMonster (9/14/2010)


    Lynn Pettis (9/14/2010)


    The key to arguing with GilaMonster (or anyone for that matter) is:

    A) Admit when you are wrong.

    B) If...

  • RE: count on several colum

    ilbric-762008 (9/15/2010)


    Well, simply perfect!!

    Actually I have a question... could you explain the following row, the first in the CTE statement?

    SELECT [ColumnName] =...

  • RE: count on several colum

    If you're unsure about any part of this, just ask 🙂

    -- sample data (not part of the solution)

    DROP TABLE #Sample

    CREATE TABLE #Sample

    ...

  • RE: count on several colum

    There are numerous ways of getting the aggregates that you need, but how do you expect the output to look? If you run this, then you'll see what I mean:

    DROP...

  • RE: Try...Catch not catching

    I tried a slightly different tack, thinking that perhaps the conditional was screwed by the lack of a BEGIN-END block around the TRY-CATCH:

    DECLARE @Splitter BIT

    SET @Splitter = 1

    IF @Splitter =...

  • RE: Today's Random Word!

    Brandie Tarvin (9/14/2010)


    pastries.

    @sigh. Trying desperately to behave today.

    Why get bored and give yourself a headache when you could be having fun?

  • RE: Are the posted questions getting worse?

    Will The Thread be affected by the steeply-rising cost of cotton? Maybe...just a bit? 😀

  • RE: Needa Query to filter the matching records

    Left join table B to table a. Nothing could be simpler.

  • RE: adding Column

    cpinky01 (9/10/2010)


    Thank you for your reply.

    I got waht i wanted by using substring.

    Thanks once agin for your reply.

    @steve-2: I don't know about you but I'm totally lost.

  • RE: adding Column

    Please edit the following code so that the values exactly match your table:

    IF OBJECT_ID( 'tempdb..#MyTable') IS NOT NULL DROP TABLE #MyTable

    CREATE TABLE #MyTable (PeriodDescription VARCHAR(20))

    INSERT INTO #MyTable (PeriodDescription)

    SELECT 'Q1 2009'...

Viewing 15 posts - 7,396 through 7,410 (of 10,144 total)