Viewing 15 posts - 151 through 165 (of 1,229 total)
Secondary replicas as I understand have read intent off by default. Did you make this change in the application or the database ?
June 7, 2022 at 12:17 am
Seems to me you may want to get familiarized with the LAG() function. I am sure you can incorporate it into your solution,
https://docs.microsoft.com/en-us/sql/t-sql/functions/lag-transact-sql?view=sql-server-2017
The previous months ending balance is the current...
June 6, 2022 at 11:50 pm
I imagine if your statistics are up to date you will not have to consider the join order as the optimiser will define that. There may be times where it...
April 29, 2022 at 10:55 pm
From Mircrosoft Docs : "
When SET XACT_ABORT is ON, if a Transact-SQL statement raises a run-time error, the entire transaction is terminated and rolled back.
When SET XACT_ABORT is OFF, in...
March 31, 2022 at 9:45 pm
My one thought here is that a call to a stored procedure may not roll back within a transaction, whereas if you do ,say, just inserts to multiple tables within...
March 31, 2022 at 9:18 pm
And what was the result? What exact message do you get?
How do you absolutely know the users do not already have permission?
OR , Is there another permission setting denying this...
March 5, 2022 at 7:31 pm
Please add sample data along with DDL/DML statements to set up the tables we need to be able to see what you are seeing on your side.
Without knowing more you...
March 4, 2022 at 7:24 pm
AS Jeff emphasied in his post, look at your indexes on both of your tables (even the temp table). It is worth re-emphasising.
I would also look into how the table...
March 4, 2022 at 7:17 pm
You can do just
GRANT EXECUTE TO [Domain\ADGroup]
But you may not really want to do that.
March 4, 2022 at 7:06 pm
AS far as SQL Server is concerned, I am reminded I just engaged on a forum question about certificates. This of course to help to encrypt the data in your...
March 4, 2022 at 6:05 pm
Thank you Steve for the good thoughts.
The job interview I think candidates forget is a double interview. You as a candidate are interviewing the company as well and gauging its...
March 4, 2022 at 5:49 pm
Not sure at what step you are at
What do you see when you run
select * from master.sys.certificates
March 4, 2022 at 12:43 am
Yes, attempting to approach this the wrong way will potentially hose your server for days, and rebooting a giant transaction half-way will only make things worse. I am confronted...
February 16, 2022 at 10:06 pm
I've worked on several applications which ride on the external data being received as a flat file every day on an SFTP. The processing time was going beyond...
December 23, 2021 at 7:09 pm
p.s. We did do something great on this thread... although it's gotten a bit confrontational, it IS bringing a lot of things to light that people might not have...
December 23, 2021 at 7:01 pm
Viewing 15 posts - 151 through 165 (of 1,229 total)