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: 
gidon500
Creator II
Creator II

Load from Sql database

Hello

i have an SQL table with App 4,000,000 lines

i want to start the load fro line 3500000

how can i do it with out a condition in the load script ,

thanks

gidon

3 Replies
its_anandrjs
Champion III
Champion III

Load your table like

Load

Statements

..

...

From Location

Where RecNo( ) > 3500000;

Regards

its_anandrjs
Champion III
Champion III

For your SQL load statement write a code like

LOAD Region, Country Where RecNo() > 3500000;

SQL SELECT Region, Country

FROM Emp;

Write this statement Where RecNo() > 3500000

maxgro
MVP
MVP

if you want the filter in sql server, I think

Table:

load

  *;

SQL

select * from (

SELECT ROW_NUMBER() OVER (

   ORDER BY (SELECT 1)) AS RowNumber, 

*

FROM YourSqlServerTable

) a

where RowNumber > 3500000;