Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stored Procedure returning no results
Message
From
30/05/2012 15:21:27
 
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Environment versions
SQL Server:
SQL Server 2008
Miscellaneous
Thread ID:
01544680
Message ID:
01544817
Views:
22
>>>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.

Thanks, this isn't a VFP application, it's C#.
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Reply
Map
View

Click here to load this message in the networking platform