Viewing 15 posts - 106 through 120 (of 1,229 total)
I always had suspicion on the covid statistics provided by China these last few years. Even if the hard line lockdowns were as effective as claimed, then that can mislead....
January 8, 2023 at 2:26 am
The term 'Hacker", derived from 'Hack', began at MIT in the 1950's. These students were fascinated how a change in one part of an electrical system affected another. It wasn't...
January 8, 2023 at 2:16 am
Jeffrey Williams wrote:It might be a better option - if using TRY/CATCH - to THROW the error instead of using RAISERROR.
I'd be interested to hear your reasoning.
This is the main...
November 17, 2022 at 8:12 am
Lookup the MERGE command.
Functions perform operations in a row by row manner as opposed to a set at a time. This is slow and not needed.
I am not sure how...
November 17, 2022 at 7:55 am
It may fragment some indexes and not others. You certainly don't want to automatically rebuild every index. Also, rebuild from smallest to largest of the indexes that do need...
November 17, 2022 at 7:36 am
A very good link has been provided.
If you have your log file on its own volume another thought would be , just to put it out there, a powershell script...
November 17, 2022 at 7:28 am
Few best practices to optimize SQL DB performance
- Reduce Table Size - Simplify Joins - Use SELECT Fields FROM Instead of SELECT * FROM - Use EXISTS() Instead of...
November 17, 2022 at 7:18 am
Since you are on 2017 pressumably , navigate to your database (in explorer) and drill down to the Query Store. There you will find the most expensive queries by cpu...
November 17, 2022 at 7:09 am
I cant even make sense of what the data is supposed to render to. I cant make out any columns in the desired output. Please put in time to present...
November 17, 2022 at 7:04 am
Please create a entity relationship diagram explaining what the tables are and what certain columns mean. and how they are related/joined.
Provide a simple case of input data and what the...
November 17, 2022 at 7:00 am
What section and step within the documentation are you at ? Is this transactional replication ? Is it push or pull subscription ? Where is the distributor ?
November 3, 2022 at 6:50 am
"I'd like to create a column that will list every Monday (start of week) from the enrollment start date to the end date. If no end date, then it will...
November 3, 2022 at 6:45 am
I had a scary experience with CPU on a database server reaching 100% due to bad plans from badly written code. I have had all members of my team looking...
November 1, 2022 at 12:15 am
Test out the solution I provided with data that varies in the first few columns and adjust the pivot experssion as needed.
November 1, 2022 at 12:10 am
For dynamic SQL, try the following >
declare @sqlStart nvarchar(200)=
'Select *
FROM (Select custID, staffId, jobID, dt, sum(units) as units ...
November 1, 2022 at 12:07 am
Viewing 15 posts - 106 through 120 (of 1,229 total)