BUG: Msg 257 When Inserting NULL values by RPC (172335)
The information in this article applies to:
This article was previously published under Q172335
BUG #: 17124 (SQL 6.5)
SYMPTOMS
If you use an INSERT statement with a remote stored procedure call to
insert NULL values, you may receive the following error:
Msg 257
Implicit conversion from datatype 'int' to 'varchar' is not allowed. Use
the CONVERT function to run this query.
The same script running on a local server works correctly.
This problem has been tested on SQL Server build 6.50.258.
WORKAROUND
To work around this problem, replace NULL values with '' (null string).
STATUS
Microsoft has confirmed this to be a problem in Microsoft SQL Server 6.5.
Modification Type: | Minor | Last Reviewed: | 3/1/2005 |
---|
Keywords: | kbBug kbusage KB172335 |
---|
|