howto ignore whitespace in select query
From: San Tuon (anonymous_at_discussions.microsoft.com)
Date: 03/26/04
- Next message: Vishal Parkar: "Re: howto ignore whitespace in select query"
- Previous message: Sajid: "Searching similar records in a table"
- Next in thread: Vishal Parkar: "Re: howto ignore whitespace in select query"
- Reply: Vishal Parkar: "Re: howto ignore whitespace in select query"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 26 Mar 2004 03:21:37 -0800
Hello.
I am getting unwanted whitespaces returned from a select
statement.
I understand my table definition has stated a "char" with
field length 10. However if my value stored is only 5
characters, how do I structure my select query to trim
extra 5 spaces returned in my query. It is possible?
ie "Select id from user"
returns "Santuon " instead of "Santuon".
I do not wish to trim the string afterwards.
Regards San.
- Next message: Vishal Parkar: "Re: howto ignore whitespace in select query"
- Previous message: Sajid: "Searching similar records in a table"
- Next in thread: Vishal Parkar: "Re: howto ignore whitespace in select query"
- Reply: Vishal Parkar: "Re: howto ignore whitespace in select query"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|