within a stored procedure in mysql? Asking because trying to migrate from oracle and they have something like packages which is not available in mysql.
Yes, you can. Triggers cannot be called explicitly, they are get called automatically by the DBMS when a triggering event happens
Stored procedure languages are all different in different DBMS, so it is strange that you even have dared to start this
Yeah but I will have to eventually as we have decided to move from oracle to open source
Although formally mySQL implements all features of stored languages, the ideology and architecture of Oracle and mySQL are very different in respect to stored code execution. You will have to re-write all code of stored procedures completely and for suite parts of your app even the app itself. My prophecy is that you will not do this transfer or spend very much efforts to it.
Wish you much luck
Обсуждают сегодня