Viewing 15 posts - 241 through 255 (of 819 total)
BWFC (8/3/2015)
The correct answer is Query 2, with the MODIFY FILE...
August 3, 2015 at 1:29 am
I tested it. The qotd is right and also the answers are correct.
I learned something new.
I also tested placing a WITH(NOLOCK) on query 2 and 3, same results.
Query 1:
create table...
July 31, 2015 at 2:04 am
Eirikur Eiriksson (7/30/2015)
Thanks Ed for this fine piece, certain that it will be a very handy reference.😎
+1
Here, another dos command to list files, each column is separated by "*":
@for /R...
July 30, 2015 at 4:01 am
Hugo Kornelis (7/16/2015)
Koen Verbeeck (7/15/2015)
Meh, who cares about mirroringPerhaps, everyone who does not have the budget for Enterprise Edition?
If you are running an edition of SQL Server that does...
July 17, 2015 at 6:53 am
I read about TEMPORAL TABLE just two weeks ago.
Good qotd!
🙂
July 16, 2015 at 1:38 am
Correct answer:
When J is between -999,999,999 and -100,000,000 or between 1,000,000,000 and 2,147,483,647
Correct explanation:
...
If the expression is between -999,999,999 and -1(,0)00,000,000 or between 1,000,000,000 and 2,147,483,647 it's decial representation...
July 5, 2015 at 9:12 am
I'm surprised, how an "answers bad worded" qotd gets more than 60% of right answers.
:crazy:
July 2, 2015 at 1:58 am
-- Using credentials on database requires enabling traceflag
DBCC TRACEON(4631,-1)
Instead of
-- Using credentials on database requires enabling traceflag
DBCC TRACEOFF(4631,-1)
June 26, 2015 at 2:14 am
deroby (6/18/2015)
The stored procedure might be old (and indeed in need for some TLC, thumbs up for the...
June 18, 2015 at 3:41 pm
I fixed this bug in the sp_helptext in 2002 in SQL2000 in the same way. I changed the length from 255 to 4000, but the problem is not solved completely....
June 18, 2015 at 9:45 am
I thought that this statement was missing:
alter INDEX SalesArchive_CI_SalesPersonID ON dbo.SalesArchive disable
... and got it right!
😀
June 10, 2015 at 1:32 am
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
Viewing 15 posts - 241 through 255 (of 819 total)