Hi All,
Sorry Everyone.
Here is the Error message I'm getting while executing the Syntax:-
Could not execute 'DECLARE WHSList varchar(5000)'
SAP DBTech JDBC: [257]: sql syntax error: incorrect syntax near "DECLARE": line 1 col 1 (at pos 1)
Could not execute 'SELECT COALESCE(:WHSList || ',', '') || '"' || "WhsCode" || '"' INTO WHSList FROM SBODEMOIN."OWHS"'
SAP DBTech JDBC: [467]: cannot use parameter variable: WHSLIST: line 1 col 17 (at pos 16)
Could not execute 'SELECT WHSList FROM DUMMY'
SAP DBTech JDBC: [260]: invalid column name: WHSLIST: line 1 col 8 (at pos 7)