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,
Thanks for reaching out to the Microsoft fabric community forum.
It looks like you are facing issue with REPLACE function, which is not working properly in few instances. As nilendraFabric responded to your query, were you abke to go through his responses. If you are able to solve the issue, please mark the helpful reply as solution.
I would also take a moment to thank nilendraFabric, for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.
If I misunderstand your needs or you still have problems on it, please feel free to let us know.
Best Regards,
Hammad.
Community Support Team
If this post helps then please mark it as a solution, so that other members find it more quickly.
Thank you.
Hi jpersQ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.