salix/db/routines/vn/views/businessCalendar.sql

9 lines
247 B
SQL

CREATE OR REPLACE DEFINER=`vn`@`localhost`
SQL SECURITY DEFINER
VIEW `vn`.`businessCalendar`
AS SELECT `c`.`id` AS `id`,
`c`.`businessFk` AS `businessFk`,
`c`.`dayOffTypeFk` AS `absenceTypeFk`,
`c`.`dated` AS `dated`
FROM `vn`.`calendar` `c`