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

Announcements
AWS Degraded - You may experience Community slowness, timeouts, or trouble accessing: LATEST HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

SQL Script in Qlikview - Where Clause and Top1

Hi I have the following code snippet in SQL and am looking to use it in my QLikview script.

however when applying directly into SQL it returns an error.

1. How to use a clause statement WHERE ?

2.How to use function TOP in script?

Any tips would be appreciated;

See code snippet below;

SELECT

TOP 1 updated, updatedby
From dboxxxxxx ."tblCase_CaseHistory";
WHERE caseid = ärendeid AND statusid IN (avslutadstatusid)

1 Solution

Accepted Solutions
perumal_41
Partner - Specialist II
Partner - Specialist II

Hi

try below script

First (1) Select * from Orders

View solution in original post

1 Reply
perumal_41
Partner - Specialist II
Partner - Specialist II

Hi

try below script

First (1) Select * from Orders