First create user defined split function in DB using this link Then Apply to your table. it would very easy for you.
How about the assigning the variable
@name='%sa%'
and then using this below query
select * from employee where Names LIKE (@name)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.