Viewing 15 posts - 256 through 270 (of 821 total)
With ZEROS:
SELECT FORMAT(12354,'000-00-0000') AS 'SSN'
Returns "000-01-2354"
June 3, 2015 at 1:59 am
The fact that Microsoft uses cursors in many sp and functions is only because that codes have been written in earlier version of SQL, starting from 4.2 in '90.
So, except...
June 1, 2015 at 12:55 am
Easy, I used a lot in the past, sql 4.2 to sql2000. But there isn't a real need of cursors.
😀
May 22, 2015 at 1:34 am
pmadhavapeddi22 (5/20/2015)
Easy one
Easy, but batches are too long.
Query 3 and 4 differs only for the constant value.
May 20, 2015 at 1:59 am
Toreador (4/29/2015)
Only 54% correct? I was expecting close to 100%!
It depends if one has enough time to read correctly the question of th day.
April 29, 2015 at 1:27 am
If in the query there are many complex expressions, I prefer to name aliases in parenthesis.
April 28, 2015 at 1:12 am
edwardwill (4/22/2015)
Msg 156, Level 15, State 1, Line 21
Incorrect syntax near the keyword 'OR'.
Msg 156, Level 15, State...
April 22, 2015 at 1:21 am
Good question!
I do not like "Filtered indexes", they are too much limited. I prefer indexed view.
April 22, 2015 at 12:57 am
karthik babu (4/20/2015)
April 20, 2015 at 12:51 am
Hugo Kornelis (4/15/2015)
April 15, 2015 at 1:20 am
April 12, 2015 at 11:20 am
A GLOBAL temporary table has 128 characters as the limit.
April 10, 2015 at 1:35 am
MyDoggieJessie (4/7/2015)
This assumes that you have a schema in the database named "tmp" otherwise it fails because the schema does not exist.
+1
Ahi, ahi, ahi, ahi, ahi, ahi!!!!!!!!!!
:w00t:
April 8, 2015 at 12:56 am
Viewing 15 posts - 256 through 270 (of 821 total)