Q

Inserting carriage return

I have already inserted a row without a carriage return. In my update statement, can I use the CHR(13)||CHR(10)to insert the carriage return?
CHR(10) is the newline character and CHR(13) is the carriage return character (Takes you to the beginning of the line). If you want to add it to the end of the column value you should be able to just append it:
UPDATE my_table
SET my_column = my_column || CHR((13) || CHR(10)
WHERE . . . . .

This was first published in March 2004

Dig deeper on Oracle database design and architecture

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close