Handling Large Email Body Exported from SQL Server to CSV
Hi ,
We are working with email data where the email body can contain around 46,000 characters. In Microsoft SQL Server, the complete email body is stored and displayed correctly within a single row.
However, when we export the query results to a CSV file, some email bodies are getting split across multiple lines in the CSV output. This appears to happen only for certain emails containing large amounts of text, line breaks, or special formatting.
Has anyone encountered a similar issue when exporting large text fields from SQL Server?
- Is this expected CSV behaviour due to embedded line breaks?
- Are there any recommended approaches to preserve the email body as a single field during export?
- Has anyone faced related challenges when importing such CSV data into Appian?
Any insights or best practices would be appreciated.
Thanks!
