Viewing 15 posts - 16 through 30 (of 95 total)
Jonathan thank you!! It works. I appreciate your help!!
February 18, 2023 at 4:52 am
Something must be incorrect. It just keeps running and running. There are only around 249K rows I believe and it is running for pretty long time already and no output.
February 18, 2023 at 3:07 am
Jonathan thanks for your help. I appreciate it.
There is an issue here. It just prints all the chain names and doesn't differentiate that some UPCs are not available or available...
February 18, 2023 at 2:42 am
Jonathan it is Microsoft SQL Server 2016
February 18, 2023 at 2:13 am
I have SSMS v18.5.1. When I tried to do it, it gave me an error namely 'STRING_AGG' is not a recognized built-in function name.
February 18, 2023 at 2:05 am
Jonathan great. Thanks. I appreciate your help.
One more small question. This code basically compares items between ITEM/LOC and temp and returns if there is a mutual match between temp table...
February 17, 2023 at 12:39 am
Jonathan AC Roberts I think yours work. Thank you.
Can I ask do you know guys what am I doing wrong?
I am trying to detect if items from the table TEMPLATE...
February 16, 2023 at 10:17 pm
drew.alen
It doesn't want to accept the code in the middle with ;WITH clause
February 16, 2023 at 10:00 pm
Jeff you are right. It shows last week. My apology for this question. Thank you for helping.
January 19, 2023 at 11:13 pm
@jonathan-2 AC Roberts it works. Thank you!!
January 6, 2023 at 10:30 pm
@drew.allen it is still wrong though.
The first row should return 46006690.094600 and it returns smth unexpected 36980572.510250
January 6, 2023 at 5:23 pm
I thought that I need to do just simple moving average
AVG([ONQTYCOGS]) OVER ( ORDER BY [WED]
ROWS BETWEEN 52 PRECEDING AND CURRENT ROW
) ROLL1
but it doesn't return what I need (the...
January 6, 2023 at 4:50 pm
/* drop table DC_ANALYSIS;
create table DC_ANALYSIS (
DC int,
WED int,
ONQTYCOGS decimal(12,2),
OBCOGS decimal(12,2))
*/
The explanation what I am trying to achieve is above. ROLL1 should be average of 1 week for the first...
January 6, 2023 at 2:22 pm
ScottPletcher and pietlinden this is what I need. Thank you very much!!
Jeff Moden I did it 3 times to show that I visually display the result of each of them....
December 29, 2022 at 1:14 am
Viewing 15 posts - 16 through 30 (of 95 total)