Viewing 15 posts - 421 through 435 (of 660 total)
sum(cast(t.duration as float(5,1))/360000) as Duration ,result is 12.41
sum(convert(decimal(8,1),(t.duration)/360000)) as Duration, result is 6.0
12.41 is the correct value. but i just need to display only 12.4.
according to the second conversion the...
February 5, 2008 at 10:08 am
I want to divide duration/360000 and the value returned shud have only one decimal point .
If the value returned is 51.000001, i need just 51.0
February 5, 2008 at 9:39 am
I tried it already but the values i got are different
15.0
6.0
7.0
6.0
39.0
0.0
I want to divide duration/360000 and the value returned shud have one decimal point
February 5, 2008 at 8:18 am
when am doing this
sum(convert(decimal(8,1),t.duration)/360000) as Duration
am getting
51.00000000
12.40000000
30.80000000
15.00000000
48.10000000
1.60000000
but i need only 1 decimal point
February 5, 2008 at 8:02 am
I am not sure why am not getting the result as expected though am trying to test with known result.
Hey guys have you tried doing this, is it working?
everytime I...
January 23, 2008 at 8:29 am
if this is not getting result,is there a way to find a table or column name which was recently updated or recently inserted a row
thanks
January 22, 2008 at 11:12 am
tried with some other sample date where i know the table and column name but its not giving nay result in the temp table.
January 22, 2008 at 11:01 am
when in ran that query i gives me an error saying invalid object name for most of the tables though the table name is correct
January 22, 2008 at 10:22 am
sample data is exact like.the size of the DB wud be 900MB
If its not possible, i wud like to know how can i can find a table which is updated...
January 22, 2008 at 9:36 am
yeah i nkow how to check if i have some idea about the column, i just have some piece of date and need find where it is stored.
January 22, 2008 at 8:59 am
Viewing 15 posts - 421 through 435 (of 660 total)