Skip to main content
Solved

Inline Querier fails on SQL TOP function

  • June 11, 2015
  • 2 replies
  • 13 views

Forum|alt.badge.img
Hi All,

 

 

can anyone confirm/deny if the TOP function should work in the InlineQuerier, as in...

 

 

Select TOP 10 * from table1

 

 

I am having no joy so far

 

 

thanks

Best answer by takashi

Hi,

 

 

The InlieQuerier uses SQLite database internally, and SQLite doesn't support "TOP" clause. You can use "LIMIT"" instead.

 

-----

 

select * from table1 limit 10

 

 

Takashi
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

takashi
Celebrity
  • Best Answer
  • June 11, 2015
Hi,

 

 

The InlieQuerier uses SQLite database internally, and SQLite doesn't support "TOP" clause. You can use "LIMIT"" instead.

 

-----

 

select * from table1 limit 10

 

 

Takashi

Forum|alt.badge.img
  • Author
  • June 11, 2015
Thanks Takasahi, thats what I needed...