Oracle connection string: |

Source: Internet
Author: User

'|' + 'Is used for string connection in Oracle '.

Select Rec. sheet_id,

Rec. orgid,

Org. orgname,

Case

When Rec. receive_flag = 2 then

(Case

When exists (select count (1)

Fromeosorg_t_organization

Where a. orgseq like '192. 99999. %'

And a. orgid = Rec. orgid) then

'[Group Company network operation department]'|Org. orgname--'[Group Company network operation department]'+Org. orgname

Else

Org. orgname

End)

Else

Org. orgname

End as pdforgname,

Rec. receive_flag

Fromoc_j_receive_org rec,

Eosorg_t_organization org

Where Rec. orgid = org. orgid

And Rec. receive_flag in (1, 2)

And Rec. sheet_id = 3281;

 

 

 

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.