If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I have one database called CAM and two tables. Table one is called WIRELESS and has one field called PHONE with 7 digit phone numbers. Table two is called MASTER and has one field called PHONE with ten digit phone numbers.
I want to compare table WIRELESS to MASTER. I want to compare the 7 digit phone number in WIRELESS table to the first 7 digits in the MASTER table.
Any idea on what the query syntax would be for this?
What SQL database engine are you using? I'd try using substring as well as substr, since most of the engines that I can think of support the Substring function.
What SQL database engine are you using? I'd try using substring as well as substr, since most of the engines that I can think of support the Substring function.