Lpad usage in oracle

Source: Internet
Author: User


Oracle lpad usage pad Translation: Fill the lpad function, add the specified String on the left side of the String, usage: www.2cto.com lpad (String, capture length, added String ). It is not accurate to add a String. A more accurate statement is to intercept a String. If the intercept length is greater than the String length, add a String to the left of the String to fill the String, if the third parameter is not specified, use a space. For example: select lpad ('test', 10) from dual; "test" select lpad ('test', 10, 'ee ') from dual; the result returns eeeeeetest.
(Today, we see the two functions lpad and prior, and we know that we are very small)
 

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.