Viewing 15 posts - 421 through 435 (of 7,472 total)
March 31, 2023 at 5:58 am
can you post your indexes create statement ?
March 29, 2023 at 10:57 am
Check out TSQL Restore Database, and you'll find you can to specify new locations for all files making the database
Just add "move .." for the location of the concerned...
March 29, 2023 at 6:39 am
have a look at "Logon monitoring in SQL Server and Azure Managed Instances - Adopting Extended Events"
March 29, 2023 at 6:01 am
There should indeed be performance related advantages when using #temp objects.
According to your use case, an index on a #temp object may indeed help out.
performance - performance - performance -...
March 28, 2023 at 2:05 pm
What I "love" about these scrum sprint agile and the newer cicd developments is that most managers think it will speed up their sloppy work.
They still don't have a clue...
March 22, 2023 at 7:26 am
I add an extra jobstep to check the db role!
This step will quit reporting success when the raiserror is executed !
It will proceed to the next step if this step...
March 21, 2023 at 1:47 pm
Once you actually get it that you need to work with OFFSET instead of pointers, handling bitwise operations will start working.
I always have such problems when I'm in the US...
March 21, 2023 at 7:52 am
Have you ever investigated MS Query Tuning Assistant ?
March 21, 2023 at 7:28 am
It will avoind storing every sqlplan in the plan cache.
Queries that run only once do not polute your plan cache when this setting is on.
The article below holds all information:
ref:...
March 20, 2023 at 10:16 am
Did you enable contained db authentication at instance level?
exec sp_configure 'show advanced', 1
GO
RECONFIGURE
GO
exec sp_configure 'contained database authentication', 1;
GO
RECONFIGURE;
GO
( edited: added...
March 16, 2023 at 11:59 am
This version also handles most cross database queries:
SET NOCOUNT ON;
IF OBJECT_ID('tempdb.dbo.#invalid_db_objects') IS NOT NULL
BEGIN
DROP TABLE #invalid_db_objects;
END;
CREATE TABLE #invalid_db_objects
...
March 13, 2023 at 10:49 am
you are validating two unrelated columns, right?
you need to correlate starttime and endtime
e.g. by adding ' and STARTTIME < ENDTIME '
March 8, 2023 at 10:30 am
March 8, 2023 at 10:09 am
Viewing 15 posts - 421 through 435 (of 7,472 total)