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;
TOP 1 updated, updatedby
From dboxxxxxx ."tblCase_CaseHistory";
WHERE caseid = ärendeid AND statusid IN (avslutadstatusid)