Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
How to generate a qvd to get fields with following SQL Script, please give me QlikView table structure script for this.
;WITH LOB_CTE(LOB_CODE,LOB_DESCRIPTION,PARENT,TOPPARENT,DEPTH) AS
(
SELECT A.LOB_CODE,
A.LOB_DESCRIPTION,
A.PARENT,
A.LOB_CODE AS TOPPARENT,
0 AS DEPTH
FROM Dim_LOB A WHERE Parent='20BSU0000'
UNION ALL
SELECT C.LOB_CODE,
C.LOB_DESCRIPTION,
C.PARENT,
LOB_CTE.TOPPARENT,
LOB_CTE.DEPTH+1 AS DEPTH
FROM Dim_LOB C
INNER JOIN LOB_CTE
ON LOB_CTE.LOB_CODE = C.Parent
)
Cheers,
Ganesh.
Make sure you end the statement with a semi colon ';' .
Hi Krishna Chaitanya,
can you pls give me complete script for multiple qvd generators:
I have to create many:
for loop script with sql db table names like:
sql select * from "SF_Con".dbo."EMP_COMP";
sql select * from "PD_DATA".dbo."ORG_NM";
sql select * from "AFS_VAL".dbo."DBNM_SF";
into qvd's with single store command
Thanks In Adavnce
Can anybody pls help me with this