Switching from ADO to SDAC, and getting sql_variant to varchar conversion error
Posted: Wed 17 Jan 2007 20:56
We just purchased SDAC and immediately got this message. This error does not get raised with ADO.
This was not a query but an update statement. What is the solution to fixing this problem? The field "ACTOR_MEMCISID" is a varchar(13).
ERROR MESSAGE :
An exception was raised on the server: Statement(s) could not be prepared.
Disallowed implicit conversion from data type sql_variant to data type varchar, table 'NUAVS.dbo.TBL_LDAP_CURRENT', column 'ACTOR_MEMCISID'. Use the CONVERT function to run this query.
This was not a query but an update statement. What is the solution to fixing this problem? The field "ACTOR_MEMCISID" is a varchar(13).
ERROR MESSAGE :
An exception was raised on the server: Statement(s) could not be prepared.
Disallowed implicit conversion from data type sql_variant to data type varchar, table 'NUAVS.dbo.TBL_LDAP_CURRENT', column 'ACTOR_MEMCISID'. Use the CONVERT function to run this query.