16 lines
350 B
MySQL
16 lines
350 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn2008`.`article`()
|
||
|
BEGIN
|
||
|
/**
|
||
|
* Crea la tabla temporal: article_inventory
|
||
|
*/
|
||
|
DROP TEMPORARY TABLE IF EXISTS article_inventory;
|
||
|
CREATE TEMPORARY TABLE article_inventory
|
||
|
(
|
||
|
`article_id` INT(11) NOT NULL PRIMARY KEY,
|
||
|
`future` DATETIME
|
||
|
)
|
||
|
ENGINE = MEMORY;
|
||
|
END$$
|
||
|
DELIMITER ;
|