Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

unknown statement WHERE LastModifiedDate >=$(vLastExecTime) and LastModifiedDate < $(vSFDCExecTime);// and IsDeleted = false;

The following statement had no problem on my system,

WHERE LastModifiedDate >=$(vLastExecTime) and LastModifiedDate < $(vSFDCExecTime);

but when i run it on different system ,the error is

unknown statement

WHERE LastModifiedDate >=$(vLastExecTime) and LastModifiedDate < $(vSFDCExecTime);

1 Solution

Accepted Solutions
Not applicable
Author

The error

Unknown statement

WHERE Not(Exists (Id))

due to

LOAD *

  FROM $(vIntegratedQVDPath)SFDC_$(tableName).qvd (qvd); // due to semi colon here which ends the statement

  WHERE Not(Exists (Id));

View solution in original post

3 Replies
Anonymous
Not applicable
Author

In any case, use single quotes:

WHERE LastModifiedDate >='$(vLastExecTime)' and LastModifiedDate < '$(vSFDCExecTime)';

And - what is the difference between the systems?

Not applicable
Author

Hi,

vLatExecTime is the variable then check the variable declaration while running in other system

Not applicable
Author

The error

Unknown statement

WHERE Not(Exists (Id))

due to

LOAD *

  FROM $(vIntegratedQVDPath)SFDC_$(tableName).qvd (qvd); // due to semi colon here which ends the statement

  WHERE Not(Exists (Id));