Sybase 'Text' data type compatibility problem.
Posted: Thu Jul 19, 2007 12:25 am
Hello All,
I have one sybase table which contains one of the field having a datatype as 'Text'. I am using Sybase OC as a connective, while insertion of data into 'Text' field I am getting an error message as'
' Sybase Server warning 2782 (severity 16) from stored procedure 'Input_0', line 1: An untyped variable in the PREPARE statement 'Input_0' is being resolved to a TEXT or IMAGE type. This is illegal in a dynamic PREPARE statement. '
In Sybase OC we don;t have any datatyps called as 'Text', so I tries Varchar, Char, LngVarchar but same error is occuring.
Can help me to sort the problem.
I have one sybase table which contains one of the field having a datatype as 'Text'. I am using Sybase OC as a connective, while insertion of data into 'Text' field I am getting an error message as'
' Sybase Server warning 2782 (severity 16) from stored procedure 'Input_0', line 1: An untyped variable in the PREPARE statement 'Input_0' is being resolved to a TEXT or IMAGE type. This is illegal in a dynamic PREPARE statement. '
In Sybase OC we don;t have any datatyps called as 'Text', so I tries Varchar, Char, LngVarchar but same error is occuring.
Can help me to sort the problem.