Solved
Forum Discussion
richie
6 years agoCommunity Hero
Hey shubhimu
I dont know whether i can help but i'll try cos it doesnt look like anyone has any ideas on this.
Firstly...this is sqlserver not oracle right? (cos sqlserver doesn't have a clob datatype and i havent seen try/catch in oracle before)
Secondly you need to specify the type of the column for the clob type, right? So if sql server doesnt have clob type, but clob type data is instead stored in either NVARCHAR(max) or VARCHAR(max), rather than sql.VARCHAR, have you tried sql.VARCHAR(max) in your sql?
Thirdly....you said you're trying to execute the proc via groovy.....have you tried running the proc via a JDBC step instead?
That's all the ideas i have im afraid!
Nice one,
Rich
I dont know whether i can help but i'll try cos it doesnt look like anyone has any ideas on this.
Firstly...this is sqlserver not oracle right? (cos sqlserver doesn't have a clob datatype and i havent seen try/catch in oracle before)
Secondly you need to specify the type of the column for the clob type, right? So if sql server doesnt have clob type, but clob type data is instead stored in either NVARCHAR(max) or VARCHAR(max), rather than sql.VARCHAR, have you tried sql.VARCHAR(max) in your sql?
Thirdly....you said you're trying to execute the proc via groovy.....have you tried running the proc via a JDBC step instead?
That's all the ideas i have im afraid!
Nice one,
Rich