I need a column that just returns the Month of my Due Date.
Here is what I have so far...
SELECT 'Key',
FORMATWIKI(SUM('Summary')) AS 'The Summary',
FORMATWIKI(SUM('Due')) AS 'Due Date',
(something here) AS 'Month of Due Date'
Hi @Laurie Huth,
It seems that this question is a duplicate of this one, so please find the answer there.
Hi @Laurie Huth
It would depend on the field type, for instance, if if it is a date/datetime you can use the function: MONTH(date)
Explained better here:
https://www.geeksforgeeks.org/month-function-in-mysql/
Hopefully this answers your question.
Regards,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you. I've tried these suggestions. However, the column is created but there is no data (i.e., integers) that appear. It's just empty cells. Not sure what I am doing wrong.
Any other suggestions?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.