Forum Replies Created

Viewing 15 posts - 631 through 645 (of 1,195 total)

  • RE: Today's Random Word!

    BWFC (5/14/2014)


    Ed Wagner (5/13/2014)


    Stuart Davies (5/13/2014)


    crookj (5/12/2014)


    Ed Wagner (5/12/2014)


    Revenant (5/12/2014)


    Ed Wagner (5/12/2014)


    TomThomson (5/12/2014)


    crookj (5/12/2014)


    Plate

    Glass

    Dinner

    Roll

    Butter

    (Roll over) Beethoven

    (Chuck) Berry

    (Twist and) Shout

    Yell

    Rebel

  • RE: Today's Random Word!

    crookj (5/12/2014)


    Ed Wagner (5/12/2014)


    Revenant (5/12/2014)


    Ed Wagner (5/12/2014)


    TomThomson (5/12/2014)


    crookj (5/12/2014)


    Plate

    Glass

    Dinner

    Roll

    Butter

    (Roll over) Beethoven

    (Chuck) Berry

  • RE: Today's Random Word!

    TomThomson (5/8/2014)


    Ed Wagner (5/8/2014)


    Kurt W. Zimmerman (5/8/2014)


    Powder

    Dry

    Martini

    Glasses

  • RE: Today's Random Word!

    BWFC (5/7/2014)


    Litter

    letter

  • RE: Today's Random Word!

    TomThomson (5/6/2014)


    bkmsmith (5/6/2014)


    whereisSQL? (5/6/2014)


    Ed Wagner (5/6/2014)


    SQLRNNR (5/6/2014)


    Revenant (5/6/2014)


    Ed Wagner (5/6/2014)


    crookj (5/6/2014)


    SQLRNNR (5/6/2014)


    Stuart Davies (4/29/2014)


    Zeus

    dog

    Day Afternoon

    Beach

    Boys

    Beatles

    Bug

    Squish

    (y) Boots

    Puss (in them)

    Kitty

  • RE: Datatypes In Your Mind

    Koen Verbeeck (5/5/2014)


    Misread the question and thought the data type was supposed to store negatives as well...

    Need more caffeine.

    +1 - and first day back after a long weekend

  • RE: forming a dynamic query

    What is the result of print @str ?

    I think it will be empty as you are building @strqry up with a potential outcome that it will be null. When you...

  • RE: forming a dynamic query

    ssurekha2000 (5/1/2014)


    have a sp with 4 parameters the values of this parameters is obtained from application

    currently i have

    @transfrmdt date,

    @transtodt date,

    @cid integer,

    @Type char(1)

    DEClare @strqry varchar(max)

    DEClare @str varchar(max)

    If...

  • RE: Rounding off a percentage result

    Re-reading you original post, a couple of questions for you.

    What are the SLAHours and TotalDownTime values stored as (integer, decimal etc)? and what result are you expecting - 99.00294, 99.00,99...

  • RE: Rounding off a percentage result

    How about

    SELECT CONVERT(DECIMAL(4, 2), CAST(NULLIF(t.SLAHours, 0) - t.TotalDownTime AS REAL)

    / CAST(NULLIF(t.SLAHours, 0) AS REAL) * 100) AS [%Availability]

    FROM ...

  • RE: Today's Random Word!

    BWFC (4/30/2014)


    Heracles

    Labour

    Work

  • RE: Today's Random Word!

    BWFC (4/29/2014)


    Stuart Davies (4/29/2014)


    Ed Wagner (4/28/2014)


    whereisSQL? (4/28/2014)


    crookj (4/28/2014)


    BWFC (4/27/2014)


    rhythmk (4/25/2014)


    Ed Wagner (4/25/2014)


    TomThomson (4/25/2014)


    BWFC (4/25/2014)


    Stuart Davies (4/25/2014)


    crookj (4/25/2014)


    TomThomson (4/25/2014)


    Ed Wagner (4/25/2014)


    BWFC (4/25/2014)


    crookj (4/23/2014)


    Ed Wagner (4/23/2014)


    Revenant (4/23/2014)


    Ed Wagner (4/23/2014)


    SQLRNNR (4/23/2014)


    periwinkle

    Bullwinkle

    Rocky

    Stallone

    Rambo

    Prism

    Edit Stuart...

  • RE: Today's Random Word!

    Ed Wagner (4/28/2014)


    whereisSQL? (4/28/2014)


    crookj (4/28/2014)


    BWFC (4/27/2014)


    rhythmk (4/25/2014)


    Ed Wagner (4/25/2014)


    TomThomson (4/25/2014)


    BWFC (4/25/2014)


    Stuart Davies (4/25/2014)


    crookj (4/25/2014)


    TomThomson (4/25/2014)


    Ed Wagner (4/25/2014)


    BWFC (4/25/2014)


    crookj (4/23/2014)


    Ed Wagner (4/23/2014)


    Revenant (4/23/2014)


    Ed Wagner (4/23/2014)


    SQLRNNR (4/23/2014)


    periwinkle

    Bullwinkle

    Rocky

    Stallone

    Rambo

    Prism

    Edit Stuart beat me to...

  • RE: SQL Query - convert multiple rows and columns into single row

    David Burrows (4/25/2014)


    SELECT

    'Type'[Type]

    ,SUM(CASE WHEN code='09' THEN Amt/100 ELSE 0 END) AS [Col1]

    ,SUM(CASE WHEN code='10' THEN Amt/100 ELSE 0 END) AS [Col2]

    ,SUM(CASE WHEN code='11' THEN Amt/100 ELSE...

  • RE: Today's Random Word!

    crookj (4/25/2014)


    TomThomson (4/25/2014)


    Ed Wagner (4/25/2014)


    BWFC (4/25/2014)


    crookj (4/23/2014)


    Ed Wagner (4/23/2014)


    Revenant (4/23/2014)


    Ed Wagner (4/23/2014)


    SQLRNNR (4/23/2014)


    periwinkle

    Bullwinkle

    Rocky

    Stallone

    Rambo

    Prism

    Edit Stuart beat me to it again

    Light

    weight

    refract (light)

    Reflect

Viewing 15 posts - 631 through 645 (of 1,195 total)