Find a partial number in row to a tabel

Closed
alexdeni - Feb 25, 2010 at 02:55 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Feb 25, 2010 at 04:19 AM
Hello, all

please help me before i get suicide , this is the scenario :

i have tariff table look like this :

countrycodeprefix tariff
x?????? ?????

and i have traffic table like this :

A# B# Duration
x?????????? 9x?????????? $???

i have to find (and match) a tariff from tariff table based on B# in traffic table based on B# in traffic number, the B# contain 9(international code)x?????????(contain country code and prefix) . The problems is the countrycodeprefic from tariff table contains a list of country code and prefix that is very various (from 1 digit until 6 digit) , how could i match this ...?

PLeaseeeeee help me,

Regards

Alex
Related:

1 response

rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 766
Feb 25, 2010 at 04:19 AM
could you provide a sample data