Limit listagg function to first 4000 characters [duplicate]
问题 This question already has answers here : LISTAGG function: “result of string concatenation is too long” (12 answers) Oracle - ORA-01489: result of string concatenation is too long [duplicate] (1 answer) Closed 4 years ago . I have a query that uses the listagg function to get all rows as a comma delimited string to ultimately be shipped to a big text box. I'm getting the following exception: ORA-01489: result of string concatenation is too long I know the problem is that the query being run