Viewing 15 posts - 841 through 855 (of 7,472 total)
please read MS docs about tempdb database
This is where you want to be starting when taking tempdb into focus: Tempdb configuration survey results and advice
( and its referred...
September 25, 2020 at 1:28 pm
Just keep in min , SQLServer "uniquifies" every clustered index key !
September 23, 2020 at 2:35 pm
oh by the way, if you know [MULE_BATCH_ID] should be unique in that table, create a unique constraint or index.
September 21, 2020 at 1:56 pm
how about:
Declare @StartYear datetime = '1900-04-01' ;
Declare @StartYearNov datetime = '1900-10-01' ;
SELECT convert(date, dateadd(yy,n,@StartYear)) Dt
, DATEPART(wk, dateadd(yy,n,@StartYear) ) AS Aprilwk
...
September 21, 2020 at 1:43 pm
For what it's worth: Even last year, I've seen vendors still installing SQL2005 Express with their "state of the art" stuff.
I've always been "the first with who made a fuss...
September 21, 2020 at 1:29 pm
Indeed.
It is by far THE biggest downside of SQL Paas / Iaas in on Azure!
on top of that, you cannot extend msdb to keep a relevant amount of job history...
September 21, 2020 at 5:54 am
Hi Jeff,
That is strange.
I hoped the 'insert/edit code sample' would nutralise all dodgy behaviour of ampersants, etc
-- please see attachment
September 18, 2020 at 1:40 pm
Keep min mind, with non simple recovery models, transactions are only flagged overwritable during a LOG backup !
To keep your log file size under control, it may require more frequent...
September 18, 2020 at 9:46 am
This script gets me all jobs and schedules that have "%backup%" in their steps command.
Just modify to the wanted database name and off you go.
select ServerName
...
September 18, 2020 at 8:06 am
Keep in mind you will need to do some extra validation if to see of jobs address database objects using 4-part naming.
So, the query you'll end up with using the...
September 17, 2020 at 2:03 pm
check msdb dbo.sysjobs dbo.sysjobsteps dbo.sysjobschedules dbo.sysschedules
September 17, 2020 at 1:44 pm
September 16, 2020 at 9:01 am
You could try to download the bak file locally ( with e.g. Microsoft Azure Storage Explorer ) and then perform the restore.
September 15, 2020 at 12:52 pm
Restore HeaderOnly from url= ... ?
?
September 15, 2020 at 9:53 am
You could start with this query:
/*
type char(1) Backup type. Can be:
D = Database
I = Differential database
L = Log
F = File or filegroup
G =Differential...
September 9, 2020 at 10:03 am
Viewing 15 posts - 841 through 855 (of 7,472 total)