Viewing 15 posts - 631 through 645 (of 1,195 total)
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)
PlateGlass
Dinner
Roll
Butter
(Roll over) Beethoven
(Chuck) Berry
(Twist and) Shout
Yell
Rebel
May 14, 2014 at 4:08 am
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)
PlateGlass
Dinner
Roll
Butter
(Roll over) Beethoven
(Chuck) Berry
May 13, 2014 at 1:16 am
TomThomson (5/8/2014)
Ed Wagner (5/8/2014)
Kurt W. Zimmerman (5/8/2014)
PowderDry
Martini
Glasses
May 9, 2014 at 12:46 am
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)
Zeusdog
Day Afternoon
Beach
Boys
Beatles
Bug
Squish
(y) Boots
Puss (in them)
Kitty
May 7, 2014 at 1:03 am
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
May 6, 2014 at 2:40 am
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...
May 1, 2014 at 3:30 am
ssurekha2000 (5/1/2014)
currently i have
@transfrmdt date,
@transtodt date,
@cid integer,
@Type char(1)
DEClare @strqry varchar(max)
DEClare @str varchar(max)
If...
May 1, 2014 at 3:11 am
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...
April 30, 2014 at 6:26 am
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 ...
April 30, 2014 at 4:48 am
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)
periwinkleBullwinkle
Rocky
Stallone
Rambo
Prism
Edit Stuart...
April 29, 2014 at 1:15 am
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)
periwinkleBullwinkle
Rocky
Stallone
Rambo
Prism
Edit Stuart beat me to...
April 29, 2014 at 12:47 am
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...
April 25, 2014 at 7:41 am
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)
periwinkleBullwinkle
Rocky
Stallone
Rambo
Prism
Edit Stuart beat me to it again
Light
weight
refract (light)
Reflect
April 25, 2014 at 6:50 am
Viewing 15 posts - 631 through 645 (of 1,195 total)