0
How to make the multiplications contained in a field varchar
? (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 an alternative solution, I found a field with the type of a code for the plates, which contains the dimensions of the plates:
+--------------+------------------------------------------------------+
| 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 being multiplied. Any suggestions?
Thank you @Andréclaudinho. The language I am using is MSSQL 2008, is identified in
TAG
. I got a result.– Cassio Milanelo