Viewing 15 posts - 4,666 through 4,680 (of 59,098 total)
Hi Jeff,
Does the "modify_date" column gets modified when DML changes also occur, or only DDL changes?
You should do a search on sys.tables instead of taking my word for it. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2021 at 5:32 pm
Sorry for the confusion, Jeff...that's partly why I wanted to include the graph of the plan performance but I didn't explain well. The "bad" plan I uploaded was the...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2021 at 5:27 pm
Good Morning How to find if there was any recent changes done to the table structure?
A quick way to check is to query against sys.tables in a database. Every...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2021 at 1:34 pm
Seems crazy but it's gotten to the point for a whole lot of folks where they need a "conductor" for the "symphony of automation" they've constructed to make sure that...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2021 at 1:18 pm
p.s. If there's a DISTINCT or a GROUP BY that you're using like a DISTINCT, you really need to fix that. Really. And identifying the "core" data and using "Divide'n'Conquer"...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2021 at 2:38 am
You say "On some occasions, again all under the same execution plan, poor performance occurs " but the execution plans you posted aren't even close to being the same.
The culprit...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2021 at 2:36 am
AND, looking a bit closer, my code doesn't work correctly using the following data but the mod to pietlinden's code does, so use his code with the mod.
Here's the code...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2021 at 1:28 am
Looking a bit closer at the code, there' may be a fly in the ointment of pietlinden's code. Give the following a run and see.
[EDIT] I DISCOVERED THE CODE...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2021 at 1:04 am
Hi Phil,
Thanks for the reply.
The create/ insert would be as follows:
CREATE TABLE CustomerPolicies
(
[Mobile] NVARCHAR(20),
[WorkTelephone] NVARCHAR(20),
[HomeTelephone] NVARCHAR(20),
[FirstName] NVARCHAR(30),
[LastName] NVARCHAR(30),
[PolicyNumber] INT
)
INSERT INTO CustomerPolicies VALUES ('07972234564', 'N/A', 'N/A', 'Jon',...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2021 at 12:40 am
It's all Steve Jones. His idea. His execution. He deserves all the credit.
Not to mention being the prime driver of this whole site! +1 Billion to Steve!
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2021 at 12:16 am
Did any of those solutions help you or is there something else that you need help with on this problem?
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2021 at 12:12 am
BWAAAA-HAAAA-HAAAA!!! I've found that "Penalty of Death" will sometimes work! 😀
I agree with Ant-Green's statement. All of our data is encrypted and that means everything and not just SQL Server...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2021 at 12:08 am
@jeff - while concat_ws deals well with nulls on this case it could also cause a collision on a case where one row has null vs one with ''...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 14, 2021 at 11:53 pm
P.S. I will also be presenting on the topic of Module Signing at the upcoming PASS Data Community Summit 2021: Module Signing: Use Certificates to...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 14, 2021 at 10:50 pm
Interesting. Thank you for taking the time to post the feedback.
Out of curiosity, when is the last time the SQL Server Service was restarted?
--Jeff Moden
Change is inevitable... Change for the better is not.
September 14, 2021 at 10:36 pm
Viewing 15 posts - 4,666 through 4,680 (of 59,098 total)