If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > How to insert a break line ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-28-03, 08:40
Ericq Ericq is offline
Registered User
 
Join Date: Oct 2002
Posts: 2
How to insert a break line ?

Hi,
I just want to insert a break line in a char(200) datafield with a simple insert/update query :
update toto set my_txt="My title.Insert a breakline here. My txt."
where ...

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 08-28-03, 09:06
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Re: How to insert a break line ?

Quote:
Originally posted by Ericq
Hi,
I just want to insert a break line in a char(200) datafield with a simple insert/update query :
update toto set my_txt="My title.Insert a breakline here. My txt."
where ...

Thanks in advance.
Hi,
Yuo want to insert a break into the databse or in a flat file ?

With update, would can you try to arm variables with the first 199
characters, to concatenate the wished character to him and to
concatenate the rest to him of string.

With a flat file can yuo then awk for the change.

Gustavo.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On