newbie ProC insertion question
From: DSTI Crystal City Office <dsticc_at_access.digex.net>
Date: 3 Feb 1995 15:36:47 -0500
Message-ID: <3gu44v$j1a_at_access1.digex.net>
Date: 3 Feb 1995 15:36:47 -0500
Message-ID: <3gu44v$j1a_at_access1.digex.net>
varchar SOW_TEXT[12800]; /* 2 pages of text */
I dereference the string with:
SOW_TEXT.len = strlen(EF4_DOC->SOW_TEXT);
strncpy(SOW_TEXT.arr, EF4_DOC->SOW_TEXT,SOW_TEXT.len);
I then insert it with:
EXEC SQL INSERT INTO STATEMENT_OF_WORK(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.
thanks for your time,
Vince Calcaterra
DSTI Crystal City VA.