Viewing 15 posts - 466 through 480 (of 825 total)
Hugo Kornelis (7/23/2013)
...
In other words - if the statement causes a trigger to fire, it should have either no OUTPUT clause or an OUTPUT clause with an INTO keyword....
July 24, 2013 at 1:08 am
mickyT (7/17/2013)
I think it also provides a good argument for the use of statement terminators or formatting scripts in a clear manor (with comments:-D).
Batch...
July 17, 2013 at 11:57 pm
kapil_kk (7/16/2013)
as per the explanation- The stmt "return (select 5)" gives error because in a batch RETURN with integer_expression is not admitted (note: PARENTHESIS cast the SELECT to an integer_expression...
July 17, 2013 at 2:49 am
L' Eomot Inversé (7/9/2013)
However, introducing a weird ODBC function into T-SQL seems to me a...
July 9, 2013 at 3:52 am
Hugo Kornelis (7/9/2013)
Carlo Romagnano (7/9/2013)
select concat(null + 'Hello','testString') as a, null+'testString' as b
It simply returns 'testString', NULL
😀
Yup. If you wanted to get 'HellotestString', you'd use...
July 9, 2013 at 3:16 am
Some formatting with CONCAT:
SELECT
concat
(
'Name: ',t.name
...
July 9, 2013 at 1:55 am
select concat(null + 'Hello','testString') as a
, null+'testString' as b
It simply returns 'testString', NULL
😀
July 9, 2013 at 1:25 am
Wonderfull!
You gave me a good Idea.
😀
July 8, 2013 at 1:13 am
Iggy-SQL (7/2/2013)
Statement 1 : The SQL Database Engine converted the Val value to...
July 3, 2013 at 1:08 am
Hugo Kornelis (6/19/2013)
L' Eomot Inversé (6/19/2013)
June 20, 2013 at 1:01 am
matthew.flower (6/19/2013)
June 19, 2013 at 3:29 am
Richard Warr (6/19/2013)
Msg 242, Level 16, State 3, Line 7
The conversion of a varchar data type to a datetime data type resulted in an out-of-range...
June 19, 2013 at 2:29 am
If the statement begins with
set dateformat ymd,
the qotd would be perfect.
June 19, 2013 at 1:09 am
Hugo Kornelis (6/8/2013)
nenad-zivkovic (6/7/2013)
From BOL http://msdn.microsoft.com/en-us/library/ms187912(SQL.100).aspx
Avoid using float or real columns in WHERE clause search conditions, especially the = and <> operators.
Should be "Avoid using float or real columns." Period....
June 8, 2013 at 4:43 am
Viewing 15 posts - 466 through 480 (of 825 total)