0

in a query where condition clause. to check if string a contain b, I have a few options with T-SQL(Sybase):

a like '%b%'
charindex(b,a)>0
patindex('%b%', a)>0

which one has better performance?

KentZhou
  • 24,805
  • 41
  • 134
  • 200

0 Answers0