Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL LIKE command
Message
De
20/08/1998 07:49:04
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00127474
Message ID:
00128412
Vues:
33
>Hi Cetin,
>
> >what am I missing?<
>
> just put the parameter in brackets: (findtext) so it will be evaluated!
>
> regards
> Eugen
I think you misunderstood me. I say it would also work w/o parentheses and asked why you intentionally say it wouldn't work w/o parentheses.
findtext="%"+somecharvalue+"%"
* I claim both works
select * from sometable ;
  where searchfield like findtext
* You said "it can't work" 
select * from sometable ;
  where searchfield like (findtext)
Now if it was a name expression I would understand why to use parentheses. Here I ask is there something else that I don't know ? Regards.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform