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 > \ backslash in UNLOAD

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-18-03, 02:22
g0pal g0pal is offline
Registered User
 
Join Date: Aug 2003
Posts: 14
Exclamation \ backslash in UNLOAD

My select statement is like this.

Select 'Begining Date=' || begdate || '|Ending Date=' || endate from Schedule.

I expect a result like this for this when UNLOAD is done using this sql.

Begining Date=9/18/2003|Ending Date=9/19/2003.

But the result I got was

Begining Date=9/18/2003\|Ending Date=9/19/2003.

Please see '\' backslash character coming in the above result.

Why is this so? Any suggestions... How to avoid this backslash?

Thanks,
Gopal
Reply With Quote
  #2 (permalink)  
Old 09-24-03, 00:35
Wzhu Wzhu is offline
Registered User
 
Join Date: Sep 2003
Location: Japan
Posts: 1
Re: \ backslash in UNLOAD

Quote:
Originally posted by g0pal
My select statement is like this.

Select 'Begining Date=' || begdate || '|Ending Date=' || endate from Schedule.

I expect a result like this for this when UNLOAD is done using this sql.

Begining Date=9/18/2003|Ending Date=9/19/2003.

But the result I got was

Begining Date=9/18/2003\|Ending Date=9/19/2003.

Please see '\' backslash character coming in the above result.

Why is this so? Any suggestions... How to avoid this backslash?

Thanks,
Gopal
Hi,

If your DELIMITER is '\'. change DEliMITER character or try the query.

unload to 'unload file'
Select 'Begining Date=' || begdate , 'Ending Date=' || endate from Schedule

Regards,
Shu
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