General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only