I am passing a value global variable as sysdate() which is having a fromat yyyy.mm.dd hh:mm:ss. I am using the global variable in the where clause and declaring for one column in query transformation. The column which is mapped to the source table column is having date filed of format mm/dd/yyyy. Please suggest how i can convert the sysdate format to mm/dd/yyyy so I can get the desired output.
Summary: sysdate() returns a native datetime datatype, it has no format. You can use to_char(sysdate(), ’ mm/dd/yyyy’) to convert a datetime into a string of your format.
As said, a date does not have a format. You cannot say date <> date because the format is different. Either it is a date or a string. So let’s start one level higher: What is the error message you are getting?