Viewing 15 posts - 1 through 15 (of 254 total)
You have not indexed any of the temporary tables, maybe you should? Do you have any specific recommendation you can provide?
Thank you so much for all the...
July 2, 2020 at 7:48 pm
I'm sure this isn't helping either
REPLACE(REPLACE(fm.DestTable, 'Holding_', ''), 'HoldingTable_', '')
and this
AND
(
LTRIM(RTRIM(ISNULL(CAST(im.NewValue AS VARCHAR(MAX)), ''))) <> ''
AND im.NewValue IS NOT NULL
)
Have you tried creating/populating temp tables and then running smaller...
July 2, 2020 at 7:44 pm
See the 2nd link in my signature line below on the information you should provide on performance related problems. Thanks.
Okay thanks I'll follow this guideline going forward. Could you...
July 2, 2020 at 6:14 pm
You have an OUTER APPLY (aliased c2) in the query but in the WHERE clause of the main query you have
AND D.LiveTable = c2.TableName
So why is it an OUTER...
July 2, 2020 at 6:10 pm
Awesome but is there a way to instead get the listener name rather than the IP address or maybe convert that to give me the name instead of the IP.
May 28, 2020 at 5:41 pm
I was expecting that as an answer. Never mind, and thanks for taking the pains to even bother responding to the post. God bless you.
May 20, 2020 at 6:00 pm
Hey Jeff,
I am only looking for a general pros/cons list that I can forward it to the developer.
May 20, 2020 at 4:55 pm
Another FYI on the permissions....using an admin share is going to result in some security issues as well. Using servername\e$ is the admin share.
Sue
Thanks! Sue but no problem with...
January 15, 2020 at 5:32 am
Okay, just FYI you may also run into some permissions issues if the service accounts for your dev environment (hopefully aren't) the same as the service accounts for your...
January 15, 2020 at 5:31 am
What I did in this situation is I created a powershell script to grab the latest backup from the prod share and copy it to the location and then...
January 14, 2020 at 8:41 pm
Another question that comes to my mind is the table structure is as below. I am not sure why would it end up having negative values if the identity range...
January 10, 2020 at 9:24 pm
No there's nothing inherently wrong with negative values in a primary key.
If you wanted to find any you could run a query that would give you a list of...
January 10, 2020 at 9:06 pm
it may be possible to find it using sys.dm_db_stats_histogram:
You could use a query such as:
SELECT OBJECT_SCHEMA_NAME(ss.object_id) AS schema_name, ao.name AS table_name, ac.name AS column_name,
...
January 10, 2020 at 9:05 pm
Sure, a negative value is just a value.
What is your exact concern?
My client has requested me to firstly let them know if a negative generated value in the primary...
January 10, 2020 at 6:18 pm
You can try playing with something like the following to grab jobs that were successful and just look at the duration of the job (instead of each job step):
May 16, 2019 at 5:28 pm
Viewing 15 posts - 1 through 15 (of 254 total)