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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
huangchao
Contributor III
Contributor III

error of "Incorrect syntax" when doing incremental-load from SQL

Hi,

i am doing incremental-load from SQL...first time, i just learned some scripts from web.

"the_id" is field of figures, just want to bring in new data that "the_id" larger than MaxID in QVD file.

...

SQL SELECT * FROM DB.TABLE

where "the_id" > $(v.MaxID);

...

An error message pop up below:

ErrorSource: Microsoft OLE DB Provider for SQL Server, ErrorMsg: Incorrect syntax near > ...

what is reason and possible solution to solve it?

0 Replies