Viewing 15 posts - 1 through 15 (of 28 total)
As I remember, table names are stored as a sysname column, and looking at the Technet page for special data types https://technet.microsoft.com/en-us/library/ms191240(v=sql.105).aspx it states
sysname is functionally the same as...
July 26, 2016 at 1:26 am
I may have misunderstood, but the Explanation states
If the input value cannot be converted to the resulting type, then an error is returned.
Looking at the MSDN article, it says
Returns a...
March 18, 2016 at 2:14 am
I'm confused.
In the question we have the following 2 lines
SELECT @sDayName = LEFT(UPPER(LTRIM(RTRIM(@sDayName))),3)
, @dtFirstOfMonth = CONVERT (SMALLDATETIME
...
September 1, 2014 at 1:55 am
Mr. Kapsicum (12/4/2013)
easy one for the guys who has past experience in 2005 😀
And those with current experience of 2005:-)
December 5, 2013 at 1:19 am
PHYData,
I'm not sure I understand what you are trying to say with this code, but let's go through it select by select
SELECT LEN('123456789101118.12345'), DATALENGTH('123456789101118.12345') ,'123456789101118.12345'
This is showing that...
August 1, 2013 at 7:32 am
PHYData DBA (8/1/2013)
Phillip would you mind posting a link to the article your quote comes from? I not trying to say anyone is right or wrong. I am...
August 1, 2013 at 6:58 am
PHYData DBA (8/1/2013)
Hugo Kornelis (8/1/2013)SELECT LEN(@var) implicitly converts @var to string, because that's the only data type supported for LEN. This conversion is independent of the clients' Windows locale setting,...
August 1, 2013 at 6:47 am
john.arnott (7/31/2013)
L' Eomot Inversé (7/30/2013)
August 1, 2013 at 1:34 am
thierry.vandurme (7/30/2013)
I don't understand the result for select 1. The money data type has a scale...
July 30, 2013 at 4:02 am
I think that the answer has missed a point in not mentioning that the default precision of a decimal variable is decimal(18,0). It's the fact that there is no...
July 30, 2013 at 1:52 am
For interest, I thought I'd have a bit more of a look at which options displayed this effect, what caused Æ and æ to be returned.
It appears on our server...
December 3, 2012 at 2:25 am
Lokesh,
Thanks for correcting my mistake. What comes of trying to write a response before the coffee has kicked in.
Philip
October 17, 2012 at 1:40 am
To me this feels more like a trick question than a question about coalesce. The trick was to notice that 'NULL' was quoted and not the NULL value. ...
October 17, 2012 at 1:21 am
Raghu,
The results you are getting are due to you only specifying the collation on the where clause.
The query is selecting rows 1, 3 and 6 since they are the rows...
September 18, 2012 at 1:27 am
I think that the explaination is actually slightly wrong.
ORDER BY
(CASE WHEN c.IsInsuranceLength=1 THEN CONVERT(INT, cc.Value )
ELSE cc.Value
...
December 13, 2011 at 1:36 am
Viewing 15 posts - 1 through 15 (of 28 total)