Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trimming a field in a sql statment
Message
From
22/08/2000 21:23:15
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00407618
Message ID:
00408076
Views:
13
>I'm trying to do this sql statement
>SELECT item.ticket, Item.item, item.serialnr, item.cat;
> FROM item;
> where (ltrim(Item.ticket)) = temp;
>
>I need to trim all the blanks out of this character field, but it wont do it in my where statement anyone know of a way to do this?
>
> Kelly


Perhaps there are some leading or trailing blanks in Temp which are getting in the way??

Have you tried ALLTRIM(item.ticket) = ALLTRIM(temp)
Previous
Reply
Map
View

Click here to load this message in the networking platform