Author: RahulG31
Subject: Reply to: Get correct date and time when current time is over 12 hrs
Posted: Wed Oct 19, 2016 9:08 pm (GMT 5.5)
You are missing the word 'CASE' before 'WHEN'. I am not sure how your query would run without a mention of 'CASE'.
And if you are just missing that in this post, then you may well be missing some other fields as well. You need to break your query field by field and verify.
.
Subject: Reply to: Get correct date and time when current time is over 12 hrs
Posted: Wed Oct 19, 2016 9:08 pm (GMT 5.5)
Code: |
SELECT ( SELECT WHEN CURRENT_TIME <= '00:59:59' THEN |
You are missing the word 'CASE' before 'WHEN'. I am not sure how your query would run without a mention of 'CASE'.
And if you are just missing that in this post, then you may well be missing some other fields as well. You need to break your query field by field and verify.
.