Skip to main content

I need to use the Inline Querier to perform a row_number, at the moment I am getting the following error (I am using this syntax in SSMS and it is working):

InlineQuerier(InlineQueryFactory): Error preparing database query: near "(": syntax error Unable to execute statement

 

InlineQuerier(InlineQueryFactory): Database was unable to prepare query 'SELECT "Conf Score"

 

,"TOID"

 

,ROW_NUMBER() OVER (PARTITION BY "TOID" ORDER BY "Conf Score" desc)

 

FROM "Sheet1" '.

InlineQueryFactory instance was not properly defined. Consult logfile for details.

 

InlineQuerier(InlineQueryFactory): A fatal error has occurred. Check the logfile above for details

 

A fatal error has occurred. Check the logfile above for details

The InlineQuerier is actually using an internal and temporary SQLite database, it doesn't connect to e.g. SQLServer (I mention this since I see you tagged your post with "sql server").

This means that you can only use SQLite-supported keywords in the InlineQuerier.

If you need to access your backend database, look into the SQLExecutor.


Reply