1

Is it possible to declare parameters with some table struct type in "EMBEDDED MYSQL Procedure" ?

CREATE PROCEDURE Product_p()
BEGIN
    DECLARE ProductValue ProductTable;
Lundin
  • 195,001
  • 40
  • 254
  • 396
idok
  • 11
  • 1

1 Answers1

0

There are two options:

  1. Use a Cursor as parameter
  2. Use Temporary Table, this case you don't have to pass the data, just insert into the temporary table, and select in your procedure.
gaborsch
  • 15,408
  • 6
  • 37
  • 48