I'm using Lazarus with Firebird 1.1 from 14/06/2012 2.5.1.26351 and Windows 7 Ultimate 32 Bit.
I would like to help me standardize one of the fields in my database. It is this: In the database, there are about 8500 records. It turns out that in about 7500 records Telephone field (which stores the phone number is in data format (035) 1234-5678, ie, it shows the DDD (area code) 3 digits and the other 1000 records the field is the same data format (35) 1234-5678, ie, it shows the area code with two digits.
How do I standardize the data records of 7500 so that they show the data as the other, ie the two-digit area code, ie, (35) 1234-5678. Is there any SQL command or Delphi autoamticamente to do it for me? I do not want to do this manually would take too long since.
Many thanks to all who respond.