Error: Error converting data type int to nvarchar
This error occurs when a stored procedure which returns a value is used.
e.g
CREATE PROCEDURE [dbo].[spr_SP1]
@ColA INT,
@AutoID INT OUTPUT
AS
BEGIN
INSERT INTO TableA ( ColA )
VALUES ( @ColA )
SELECT @AutoID = SCOPE_IDENTITY();
END
When adding the parameter to the command on the code, usually...
Thursday, May 30, 2013
You may be intersted in
Related Posts
Updating Table Containing Xml Column via LinkedServer
If you are trying to update a table containing XML column via Linked Server in SQL Server, and you are not able to, you are not alone. There...