Viewing 15 posts - 376 through 390 (of 7,472 total)
My guideline for FK indexes is: put indexes in place that match the FK definition 100%, unless it is proven for that case it hurts regular operations.
And even then,...
June 21, 2023 at 2:26 pm
And here's the bite in the back by cascading deletes !
The reason why we only use foreign keys "NO ACTION" is because we want to take full control over...
June 21, 2023 at 11:16 am
My advise: read Brent's blog about SQL2022 to get a good idea what the product is (still) missing/having flaws of ...
SQL Server 2022 Keeps Getting Worse.
June 18, 2023 at 12:36 pm
Check my little article "Logon monitoring in SQL Server and Azure Managed Instances - Adopting Extended Events"
Maybe it can get you started
June 16, 2023 at 8:55 pm
First of all, don't use this construct of you can directly perform the delete from the "in-list-query"
DELETE RAL
FROM c_repos_applied_lock RAL
INNER JOIN c_repos_table RT
...
June 15, 2023 at 7:36 am
Thank you for the feedback.
As always, checking and double checking, stepping back to get a broader view what's going on and then working back to the issue is key!
June 15, 2023 at 5:47 am
did you also try to use just the group name (without the domain information) ?
June 14, 2023 at 7:15 am
On a single instance SQL Server 2022 installation, you can find bcp.exe overhere: "C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn"
With multiple instances, it may be needed to actually provide the correct path...
June 13, 2023 at 6:05 am
You can only define and use one port for mirroring and always on (combined ! )
June 12, 2023 at 6:51 am
What error are you receiving?
June 12, 2023 at 6:49 am
How large is your (test) table?
What about indexes?
Please post DDL
June 8, 2023 at 7:07 am
A trigger is always handled in the scope of one transaction.
Cascading triggers ( as you implemented ) are handled in the scope of the same transaction.
So to get around your...
June 2, 2023 at 11:03 am
Homework, school assignment, ... try chat gpt
May 29, 2023 at 8:52 pm
enable query store and get a good view onto what is going on.
May 24, 2023 at 6:46 am
Viewing 15 posts - 376 through 390 (of 7,472 total)