Table: tblCountries
Columns: CountryCode(varchar), OperatorCode(varchar), Credits(int)
Example Country Codes: 91,92 etc.
Example Operator Codes: 9842, 23 etc.
Example Credits: 1, 1.5 etc.
I have an international phone number in a variable, and have to find this phone number from which country and which operator and credits. How i can write SQL Query for this?
like...
SELECT Sno, CountryCode, OperatorCode FROM tblCountries WHERE ...................?
Start Free Trial