Common functions of Oralce SQL language (3) date functions

Source: Internet
Author: User


Common functions in Oralce SQL language (3) DATE functions operate data of the DATE type. Most of its input parameters are of the DATE type, and the output parameters are also of the DATE type 1. SYSDATE function. This function does not require any parameters, returns the current system time. It looks more like a keyword www.2cto.com. The returned time format is related to the language selected during Oracle Installation. It is automatically matched to the standard time format used in the current region, for example, select sysdate from dual. you can obtain the standard time format of the current region for display. Note that it cannot be used with parentheses. the EXTRACT function is used to return partial date values of a date. The example is as follows:
Example 2: Search the product table and display the shelving time in the year-month-day format.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.