hi guys!
i need a mysql sql script that should execute from one point forward so the only solution i can think of is a command that should do something like:
GOTO “LABEL”;
…
…
LABEL;
for those who counts why i need here is what i intend:
i want to automate my deploy of structure from the production db so in order to keep track of all modifications made on the developer server i shall put them in an sql file and tag them… the tag should stay in one table from db. when a deploy it’s done, according to the tag existing in production database the script would execute from one point (corresponding to the current tag) to
the end and so the structures would be the same…
this is why i need in the script to GOTO same LABEL.
thanks in advance!!
or maybe someone will provide me with another idea or solution for my need…