drop procedure procedureName
create procedure procedureName
@pchineseN varchar(10)
with encryption ---对本程序加密,
as
declare @pchinesename varchar(10)
select * from employeemsg where chineseName like '%'+@pchineseN+'%'
exec procedureName '李'
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/729024/viewspace-564823/ ,如需转载,请注明出处,否则将追究法律责任。