一般情况下是SQL语句:
Select * From Users Where UserName Like 'Lin%'
采用参数化SQL
DECLARE @pattern VARCHAR(MAX) SET @pattern=Lin%' Select * From Users Where UserName Like @pattern
Powered by: 博客园 Copyright © 2024 天下一家·MJ Powered by .NET 9.0 on Kubernetes