how to set the parameter length in ocibindbyname()

admin

Administrator
Staff member
if I set length=-1 like this
OCIBindByName($stmt,":freq1",&$freq1,-1);
freq1 is a char variable
nut it's error,this is error message:
numeric or value error: character string buffer too small ORA-06512

how to set this parameter
 
Back
Top