Skip to main content

Hi, I have created a SQL Catalog item in UI however I'm trying to retrieve only 10 or so rows from the database. I am using the SELECT TOP/LIMIT clause to choose how many rows I want to retrieve both queries are having errors, I'm not sure what the problem is, does anyone have any ideas? Thank you.

 

SELECT TOP 10 FROM x 

 

SELECT * FROM x LIMIT 10

 

 

 

 

Hi @C_R

Depending on the underlying database platform there will be different options to limit the number of rows. Therefore I suggest to test the query outside Ataccama on the database directly first.

Kind regards,

Albert


Reply