In this blog post, you’ll learn more about the Sybase Error Unterminated C string and the reason for receiving this error
Sybase SQL Error Message
Unterminated C string
Reason for this Error
The last byte of a C string host variable must contain the null character.