Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trimming a field in a sql statment
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00407618
Message ID:
00407670
Views:
18
>>Change where clause to
>>
>>where RTRIM(LTRIM(Item.ticket)) = RTRIM(LTRIM(temp))
>
>
>OR AllTrim()



MS KB article Q142887 states that "Using an ALLTRIM() function with an SELECT-SQL statement when SET ANSI OFF may result in the return of an incorrect subset of records."
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform