Skip to main content
Solved

I'm trying to retrieve only 10 or so rows from source - SQL Catalog Item

  • August 31, 2023
  • 1 reply
  • 59 views

Forum|alt.badge.img+1
  • Data Pioneer
  • 5 replies

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

 

 

 

 

Best answer by Albert de Ruiter

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

View original
Did this topic help you find an answer to your question?

1 reply

Albert de Ruiter
Star Blazer L3
Forum|alt.badge.img+4

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings