Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Differencing an upper case from a lower case in a query
Message
De
27/11/2002 12:10:12
 
 
À
27/11/2002 11:57:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00727620
Message ID:
00727626
Vues:
9
m.texto="%"+UPPER(alltrim(thisform.pageframe1.page1.pageframe1.page5.text1.value))+"%"
if empty(m.texto)
=messagebox("please type something")
else
select llamadas.detalle as problema, llamadas.solucion as detalle;
from llamadas;
where UPPER(llamadas.detalle) like m.texto ;
and llamadas.bdc = .t. ;
into cursor bcproblemas3
report form bcinforme.frx preview
endif


Just understand that the query will take a little longer(*) unless you have and index on UPPER(detalle)

(*) shouldn't be noticable (unless you have an index on detalle)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform