Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Pro*C Problem with Oracle!

Re: Pro*C Problem with Oracle!

From: Jack Pawsat <that.guy_at_abc.123>
Date: 1997/10/27
Message-ID: <01bce2b1$91de8760$3c4ba8c0@sos.sos-kd.org>#1/1

> strcpy(some_data,dbdata->data[0]);
> strcpy(some_more,dbdata->data[1]);
Is your variables for dbdate->data[0] and data[1] properly terminated with a hex zero? STRCPY copies to the target the information in source using hex zero in the source to determine the length. Therefore, if your source is not properly terminated than you would get "values too large for this column" Received on Mon Oct 27 1997 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US