Looks like there is no syntax error as a Similar query in same format works fine for me
anyways try this
Regards,
Ravi
anyways try this
Code:
sqlquery="SELECT CMPGN_DIM_ID FROM STENCPS01.UDWHIT.CPS_ADVRTSNG_CMPGN_FACT where ADVRTSR_BRAND_DIM_ID in ("&array1(i)&")"
Set rs= gDBConnection.execute (sqlquery)Regards,
Ravi

