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

9 lines
249 B
SQL

CREATE OR REPLACE DEFINER=`root`@`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`