Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Char(100) field VS Text
Message
From
19/04/2012 11:13:08
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01542085
Message ID:
01542121
Views:
23
>If the string you are trying to find in the varchar field is a TEXT field or TEXT variable, you'll need to cast it to a Varchar(MAX) or varchar(some reasonable length) type before comparing.
>
>All the error is telling you is that you can not mix varchar and TEXT types in a comparison. TEXT is just an odd type (one of the reasone to avoid if possible).

There must have been a bad setup I did in my first simulation because when I did that simulation again, it worked. So, this issue is resolved.

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform