Viewing 15 posts - 301 through 315 (of 355 total)
So you need to cast it like this?
round(cast(5 as float) / cast(3 as float),1)
August 3, 2010 at 3:27 am
WayneS (7/22/2010)
July 22, 2010 at 7:43 pm
WayneS (7/22/2010)
July 22, 2010 at 4:54 am
michael.kaufmann (7/22/2010)
first of all thank you for compiling a QotD.
However, I do not quite agree with the solution.
'Unique' is just taking the definition of a clusterd or non-clustered index a...
July 22, 2010 at 3:45 am
The URL in the explanation didn't say you cannot use a zero -- at least not that I found.
So why can't you use it? If you have IDENTITY INSERTS...
July 15, 2010 at 3:37 am
info 25880 (6/30/2010)
Yes, that's reason, because the result of an implicit casting of '-' is zero
SELECT 6 + 1 + '-'
So if you substitute the '-' with something clearly a...
June 30, 2010 at 2:22 am
I had to guess because I didn't know the ^= operator but I knew all the others. I was lucky that the other three were specific enough that I...
June 21, 2010 at 2:55 am
I too got it right but for the wrong reason. I knew that using Null is Null will always be true (regardless of the setting of ANSI_NULLS) so that's...
June 3, 2010 at 5:06 am
Jack Corbett (5/5/2010)
May 6, 2010 at 2:23 am
ra.shinde (5/3/2010)
I executed all three statement together. Still no error. Getting 1.0
Same here. Looks like another bad question. The explanation was good but the answer is still wrong.
I...
May 4, 2010 at 2:48 am
Steve Jones - Editor (4/16/2010)
cengland0 (4/16/2010)
But how does your company pick a reward that would be wanted by everyone it's given to?
They talk to your manager. He/she should know something...
April 16, 2010 at 7:39 pm
fhanlon (4/16/2010)
April 16, 2010 at 8:54 am
Even if you receive a non-cash reward, don't you still get taxed on the value of the reward?
As an example, the company gives me a cruise to the Bahamas....
April 16, 2010 at 8:09 am
RalphWilson (4/16/2010)
April 16, 2010 at 7:31 am
Viewing 15 posts - 301 through 315 (of 355 total)