Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
AlessandroCic
Contributor III
Contributor III

tHSQLDbInput: sintax to format date in Where condition

Hi

I'm using tHSQLDbInput and i wold like to filter my records by date.

Each SQL language has its own dialect 😀

I tried the Oracle format:

  Select * From myTable Where myDate > to_date('20180101-000000', 'yyyymmdd-hh24miss')

 

and also the SQL server format:

  Select * From myTable Where myDate > '2018/01/01'

 

But I have the error: "invalid datetime format"

 

What is the correct format to formatting a date in the where condition?

Regards

Alessandro

Labels (3)
1 Reply
AlessandroCic
Contributor III
Contributor III
Author

Up...