I am using odbc with MS Sql server database.
One of my Stored proc returns "varchar" data in one column (say Column1).
In C code I am trying to convert this data to char type.
If the Column1 = "foo2"
I am able to get value "foo" in C variable.
I want to fetch correct value "foo2" in my C variable.
Do i need to apply any conversion here ?