I have got one database representing the different telephone numbers' masks.

The field masks shows the diff types of telephone no(S) and the corresponding cost and no of seconds in one unit.
when a telephone no arrives at serial port after the end of call i have to get the cost.
The problem is
How would i match a number like '9826512030' to the database and find the cost of it.
match clause in Sql works like this :
where ... like '98265%'
Here it is diff ! i have to find the mask correspondign to the number.

The field masks shows the diff types of telephone no(S) and the corresponding cost and no of seconds in one unit.
when a telephone no arrives at serial port after the end of call i have to get the cost.
The problem is
How would i match a number like '9826512030' to the database and find the cost of it.
match clause in Sql works like this :
where ... like '98265%'
Here it is diff ! i have to find the mask correspondign to the number.
Comment