|
Using my example data of: AreaCode Prefix Suffix Extension 601 221 5555 231333 601 221 5555 332333 721 125 3300 721 125 3400 955663 721 125 3500 221111 If user enter 601-221-5555 332334, the fetch will result in no row. -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of jmichael.smith@xxxxxxxxxxx Sent: Friday, June 02, 2006 8:44 AM To: rpg400-l@xxxxxxxxxxxx Subject: RE: Constructing Sql to position phone number that breakup inareacode, prefix, suffix and extension Where AreaCode >= Substr(:InputNbr, 1, 3) And Prefix >= Substr(:InputNbr, 4, 3) And Suffix >= Substr(:InputNbr, 7, 4) And Extention >= Substr(:InputNbr, 10, 3) Maybe
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.