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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
bhavvibudagam
Creator II
Creator II

Sql command issue in qlikview

Hi,

I have the below script.When I reload I am getting the error as shown in the image.Please help me to do

ODBC CONNECT TO [PDRMSBKUP;DBQ=PDRMSBKUP ] (XUserId is KMAKLZVNTTcKGYdNSDdcC, XPassword is bDaIOZVNTTcKGYdNSDdKL);

TTTT:

LOAD *;

SQL SELECT *

FROM LEADS.LWMAIN WHERE MODTIME >= $(vPDRMSBKUP_LWMAIN_RecentDate) ;

Thanks !

13 Replies
adamdavi3s
Master
Master

just convert it to decimal.

In tSQL this is select convert(decimal(12,4),getdate()) but I suspect that oracle is different

bhavvibudagam
Creator II
Creator II
Author

ODBC CONNECT TO [PDRMSBKUP;DBQ=PDRMSBKUP ] (XUserId is KMAKLZVNTTcKGYdNSDdcC, XPassword is bDaIOZVNTTcKGYdNSDdKL);

This is the connection which we have used can you please tell me in oracle also

adamdavi3s
Master
Master

You probably don't want to go sharing your connection string on the web

It is of no use to us anyway

Can I suggest that you google the issue as it would appear to be an ORACLE issue rather than a qlik one, please see my message below for a pointer in the right direction!

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Try this,

SQL SELECT *

FROM LEADS.LWMAIN WHERE MODTIME >= TO_DATE('$(vPDRMSBKUP_LWMAIN_RecentDate)', 'DD/MM/YYYY hh:mm:ss TT');

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!