Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Implementing $-like Functionality
Message
From
16/06/1999 08:39:14
 
 
To
15/06/1999 18:01:47
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00230204
Message ID:
00230347
Views:
26
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform