Viewing 15 posts - 16 through 30 (of 95 total)
Ahhhh that's much better for me.
Thank you Chris.
April 9, 2020 at 3:20 pm
Thank you Frederico.
April 9, 2020 at 10:34 am
Thank you. My intention was if any of the fields were = 40 then update them to zero. I used the single update statements as suggested by Mike in the...
November 6, 2019 at 3:05 pm
Oh, I see. Haha, just me trying to be clever
Thank you for your help Mike. I'll go with the simple option.
November 5, 2019 at 3:44 pm
Yes, thanks John. I've done that now.
Anyone have any idea how or why some columns ended up different collation to the others and to the default collation of the server...
August 9, 2019 at 2:13 pm
Hi Crow,
I see, I didn't realise that. I got the script off the net, I thought it would update the collation for me.
Thanks for the insight. I'll copy the results...
August 9, 2019 at 12:32 pm
Brilliant, thank you very much Scott.
August 30, 2018 at 10:06 am
Thank you all for you help and replies. I've been speaking with my boss and he has suggested doing it a different way now.
August 16, 2018 at 2:22 am
I should add that the dates don't show up in the customers output.
They are only included in the view so that I can use them to filter it.
August 15, 2018 at 8:01 am
Well, the query is to find out what items the customer currently has in stock.
They choose a filter date and (if they wish) a product group and...
August 15, 2018 at 7:54 am
Hi Steve,
The only things I want to group by are Products.REFERENCENUMBER, products.PRODUCTGROUP, Products.DESCRIPTION, Customer.CUSTOMERNUMBER, Stock.CustomerID, customer.name.
I need the dates in the query because it's...
August 15, 2018 at 7:06 am
Sorry Phil,
The fields I need to omit from the group by clause are the date fields (Stock.DATEANDTIMEIN and Stock.dateout)
Thank you
Paul.
August 15, 2018 at 6:45 am
Ok Ben. Thank you very much for your time and explanation.
August 15, 2018 at 2:13 am
Brilliant Ben, thats done the trick. Thank you.
I don't understand how this line works though....
SUM(total)*1.0 / COUNT(*) AS Price_Per_Unit
How does it...
August 14, 2018 at 8:37 am
Is there any way I can reference "Quantity" so that I can divide the "Price" by the "Quantity" to get the price per unit?
August 13, 2018 at 6:46 am
Viewing 15 posts - 16 through 30 (of 95 total)