I need to add a new SELECT statement whose search condition include something like leagueCode LIKE ‘nba%’.
I would like to know if the index against leagueCode is still exploitable or introduce any overhead after % is included in the target column.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
it depends 100% on the position of the wildcard.
Overhead? Sure – but it is not exactly high (no table scan) and there is not exactly a way to work around it.