I am looking for a solution to the following problem.
I have to model a database for a wordpress plugin. Are present in this model procedures and functions.
I found a way to create tables from the file which is stored in the SQL code.
But I mound on stored procedures.
Indeed, the proceedings is a result of instruction, we have ;, in the middle of this code.
Function dbDelta made a split precisely on the file;
So my procedure and my functions causes an error.
I also tried with the functions $ wpdb-> query and $ wpdb-> get_results without success.
Someone would have a solution to my problem?
- The topic ‘How insert stored procedures into WP database’ is closed to new replies.