Conversion failed when converting the nvarchar value … to data type int

前端 未结 7 1393
我寻月下人不归
我寻月下人不归 2020-12-03 20:54

I created the procedure listed below:

CREATE procedure getdata
(
    @ID int,
    @frm varchar(250),
    @to varchar(250)
)
AS
BEGIN

DECLARE @SQL nvarchar(5         


        
7条回答
  •  执念已碎
    2020-12-03 21:04

    I have faced to the same problem, i deleted the constraint for the column in question and it worked for me. You can check the folder Constraints.

    Capture :

提交回复
热议问题