|
pupupu01written OK
The complete error-free stored procedure is as follows:
CREATE PROCEDURE Test
(
@idStringNVARCHAR (1000)-if its value is 1,2,3,4,6,7,8,
)
AS
update usertable set username = 'test' where charindex (',' + rtrim (id) + ',', ',' + @ idString + ',')> 0
GO |
|