Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Implementing $-like Functionality
Message
De
16/06/1999 08:39:14
 
 
À
15/06/1999 18:01:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00230204
Message ID:
00230347
Vues:
27
>Select * from mytable where ;
>{fn ucase(mymemofield)} ;
>LIKE "'%" + mytextvar +"%'"
>
>I'm not at the office at the moment, so I don't have the precise error message, but it's something to do with trying to convert the data type to VARCHAR.

I'm thinking that the problem is the ucase() of the text column. Hmmm...The BOL says that SQL Server will do an implicit conversion between Text and Varchar.

If your SQL Server is installed with a case-insensitive sort order (the default) then you don't need the ucase(). Try that.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform