How to make the multiplications contained in a varchar
field? (to get the area in case)
+------------------------------------------------------+
| DESCRIÇÃO |
+------------------------------------------------------+
|Chapa Térmica 605x745 Speed Chemfree |
|Chapa Térmica 665 X 910 Ryobi Fuji |
|Chapa Convencional P 4001 605x745 Speed IBF |
|Chapa Térmica 665 X 910 X 030 sem Processo Ryobii IBF |
|Chapa Térmica 800x1030 Komori Chemfree |
+------------------------------------------------------+
Looking for a workaround, I found a field with the type of a code for the plates, which contains the dimensions of them:
+--------------+------------------------------------------------------+
| CODE | DESCRIPTION |
+--------------+------------------------------------------------------+
| T605745SPCHE | Chapa Térmica 605x745 Speed Chemfree |
| T665910RYJUF | Chapa Térmica 665 X 910 Ryobi Fuji |
| C605745SPIBF | Chapa Convencional P 4001 605x745 Speed IBF |
| T665910RYIBF | Chapa Térmica 665 X 910 X 030 sem Processo Ryobii IBF|
| T8001030KBF | Chapa Térmica 800x1030 Komori Chemfree |
+--------------+------------------------------------------------------+
I think my only problem right now is how to handle codes with 6 or 7 numbers to be multiplied. Any suggestions?