Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stored Procedure returning no results
Message
 
 
To
30/05/2012 10:21:04
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Environment versions
SQL Server:
SQL Server 2008
Miscellaneous
Thread ID:
01544680
Message ID:
01544776
Views:
15
>>In other words, seems like LIKE comparison doesn't work when there are some extra characters in the field even spaces. = ignores spaces.
>
>Ah, got you now. You are right, it has blank characters at the end of it. I will see how this is getting into the field and fix it. Thanks.

I found recently that we were saving varchar fields with spaces from VFP. You need to apply cursorsetprop("MapVarchar", .t., 0) before opening tables and also use a special format for text fields to prevent spaces beeing saved with the fields.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform