I have a procedure that accepts input as string and in procedure I want the parameter as integer, Please find the below procedure.
CREATE PROCEDURE [dbo].[spPERSON_SELECT]
(
@PersonID VARCHAR(MAX) = NULL
)
AS
BEGIN
SELECT PERSON.name
FROM PERSON
WHERE
PERSON.person_id NOT IN (@PersonID)
END
GO
Please help!