I created the procedure listed below:
CREATE procedure getdata ( @ID int, @frm varchar(250), @to varchar(250) ) AS BEGIN DECLARE @SQL nvarchar(5
You got this Error because you tried to convert column DataType from String to int which is
DataType
String
int
leagal if and only if
you dont have row in that table with string content inside that column
so just make sure your previously inserted Rows is compatible with the new changes
compatible with the new changes