edwardturner
Technical User
Hi,
Using a SQL statement how can I remove carriage returns from an ntext field? I have tried using the replace function but do not know what to use to denote a carriage return:
update <table>
set <field> = replace(cast(<field> as nvarchar), A, B)
A being a carriage return
B being what I want to replace it with, i.e. nothing.
any ideas or am i going about this the wrong way?
Using a SQL statement how can I remove carriage returns from an ntext field? I have tried using the replace function but do not know what to use to denote a carriage return:
update <table>
set <field> = replace(cast(<field> as nvarchar), A, B)
A being a carriage return
B being what I want to replace it with, i.e. nothing.
any ideas or am i going about this the wrong way?