c - sqlca.sqlerrm.sqlerrmc SQL code -284 -


i using embedded c: following query returns strange sqlcode -284

  exec sql    select  *       :xx       xx    ....  if (sqlcode < 0)   {      err_log( "code %ld sqlerrmc %s",sqlca.sqlerrm.sqlerrml,sqlca.sqlerrm.sqlerrmc);     db_error("");     return -1;   } 

the error log was: code 4 sqlerrmc sql error -284 on line 2803

could please support me ?

from postgresql web site describing sqlca:

-284 (ecpg_informix_subselect_not_one) result of subquery not single row (informix compatibility mode). (sqlstate 21000)

i found within 2 minutes of googling "postgresql embedded sql -284". i'd suggest make more of effort find primary documentation such on asking question on so.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -