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

8 lines
218 B
SQL

CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `vn2008`.`awb_gestdoc`
AS SELECT `ad`.`id` AS `awb_gestdoc_id`,
`ad`.`awbFk` AS `awb_id`,
`ad`.`dmsFk` AS `gestdoc_id`
FROM `vn`.`awbDms` `ad`