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 > Simple case statement question,

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-06-09, 12:37
Beebo Beebo is offline
Registered User
 
Join Date: May 2009
Posts: 19
Simple case statement question,

Can anyone help me with the following case statement? I keep getting syntax errors when I try to run..

case when nlicense is null then "no series 7" else null end as rep_license
Reply With Quote
  #2 (permalink)  
Old 05-07-09, 03:09
Patrick Kong Patrick Kong is offline
Registered User
 
Join Date: Jul 2008
Posts: 8
remove the 'as'
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