Viewing 15 posts - 1 through 15 (of 47 total)
The monthly data would be limited to the first six months of sales based on the date they joined the program. After six months, I no longer need to report...
February 16, 2024 at 7:30 pm
Simple enough. It just takes the field name and divides by 1, removes any whole number, and returns the balance. In this case, decimals. Thank you.
June 9, 2021 at 9:46 pm
Thanks Phil. This looks like the results I expected. Now to incorporate it into my main query. I appreciate the guidance on char vs varchar. I did not know, but...
November 24, 2020 at 4:03 pm
I need to add a little twist to the data. When the item is considered stockable at loc9999, I need it to have it's own usage. When it's not stockable...
November 23, 2020 at 10:36 pm
Thanks guys. Looks like I've got to do some searching and brush up on CROSS APPLY. I'll test these out.
November 17, 2020 at 5:25 pm
Thank you both. I will dig deeper and see if I can narrow the issue by looking at the execution.
July 9, 2019 at 3:48 pm
I have the table already and the "emailed" column is NULL. I want to create a SQL job that looks at that table and emails any rows where the email...
February 9, 2019 at 7:51 am
February 4, 2019 at 11:37 am
here i am stripping out time to get...
February 4, 2019 at 11:35 am
I think I can take it from here. All of these are very helpful, now just to move them into a CTE so I can expand the report. Thank you...
January 8, 2019 at 2:54 pm
All of these are close, but maybe I didn't explain it correctly. I have a main item and it's substitute. The sub can also be a main item with a sub...
January 8, 2019 at 1:47 pm
Luis, This is perfect, I was trying to alias the SELECT * FROM S pivot (... and couldn't get it. Now that I see it in type, it makes sense.
July 5, 2018 at 12:45 pm
Thank you. I will work on this.
June 20, 2018 at 9:58 am
Thank you for double checking my work. I was focused on the date and forgot to partition by supplier. Now it looks right.
March 1, 2018 at 10:52 am
Figured it out. Added a row to the subquery to number the dates that were the same date.,
March 1, 2018 at 10:22 am
Viewing 15 posts - 1 through 15 (of 47 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy