Sql Wildcard

cnicolapc

Active Member
Licensed User
Longtime User
Hi,

In a SELECT ......WHERE.....statement you can use the wildcard.
Example to return all Record as names Susan whith "Sus" or "usan".?
You can set a variable with name such as "*" & Name & "*" ?
Thank You
Nicola
 

cnicolapc

Active Member
Licensed User
Longtime User
hi,
I may have solved

VarName= "%" & testocerca.Text & "%"

VarName= "Sus" or "usan" return "Susan"

Thanks anyway
Nicola
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…