Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I'm trying to fetch the records which were greater than 10/28/2015 05:10:55 PM from SQL through qlikview script.
I have field "Last updated Date time" which holds that value.
But when i use,
SQL SELECT
*
FROM Table WHERE DATETIME(LAST_UPDATE_DATETIME) >='10/28/2015';
It's throwing "missing expression from SQL" error.
Can some one please help me to get into the right format.
So, is there a way we can synamically say that it is AM or PM?
TO_CHAR(LAST_UPDATE_DATETIME, 'DD/MM/YYYY HH:MI:SS AM') should print the date with time stamp appending AM/PM at the end.
In Oracle that is just a placeholder.
Sinan,
So, AM is just the keyword which makes the data base to check but not like we were restrictingit to only "AM".
That's correct.
Here is a link for you:
How to represent time format AM/PM in Oracle S... | Oracle Community
Sinan,
I really thank you for your help.
Hi Chance,
I really appreciate you help.
You guys are so helpful.
Thank you again
You are welcome.