| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> Pro*C question
Table tab has field f as char[4].
In pc file, var is declared as char[4],
strncpy(var, "abcd", 4);
select ...
from tab
where f = :var;
works when compiled with Proc*C 1.6,
however when code is compiled in Pro*C 2.3, it blows up, it needs var be a null teminated string.
Could anyone explain, is this code problem or Pro*C problem?
Thanks,
Leo Received on Sun Feb 02 1997 - 00:00:00 CST
![]() |
![]() |