Viewing 15 posts - 1,606 through 1,620 (of 2,883 total)
My opinion on this is that it falls into the "it depends" bucket that most database tasks do.
I personally like having the point in time source of truth available in...
August 5, 2020 at 5:25 pm
I personally have not used it. How does it handle windows authentication or does it only work with SQL authentication?
As a general rule, I try not to run any app...
August 5, 2020 at 4:47 pm
Quick google - it depends on if it is ReFS or NTFS. If ReFS, it should be doing self-healing. I expect this is true until the disks start failing. On...
August 5, 2020 at 2:23 pm
First thing I'd do is chkdsk on the physical disk to rule out disk corruption.
But it sounds to me like some disk based error and likely not a database error. ...
August 4, 2020 at 8:19 pm
Also, another thought here, since the FULL backups are succeeding without a problem, maybe check the syntax on those vs the syntax on your tlog backups?
I still like having scripts...
August 4, 2020 at 4:53 pm
My preference with code comments is all code functions (stored procedures, triggers, tables, views, etc on the SQL side, methods, classes and functions on the .NET side) should have a...
August 4, 2020 at 4:45 pm
You want this to be 0 seconds... a fun challenge, but may not be possible.
How often does this data change? Are you OK with "snapshot" data rather than realtime data? ...
August 4, 2020 at 4:26 pm
ScottPletcher is right - LEAD and LAG were introduced in 2012. I am bad at this recently. I thought they were a 2016 and newer feature. Good to know!
I think...
August 4, 2020 at 4:04 pm
Yeah, for something like backups, I like having short and easy to test/debug scripts rather than "all in one" scripts like Ola's. That is just my preference, especially since Ola's...
July 31, 2020 at 9:49 pm
A work around - use shorter filenames for your backups.
I personally don't use Ola's scripts just for the reason you found - if a bug crops up, I either need...
July 31, 2020 at 9:29 pm
How does this look:
CREATE TABLE [#filetable]
(
[FileID] VARCHAR(20)
, [GroupID] VARCHAR(10)
, [Level] VARCHAR(1)
, [Path] VARCHAR(255)
, [Filename] VARCHAR(255)
, [ExpectingResultofPath] VARCHAR(MAX)
);
INSERT INTO [#filetable]
(
[FileID]
, [GroupID]
, [Level]
, [Path]
,...
July 31, 2020 at 9:18 pm
My opinion (experts correct me if I am off on this) - the "secondary" server when doing log shipping is usually in place for disaster recovery. If the primary server...
July 31, 2020 at 8:36 pm
Reading through your SP's something is wrong. Your "Procedure 1 Data" calls "EXEC Procedure1" twice but puts the data into 2 different tables with 2 different sets of columns. That's...
July 31, 2020 at 8:30 pm
according to the documentation for SQL Server 2012 - no:
https://docs.microsoft.com/en-us/previous-versions/sql/sql-server-2012/ms143506(v=sql.110)?redirectedfrom=MSDN
Here it says that you are looking at Windows Server 2012 if you want to be in a supported configuration. That...
July 31, 2020 at 3:52 pm
I expect that anyone on the forum is going to need more than this. Since the backup failed, it is obvious (to me) that the restore failed. Without the backup,...
July 31, 2020 at 3:42 pm
Viewing 15 posts - 1,606 through 1,620 (of 2,883 total)