salix/db/routines/vn2008/views/edi_article.sql

13 lines
456 B
MySQL
Raw Permalink Normal View History

CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `vn2008`.`edi_article`
AS SELECT `edi`.`item`.`id` AS `id`,
`edi`.`item`.`product_name` AS `product_name`,
`edi`.`item`.`name` AS `name`,
`edi`.`item`.`plant_id` AS `plant_id`,
`edi`.`item`.`group_id` AS `group_id`,
`edi`.`item`.`entry_date` AS `entry_date`,
`edi`.`item`.`expiry_date` AS `expiry_date`,
`edi`.`item`.`change_date_time` AS `change_date_time`
FROM `edi`.`item`