Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UPPER expression with LIKE comparison
Message
 
 
À
Tous
Information générale
Forum:
Oracle
Catégorie:
Autre
Titre:
UPPER expression with LIKE comparison
Divers
Thread ID:
00880074
Message ID:
00880074
Vues:
51
we have a index with this expression - UPPER{"CLASTNAME")

our sql statement
Select * from MyTable where UPPER("CLASTNAME") LIKE 'SMITH%'

every time we run this, oracle does a full table scan, this is bad when we expect to have over 4 million records in this table.

what am I missing or can't we ever use UPPER() with LIKE ???


TIA
Mark
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform