0
DECODE(GL.DOCTYPENUM,160901,'Opening Balance',(select rtrim(xmlagg(xmlelement(e, a.accountdesc || ',')).extract('//text()').extract('//text()') ,',') accounts 
from generalledger gll
inner join Accounts a on ( a.accountid =  gll.accountid and gll.accountid !=103978)
where gll.voucherid=gl.voucherid)) particulars from generalledger gl

I am running a SQL query, when running the query it gives me the error

ora-19011 character string buffer too small.

When checking the query the above code gives an error, unable to figure out where to make the change.

Thanks!

jarlh
  • 42,561
  • 8
  • 45
  • 63
AJ1102
  • 1
  • 1

0 Answers0