12 lines
294 B
MySQL
12 lines
294 B
MySQL
|
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
||
|
SQL SECURITY DEFINER
|
||
|
VIEW `vn2008`.`time`
|
||
|
AS SELECT `t`.`dated` AS `date`,
|
||
|
`t`.`period` AS `period`,
|
||
|
`t`.`month` AS `month`,
|
||
|
`t`.`year` AS `year`,
|
||
|
`t`.`day` AS `day`,
|
||
|
`t`.`week` AS `week`,
|
||
|
`t`.`yearMonth` AS `yearMonth`
|
||
|
FROM `vn`.`time` `t`
|