Do you know where your variables are? | |
PerlMonks |
Re: inserting a column into mySQL DB with perlby Skeeve (Parson) |
on Jan 20, 2016 at 21:51 UTC ( [id://1153208]=note: print w/replies, xml ) | Need Help?? |
So did I get it right? You have both shown tables in you DB and you have a third table in a text file containing an idCars combined with an idSize, so something like this:
And you want to get:
I'd create a new table CarSize with the content of your text. The query (your vlookup) would then be something like this:
Note: Untested SQL Code I'd write for Oracle. The join-syntax might vary on mySQL. s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{% +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e
In Section
Seekers of Perl Wisdom
|
|