Common functions of Oralce SQL language (1)

Source: Internet
Author: User


Common functions of Oralce SQL language (I) character functions this function generally receives characters as parameters and can return characters or numbers. The most common functions are. the CONCAT function is mainly used for string connection. The specific syntax is as follows: CONCAT (c1, c2) receives two parameters and connects the second parameter to the end of the first parameter. If the second parameter is NULL, the function returns the first parameter. If the first parameter is NULL, the second parameter is returned. If both are NULL, the function returns NULL www.2cto.com to add RMB for the product price. Example:
2. the NVL function is used to replace NVL (e1, e2) with two parameters. If the first parameter is not NULL, the function returns the first parameter, if the first parameter is NULL, the function returns the following example, "No detailed description" is displayed for the default settings of products that are not described in detail"

There are still many common functions that can be used to replace NULL characters with no detailed descriptions. I hope you can comment on them on my basis.

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.