Viewing 15 posts - 1 through 15 (of 290 total)
Yes, I found more examples once I spent more time searching.
this is a good one, too:
https://sqlnotesfromtheunderground.wordpress.com/2014/10/02/restore-duration-time-for-database/
July 7, 2023 at 5:15 am
I ended up writing this-- Declare variables
DECLARE @DatabaseName VARCHAR(100)
SET @DatabaseName = 'WideWorldImporters' -- Replace with your database name
-- Create a temporary table to store the error log data
CREATE TABLE #ErrorLog...
July 6, 2023 at 2:52 am
I ended up writing this
-- Declare variables
DECLARE @DatabaseName VARCHAR(100)
SET @DatabaseName = 'WideWorldImporters' -- Replace with your database name
-- Create a temporary table to store the error log data
CREATE TABLE #ErrorLog...
July 6, 2023 at 2:52 am
I ended up writing this
-- Declare variables
DECLARE @DatabaseName VARCHAR(100)
SET @DatabaseName = 'WideWorldImporters' -- Replace with your database name
-- Create a temporary table to store the error log data
CREATE TABLE #ErrorLog...
July 6, 2023 at 2:52 am
I ended up writing this
-- Declare variables
DECLARE @DatabaseName VARCHAR(100)
SET @DatabaseName = 'WideWorldImporters' -- Replace with your database name
-- Create a temporary table to store the error log data
CREATE TABLE #ErrorLog...
July 6, 2023 at 2:51 am
Never mind :).
My boss just pointed me to the answer here:
Look here for details of that DMV
under the Remarks section.
February 9, 2023 at 8:58 pm
Thank you! I'll do just as you advised. Will save the counter value every 1 minute to table.
November 22, 2022 at 8:30 pm
Thats exactly what my question is :). Should we consider such change? if yes then WHY. and if we should not , then also WHY?
October 13, 2022 at 9:38 pm
Neither answer will work, because on one date there may be 1000 records and five on another, etc. The datetime value is different up to milliseconds for each row. But...
September 22, 2022 at 1:27 pm
Jeff, why do you think deadlocks could be an issue? in any case, we almost never have them in our environment.
for example, between a month ago and today there are...
August 23, 2022 at 12:35 am
I am doing it this way as it seems the only way:
Drop index ci1 on Z1
alter table Z1 Add constraint PK_Z1 primary key clustered (id) on [primary]
November 17, 2021 at 5:52 pm
Viewing 15 posts - 1 through 15 (of 290 total)