Viewing 15 posts - 4,081 through 4,095 (of 8,753 total)
ChrisM@Work (1/5/2016)
Here's a completely different take on the problem, loosely based on some fuzzy matching stuff I've worked on over the years. It looks promising and...
January 5, 2016 at 9:32 pm
Hi Alan and thank you for sharing this problem and this very fine post, good job indeed. I've been swamped with work but will have a go at it as...
January 5, 2016 at 9:24 pm
Piling on, here is the short disco version
😎
SELECT OBJECT_DEFINITION(OBJECT_ID(N'[schema_name].[object_name]'));
January 5, 2016 at 11:39 am
Thank you Robert for this excellent piece, good job and a very good reference indeed.
😎
The greatest disadvantages I find with the DATETIME2 data type are firstly the default precicion of...
January 5, 2016 at 1:49 am
Jeff Moden (1/4/2016)
Eirikur Eiriksson (1/4/2016)
Jeff Moden (1/4/2016)
Eirikur Eiriksson (1/4/2016)
January 4, 2016 at 11:09 pm
Jeff Moden (1/4/2016)
Eirikur Eiriksson (1/4/2016)
January 4, 2016 at 10:34 pm
Further on Jeff's correction, the ClientID in the sample data is different from the one hard coded in the procedure, change these two things and you will get back two...
January 4, 2016 at 9:52 pm
For fun and completion, comparison of the previously posted "short" methods
😎
Test harness
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @SAMPLE_SIZE INT = 2000000;
--/*
IF OBJECT_ID(N'dbo.TBL_METHOD_TEST' ) IS NOT...
January 4, 2016 at 4:31 pm
Alvin Ramard (1/4/2016)
Eirikur Eiriksson (1/4/2016)
Alvin Ramard (1/4/2016)
Eirikur Eiriksson (1/4/2016)
Jeff Moden (1/4/2016)
Lynn Pettis (1/4/2016)
SELECT DATEADD(DAY,...
January 4, 2016 at 4:05 pm
That makes things somewhat easier, how complex are the schemas and what is the cardinality?
😎
January 4, 2016 at 3:57 pm
Alvin Ramard (1/4/2016)
Eirikur Eiriksson (1/4/2016)
Jeff Moden (1/4/2016)
Lynn Pettis (1/4/2016)
SELECT DATEADD(DAY, -1, DATEADD(YEAR, DATEDIFF(YEAR, 0,...
January 4, 2016 at 3:54 pm
Jeff Moden (1/4/2016)
Lynn Pettis (1/4/2016)
Good question. Just one minor thing, I'd use the following the end of the calendar year:
SELECT DATEADD(DAY, -1, DATEADD(YEAR, DATEDIFF(YEAR, 0, GETDATE()) + 1, 0));
With...
January 4, 2016 at 3:30 pm
Lynn Pettis (1/4/2016)
Good question. Just one minor thing, I'd use the following the end of the calendar year:
SELECT DATEADD(DAY, -1, DATEADD(YEAR, DATEDIFF(YEAR, 0, GETDATE()) + 1, 0));
Slow / lazy...
January 4, 2016 at 3:21 pm
Quick question, what is the recovery window's size, that is how much time can you spend on reverting?
😎
January 4, 2016 at 2:57 pm
Viewing 15 posts - 4,081 through 4,095 (of 8,753 total)