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 > SQL syntax error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-01-11, 12:40
HDNightster HDNightster is offline
Registered User
 
Join Date: Mar 2011
Posts: 3
SQL syntax error

Hello, i am new to Informix and I am trying to write a SQL statement but I am getting the following error:

1213: Character to numeric conversion error

Here is the SQL and the ROUND function in bold red is causing the issue. i tried to do a conversion, but it does not help. Any ideas?

Last edited by HDNightster; 03-01-11 at 15:40.
Reply With Quote
  #2 (permalink)  
Old 03-01-11, 15:37
HDNightster HDNightster is offline
Registered User
 
Join Date: Mar 2011
Posts: 3
Okay, this turned out to be a data issue. I modified the case statements to cover all the scenarios

Last edited by HDNightster; 03-01-11 at 15:40.
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