Re: newbie ProC insertion question
From: Saad Ahmad <sahmad_at_mfa.com>
Date: 3 Feb 1995 21:53:58 GMT
Message-ID: <3gu8lm$dvb_at_homer.alpha.net>
Date: 3 Feb 1995 21:53:58 GMT
Message-ID: <3gu8lm$dvb_at_homer.alpha.net>
DSTI Crystal City Office (dsticc_at_access.digex.net) wrote:
> SOW_TEXT.len = strlen(EF4_DOC->SOW_TEXT);
> strncpy(SOW_TEXT.arr, EF4_DOC->SOW_TEXT,SOW_TEXT.len);
> EXEC SQL INSERT INTO STATEMENT_OF_WORK(SOW_TEXT)
> VALUES(:SOW_TEXT);
> SOW_TEXT in the STATEMENT_OF_WORK table is the "long".
> This runs without sqlerrors, but inserts only 80 characters of the host
> variable. Any insight on this problem will be greatly appreciated.
What is the 81st character in EF4_DOC->SOW_TEXT.
-- ************************************************************** * Saad Ahmad * * E-Mail: sahmad_at_mfa.com * **************************************************************Received on Fri Feb 03 1995 - 22:53:58 CET