Oracle 11g SQL Fundamentals 01--String manipulation function

Source: Internet
Author: User

on the left of 1200 on the right of 1200
concat (' Hello ', ' world ')     stitching             HelloWorld
substr (' HelloWorld ', 1,5)   intercept Hello
Length (' HelloWorld ')         string length ten
InStr (' HelloWorld ', ' W ')   W characters first occurrence 6
Lpad (1200,6, ' * ')   If 1200 complements 6 bits, fill ' * ' **1200
rpad (1200,6, ' * ')   If 1200 complements 6 bits, fill ' * ' 1200**
replace (' JACK and Jue ', ' j ', ' BL ') replaces ' J ' in the string with ' bl ' BLACK and BLUE
Trim (' h ' from ' Hello Word ') removes the ' H ' character in the string   Ello Word

Oracle 11g SQL Fundamentals 01--String manipulation function

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.