Westonci.ca is the Q&A platform that connects you with experts who provide accurate and detailed answers. Experience the convenience of getting reliable answers to your questions from a vast network of knowledgeable experts. Experience the ease of finding precise answers to your questions from a knowledgeable community of experts.

How can you avoid result truncation when the string_agg aggregation result exceeds the limit of 8000 bytes in SQL?
a. Use LOB (Large Object) types
b. Increase the limit in the database settings
c. Split the results into multiple columns
d. Use a different aggregation function