"| |" in Oracle statement What does it mean?

Source: Internet
Author: User

"| |" in Oracle statement What does it mean?

"| |" in Oracle statement What does it mean? is the connector "+" with the string in Serversql a concept?

1. Well yes is a meaning ... Select ' 1 ' | | ' 2 ' from dual rep 12

2. The connector "+" with the string in Serversql is a concept

3.

--连接字段 SQL>  select ‘ABC‘ || ‘EFG‘ from dual; ‘ABC‘ || ‘EFG‘ ------------ ABCEFG 也可以使用concat()函数 select concat( ‘A‘ , ‘B‘ from dual;4. Yes, it is the same as the Java + number. Equivalent to series 5. ' | | ' Used to stitch associative fields in Oracle 6. The connection string, equivalent to + in SQL Server, can also be connected using the concat () function 7. Connector for columns and columns, columns and arithmetic expressions, or columns and constants create a character expression
Like what
Sql>select ename| | ' is a ' | | Job as "Employee Details" from EMP;
The query results are:
Employee Details
-------------------------
SMITH is a clerk
ALLEN is a salesman
WARD is a MANAGER

"| |" in Oracle statement What does it mean?

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.