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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Load only first 10 records

HI
 A small scenario:How to load first 10 records in my target DB. Please let me know how many ways can be solved this problem.
Thanks&Regards
Siva.
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Use tsample row with Range "1..10" and insert into your Desired Database

View solution in original post

6 Replies
Anonymous
Not applicable
Author

Hi
Add a sequence number to each records, filter the rows which lesser than 11.
Best regards
Shong
Anonymous
Not applicable
Author

Use tsample row with Range "1..10" and insert into your Desired Database
Cloudbee
Contributor
Contributor

Hi,
if you mean DB like MySQL I would put the limit to the MySQL query, can't see the point to pull like million rows first and then start limiting them.
Just add "LIMIT 10" to your SQL query.
Peter
The Biggest Talend Components Provider (except Talend)
Anonymous
Not applicable
Author

if your input is file then use "limit" option to get 10 rows only. 
Anonymous
Not applicable
Author

Tank u kiranpariyarath 
Thanks&Regards
siva.a
Anonymous
Not applicable
Author

u r welcome 0683p000009MACn.png