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 > Trim Function question

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-08-05, 16:07
zombie_man23 zombie_man23 is offline
Registered User
 
Join Date: Jul 2005
Posts: 24
Trim Function question

Is this the correct way to use the trim function? A grade may have 2 spaces before the letter or 2 spaces after the letter. And I want to trim both sides of the grade to get just the letter(s). This statement is in the query's where clause:

trim(i.grade) in ('A','B','C','D','F','WF','I','E')
Reply With Quote
  #2 (permalink)  
Old 11-08-05, 23:32
blackguard blackguard is offline
Registered User
 
Join Date: Sep 2002
Posts: 102
That's correct.
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