Viewing 15 posts - 1,096 through 1,110 (of 1,240 total)
gpascanu (4/11/2014)
I have the following values in a Float column
266.5
280.98
127.558
How do I set the precision in a SELECT? I need to display two digits after the decimal point. My problem...
April 11, 2014 at 2:47 am
TomThomson (4/10/2014)
Ed Wagner (4/10/2014)
Kurt W. Zimmerman (4/10/2014)
Revenant (4/10/2014)
Ed Wagner (4/10/2014)
SQLRNNR (4/10/2014)
trackerHunt
Dogs
Sun
Set
Up
Charm
Stuart beat me to it!
Feeder
Club
April 11, 2014 at 1:24 am
BWFC (4/10/2014)
April 10, 2014 at 5:19 am
With the Numeric data type, the first digit in the bracket gives the maximum number of digits for the complete figure and the second is the maximum number of digits...
April 10, 2014 at 4:54 am
milos.radivojevic (4/8/2014)
BWFC (4/8/2014)
That solution works but will give an error if the string consists of only numerals.
Thank you BWFC for the correction!
A great thing in this forum is whenever...
April 8, 2014 at 8:00 am
That solution works but will give an error if the string consists of only numerals.
declare @rowstring as varchar(max) = '1251596483'
select
case
when isnumeric(@rowstring) = 1 then @rowstring
else
REVERSE(
SUBSTRING(REVERSE(@rowstring),PATINDEX('%[0-9]%',
REVERSE(@rowstring)),PATINDEX('%[^0-9]%',
SUBSTRING(REVERSE(@rowstring),(PATINDEX('%[0-9]%', REVERSE(@rowstring))),LEN(@rowstring)))-1))
end
That will...
April 8, 2014 at 5:58 am
Ed Wagner (4/7/2014)
TomThomson (4/4/2014)
Revenant (4/4/2014)
SQLRNNR (4/4/2014)
mishkaGrishka
Shishka
Bob
Shilling
April 7, 2014 at 5:22 am
Kurt W. Zimmerman (4/3/2014)
SQLRNNR (4/3/2014)
Ed Wagner (4/3/2014)
crookj (4/3/2014)
Revenant (4/3/2014)
Ed Wagner (4/3/2014)
JAZZ Master (4/3/2014)
SQLRNNR (4/3/2014)
rigoloLaugh
Cry
Baby
Girl
Daddy
Mommy
matriarch
Patriarch
April 4, 2014 at 1:26 am
Ed Wagner (4/1/2014)
TomThomson (4/1/2014)
crookj (4/1/2014)
Ed Wagner (4/1/2014)
SQLRNNR (4/1/2014)
breadDough
Won
Lost
Dog
Day
April 2, 2014 at 1:37 am
http://www.bbc.co.uk/news/technology-26822315
It seems to be a theme
April 1, 2014 at 4:04 am
Kurt W. Zimmerman (3/31/2014)
knucklehead
Drummer Caveman
March 31, 2014 at 9:01 am
TomThomson (3/28/2014)
Kurt W. Zimmerman (3/28/2014)
MicroScope
Scale
March 31, 2014 at 1:17 am
It's possible that he is in the wrong context, but we'll assume based on the intro that he is in the correct place.
I'm admittedly a bit of a newbie...
March 26, 2014 at 4:58 am
Viewing 15 posts - 1,096 through 1,110 (of 1,240 total)