キャリッジリターンが含まれる場合と含まれない場合があるテキスト列があります。それらが含まれている場合、それは私のレポートを破棄し、余分な行を追加します。キャリッジリターンを削除してスペースに置き換える方法はありますか?
質問する
2566 次
1 に答える
0
In the SQR script just modify the initial select from the database. I used the str_replace() function to remove any carriage returns and line feeds from that text field.
eg.
SELECT str_replace(COMMENT_TXT, CHAR(13)+CHAR(10), "") FROM TABLE_NAME
char(13) and char(10) represent carriage return and line feed respectively.
于 2012-06-12T15:38:45.113 に答える