× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 8/24/22 10:36 AM, Vern Hamberg via MIDRANGE-L wrote:
If by "numeric" value you mean the number without spaces, you can use this in SQL with the replace function -

Thanks, Vern, but no, I mean the field contains values like
"1234 "
"1 "
" "
"29 "
"1 "
and so forth.

If I do something like "SELECT DISTINCT FOO FROM BAR ORDER BY FOO," I get
" "
"1 "
"1234 "
"29 "
because FOO is a character string field, when what I want is
"1 "
"29 "
"1234 "
(and I don't care whether the blank shows up first, last, or not at all.)

--
JHHL

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.