Forum Replies Created

Viewing 15 posts - 6,931 through 6,945 (of 10,144 total)

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (12/7/2010)


    Alvin Ramard (12/7/2010)


    Roy Ernest (12/7/2010)


    I am trying to keep my word that I gave to Jeff. I am writing an article on how to have successful net meetings....

  • RE: Selecting a Value of the Order Within a Group

    Better late than never. Last I heard, dkrumholtz was growing organic root crops on a plot outside Seattle.

  • RE: join - on problem

    Kit G (12/2/2010)


    I think you need an alias name for that select statement on the LEFT OUTER JOIN.

    Looks about right to me too.

    Table aliases throughout would be ideal.

  • RE: Error turning Varchar into Numeric

    Hi James

    Firstly, ISNUMERIC() has limitations - it returns true (1) if the value can be converted into a number. SSC has a recent article covering its limitations.

    Secondly, the filters in...

  • RE: SELECT data for today's date

    A Little Help Please (12/7/2010)


    I have a table which has a column called TimeStarted.

    The formate of the date in this column is YYYY-MM-DD HH:MM:SS

    Are you saying the column holds a...

  • RE: Calculate accumulated with the over ()

    alecio (12/6/2010)


    What I need is a sum of values, taking the previous value and adding to the next.

    RANK () OVER (PARTITION BY ORDER BY DATE ASC CODIGO_PESSOA, SUM (VALUE)) THE...

  • RE: Today's Random Word!

    Brandie Tarvin (12/6/2010)


    Flimflam

    Arsenic

  • RE: Calculate accumulated with the over ()

    alecio (12/6/2010)


    How to make a calculation by adding values to the example OVER ... ..

    1 - 10 - 10,

    2 - 20 - 30.

    Can we have a few more sample...

  • RE: Select record with multiple rows in each rank after dense_rank

    SELECT Col1, Col2, Col3, Dense_Rank_Column, COUNT(*)

    FROM (

    Col1 Col2 Col3 Dense_Rank_Column = [Dense_Rank]

    .. .. .. 1

    .. .. .. 2

    .. .. .. 2

    .. .. .. 1

    ) d

    GROUP BY Dense_Rank_Column

    HAVING COUNT(*) >...

  • RE: ISNULL of an INTEGER

    It's an example of implicit conversion

    SELECT CAST('' AS INT)

  • RE: Update with Joins

    Fix the obvious syntax error, then use table aliases throughout the CASE construct.

  • RE: Update with Joins

    UPDATE TEST SET

    B = CASE

    WHEN (CASE WHEN ISNULL(S,0) <> 0 THEN G * H END) = 0 THEN NULL

    ELSE (G + K END)

    END

    FROM TEST T

    INNER JOIN #L TP

    ON

    T.A1...

  • RE: Using CASE in a WHERE clause

    GSquared (12/3/2010)


    Chris Morris-439714 (12/3/2010)


    GSquared (12/3/2010)


    select *

    from dbo.MyTable

    where @Parameter = 'A'

    or (ParentTradeID is not null and @Parameter = 'O')

    or (ParentTradeID is null and @Parameter = 'R');

    Wouldn't that do it?

    Hey Gus,...

  • RE: Cumulative Index

    I'm sorry but it's impossible to understand the requirement here. It's not the language barrier between English and Portuguese, it's the lack of clarity and information. Would you be able...

  • RE: replicating records w/o using a cursor

    Brandie Tarvin (12/3/2010)


    Chris Morris-439714 (12/3/2010)


    What folks often forget about tally tables is that they are a source of rows as well as numbers.

    I've actually used a Tally Table to do...

Viewing 15 posts - 6,931 through 6,945 (of 10,144 total)