Viewing 15 posts - 2,461 through 2,475 (of 6,679 total)
I cannot provide anything that can be tested - but maybe something like this:
Declare @startDate datetime = dateadd(day, 1, eomonth(current_timestamp, -13));
With cteTally
...
October 1, 2018 at 2:50 pm
You don't really need a row number - nor do you need a break...
Declare @rowsAffected int = 0
, @batchSize int = 200000 -- adjust for your...
October 1, 2018 at 2:08 pm
October 1, 2018 at 1:44 pm
When you test - are you testing with objects that are schema qualified?
SELECT ... FROM myschema.table WHERE ...
Or are you testing by just referencing the table?
October 1, 2018 at 12:54 pm
Why not just use an inline table-valued function instead of creating a #temp table everywhere? If you absolutely must have a temp table - you could always select from the...
October 1, 2018 at 12:19 pm
We use Log4Net to capture database interactions -...
September 27, 2018 at 11:31 am
September 24, 2018 at 2:10 pm
September 24, 2018 at 1:46 pm
September 24, 2018 at 11:53 am
September 22, 2018 at 7:37 am
I'm doing a huge task of deleting data in a large table of 300...
September 20, 2018 at 3:53 pm
September 20, 2018 at 3:45 pm
How are the SSIS packages deployed? Hopefully you transitioned to project deployment - and deployed to the integration services catalog. If not - then you need to consider doing that...
September 20, 2018 at 3:36 pm
You can use OUTER APPLY
FROM tblRemovals r
OUTER APPLY (SELECT TOP 1 DateCleaned FROM tblCleans c WHERE c.SerialNumber = r.SerialNumber AND DateCleaned >= DateRemoved ORDER BY DateCleaned) AS...
September 20, 2018 at 1:29 pm
Viewing 15 posts - 2,461 through 2,475 (of 6,679 total)