Viewing 15 posts - 1,561 through 1,575 (of 6,679 total)
If you are migrating to a new system - that is not part of a cluster.
...
October 20, 2020 at 9:27 pm
Or a simple backup/restore process - you can backup the current database and restore as a 'master' database and set the new database as read-only (to prevent any changes to...
October 20, 2020 at 9:18 pm
I was thinking more about this - realized we can do this:
SELECT weekend_day_count=y/7-x/7+(y+1)/7-(x-1)/7
FROM (VALUES(DATEDIFF(DAY,-53690,'1899-01-01') + 1,DATEDIFF(DAY,-53690,'1900-01-14') + 1))x(x,y)
We can specify the anchor date as...
October 20, 2020 at 9:05 pm
I agree with you, Steve. I do have one observation and one question.
Where I currently work there are a LOT of Excel and MS Access applications out there. I'm...
October 19, 2020 at 8:13 pm
Just one more thing - be aware of the implicit conversions that DATEDIFF performs when using the DATE or DATETIME2 data types or string dates. Unless you really need dates...
October 18, 2020 at 3:47 pm
We can make a simple change to Jacob's solution to fix the problem:
DECLARE @test_dates TABLE (start_date DATE, end_date DATE);
INSERT INTO @test_dates (start_date,end_date) VALUES
('20180301','20180430'), ...
October 17, 2020 at 4:19 pm
How are you importing the CSV file into the database? What is the agent job doing - is it just running T-SQL code or is it executing something else?
For something...
October 15, 2020 at 7:49 pm
I always imagined doctors dictating into a voice recorder, and then other people in the office actually deal with the paperwork. If that's not how it works, then that's...
October 15, 2020 at 7:28 pm
In the OLEDB destination - change the commit and batch sizes from the default values. The default values essentially send all 70 million rows as a single transaction which then...
October 14, 2020 at 9:55 pm
Shifting gears a bit, I wish that they had actually standardized the underlying stored date and time as decimal values where the integer portion is the number of days...
October 13, 2020 at 11:56 pm
Ah... almost forgot. One of the things that MS did very, VERY wrong is how they interpret the (secondary ANSI) format of YYYY-MM-DD when used for direct conversions from...
October 13, 2020 at 4:22 pm
Declare @schedStart varchar(25) = '2020-06-07-12.30.00.00000';
Select @schedStart
, stuff(stuff(stuff(@schedStart, 11, 1, ' '), 14, 1, ':'), 17, 1, ':')
...
October 12, 2020 at 9:18 pm
Thanks,
I have read & done this already & the current issue is accessing SSIS via the Tools >> Extensions because it doesn't appear in the available choices from File...
October 12, 2020 at 6:52 pm
Jeffrey Williams wrote:Scott? 🙂
Sorry... had a "Scott" on my mind from a different post. Corrected my previous post.
🙂
October 12, 2020 at 6:45 pm
Viewing 15 posts - 1,561 through 1,575 (of 6,679 total)