Viewing 10 posts - 16 through 25 (of 25 total)
Good question. I have used Alt-Ctrl-Shift to select a block in SQL for years but this is much better. Yes using just Alt works in SQL Server just need to...
February 15, 2017 at 1:43 am
I think the question could be ambiguous as I took it that you only wanted the backup to occur on the Secondary hence I choose Secondary_Only.
"I want to set the...
December 8, 2016 at 1:30 am
I tried this against a SQL Server 2008 R2 database and both 1 and 5 brought back the bracketed records. Luckily I choose answer 1.
November 17, 2016 at 12:20 am
No it's a good bit of code which I have used for our lottery syndicate at work.
Thanks for providing it.
September 5, 2016 at 12:38 am
Shouldn't the code be:
SELECT TOP 5
SV.number AS Number
INTO #numbers
FROM master.dbo.spt_values SV
WHERE SV.type = 'P'
AND SV.number BETWEEN 1 AND @RegularRangeEnd
ORDER BY NEWID();
And
SELECT TOP 1
SV.number AS MegaNumber
INTO #mega_number
FROM master.dbo.spt_values SV
WHERE SV.type =...
September 2, 2016 at 2:04 am
I think the variables should be used in the script in place of 75 and 15.
August 1, 2016 at 4:37 am
As I haven't used In Memory tables yet I did a search on this I found the following:
Which implies that ISJSON is available in SQL Server 2016 for...
June 6, 2016 at 1:41 am
Yep some more context please.
I went for NEWID as the others are available in AZURE but NEWID isn't.
March 16, 2016 at 1:44 am
Ok so don't use windows calculator to try to calculate this. I can now see my mistake.
Good question, poor calculator skills.
March 4, 2016 at 2:46 am
I make 92m. Bigint 2^63-1 (9,223,372,036,854,775,807) / 100,000,000 = 92,233,720.36854775.
How do we get 92billion? Am I missing something?
March 4, 2016 at 2:41 am
Viewing 10 posts - 16 through 25 (of 25 total)