Home > Database > Mysql Tutorial > oracle当行函数日期

oracle当行函数日期

WBOY
Release: 2016-06-07 14:55:17
Original
1189 people have browsed it

Oracle内部使用数字存储日期: 世纪,年,月,日,小时,分钟,秒。 默认的日期显示格式为DD-MON-RR。 --可以只指定年的后两位,允许存储21世纪日期在21世纪中。 --同样,允许存储20世纪的日期在21世纪中。 SELECT last_name, hire_date FROM employees WHERE hir

Oracle内部使用数字存储日期: 世纪,年,月,日,小时,分钟,秒。

默认的日期显示格式为DD-MON-RR。

--可以只指定年的后两位,允许存储21世纪日期在21世纪中。
--同样,允许存储20世纪的日期在21世纪中。

SELECT last_name, hire_date
FROM employees
WHERE hire_date

oracle当行函数日期 三联

SELECT last_name, (SYSDATE-hire_date)/7 AS WEEKS
FROM employees
WHERE department_id = 90;

http://www.3lian.com/

http://www.3lian.com/

http://www.3lian.com/

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template