Viewing 15 posts - 346 through 360 (of 7,480 total)
August 24, 2023 at 6:09 am
thank God they are using varbinary(max) for every item in the tables, or at least Nvarchar(max)
August 23, 2023 at 12:39 pm
Are you using identities or sequences to auto-increment the IDs?
did someone RESEED your identity values ?
August 23, 2023 at 7:19 am
if @tocheck=1
DROP TABLE IF EXISTS #partA
begin
insert into #partA (ID) <- this table no longer exists here if @tocheck=1 !!! ( you are not using select ... into #partA )
select...
August 18, 2023 at 9:08 am
Indexes art there for two reasons:
August 18, 2023 at 9:04 am
Can you elaborate about your instance ? OS / SQLversion & cu
Are you monitoring I/O performance ?
Can you post the full details of the errors you get ?
Did you check...
August 18, 2023 at 8:19 am
my bad. Sorry
August 18, 2023 at 7:20 am
August 17, 2023 at 2:57 pm
You need select on that table.
The SQLAgent roles are made to support SSMS SQLAgent usage.
August 17, 2023 at 2:54 pm
the builtin Query Store will be of great help
A great starting ref can be found here: SQLSkills Blogs Erin
August 17, 2023 at 7:51 am
STEP1:
if sys.fn_hadr_is_primary_replica ( dbname ) = 1
begin
print 'OK'
end
else
begin
RAISERROR('DB dbname is not primary', 16, -1);
end
Set step one to "quit job reporting success" as...
August 16, 2023 at 11:23 am
This is indeed a feature that's been requested for some time in SQL Server.
We have created a "jobadmin" SQL account on some servers.
That account owns all user jobs and has...
August 16, 2023 at 7:52 am
No need to launch "EXEC msdb.dbo.sp_stop_job @job_name = @name;" if you just fail the step "fail with success"
August 14, 2023 at 2:23 pm
Why don't you just perform this check in the first step of the job? ( and "fail reporting success" )
August 14, 2023 at 9:07 am
FWIW: I've read on multiple threads regarding "backup database", providing parameters , BUFFERCOUNT = 17 , MAXTRANSFERSIZE = 1048576 have better results regarding performance of the command in...
August 14, 2023 at 6:54 am
Viewing 15 posts - 346 through 360 (of 7,480 total)