|
I can't believe I couldn't see that on my own. I've been wracking my brain for a couple days trying to convert character to numeric. Why didn't I just go the other way? Major brain hemorrhage. Thanks. -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Vernon Hamberg Sent: Wednesday, April 13, 2005 6:03 AM To: Midrange Systems Technical Discussion Subject: Re: Opnqryf Character to Numeric Consider the %DIGITS built-in function to convert the number to digits. Sign and decimal point are not included, so that might be a problem. There might also be leading zeroes, so check it out. There are also several date-converson BIFs that can be useful - there are tricks using microseconds to convert character to numeric. But can't numeric simply be recast as character? It's been a long, long time. HTH Vern At 03:56 PM 4/12/2005, you wrote: > I am running a query joining 2 files using opnqryf. Problem is that >the key in one file is character and the key in the other is numeric. A >keyword on a mapped field maybe? > > >-- >This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list >To post a message email: MIDRANGE-L@xxxxxxxxxxxx >To subscribe, unsubscribe, or change list options, >visit: http://lists.midrange.com/mailman/listinfo/midrange-l >or email: MIDRANGE-L-request@xxxxxxxxxxxx >Before posting, please take a moment to review the archives >at http://archive.midrange.com/midrange-l. -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
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.