Forum Discussion
SQL REPLACE function broken on Fabric Lakehouse SQL Endpoint
- 1 year ago
Hi jpersQ
To remove all carriage return (CHAR(13)) and line feed (CHAR(10)) characters from your SQL Server data, you can utilize the REPLACE function as follows:SELECT [Id],
[Description],
REPLACE(
REPLACE(
REPLACE(Description, CHAR(13) + CHAR(10), ''),
CHAR(13), ''),
CHAR(10), '') AS Cleaned_Description
FROM bronze_Salesforce_event;Best regards,
Ray Minds
http://www.rayminds.com
https://www.linkedin.com/company/rayminds/If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi jpersQ,
As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help.
If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.
If you still have any questions or need more support, please feel free to let us know. We are more than happy to continue to help you.
Thank you for your patience and look forward to hearing from you.