Viewing 15 posts - 1,741 through 1,755 (of 59,061 total)
Given the column naming convention, I think there might be a simpler solution than using an EAV. This assumes that there are three sets of weights: PWT, PNT, and...
March 7, 2023 at 2:36 pm
The graphics you posted are great especially for showing the final result you wanted (which is the key to solving this problem without many words) but they're horrible for...
March 7, 2023 at 7:59 am
What are these WT1, WT2...... in the output? Why 15 has to be shown under WT1 for B and not in WT2?
You can use CASE WHEN THEN ELSE END...
March 7, 2023 at 7:01 am
i would suggest to make sure to have the following measures applied before embarking to real database migration;
Use Updated Versions. First, keeping your hardware, hypervisors, and software updated is...
March 7, 2023 at 5:22 am
I think adding the WeekDay and Hour columns to the main table make the most sense. Computed columns will be more efficient than a trigger, but they do have...
March 7, 2023 at 5:17 am
Is there a reason the app team can't tell you which columns are unused?
I'm glad someone else said that. If they're the ones that are going to review the...
March 7, 2023 at 5:05 am
Thanks for the feedback. I wish I had the answer for you folks. I dont. Hopefully , someone else might see this and be able to rattle one off.
And, isn't...
March 6, 2023 at 8:09 pm
Jonathan AC Roberts wrote:I can't say I have ever used RIGHT JOIN. I think it is only in the language for completeness.
I use it a fair bit in real life.
Why...
March 6, 2023 at 4:12 pm
I can't say I have ever used RIGHT JOIN. I think it is only in the language for completeness.
I use it a fair bit in real life.
March 6, 2023 at 3:01 pm
You've posted delimited data. Take it to the next step and post it as readily consumable data and you might get better answers because more people will give it a...
March 6, 2023 at 3:00 pm
Just in case you need to fight off the folks that still think that regular index maintenance based on logical fragmentation is a good idea, Microsoft finally "got the word"...
March 5, 2023 at 8:19 pm
Then the derivative code from SwePeso's post will correctly return the total number of decimal hours for you. You only think his code was complex because he included test data...
March 5, 2023 at 7:55 pm
Secondly, the data was imported from excel in hh:mm format but it is coming up in sql as varchar.
Understood... Such a statement generally means that no value will be...
March 5, 2023 at 6:28 pm
So... lemme get this straight... you actually have a 4.1 TERAbyte TempDB??? This suggests to me that your code has some real problems and that you grew tempdb to that...
March 5, 2023 at 12:06 am
Viewing 15 posts - 1,741 through 1,755 (of 59,061 total)