SQL Query Engineering Settlement Sub-paragraph transfer out

Source: Internet
Author: User

Total one loan project settlement negative loan project settlement hedging problem

Oralce uses the aggregate function Wmsys.wm_concat field to display Clob: should be, 10.2.0.4 before, is varchar2,10.2.0.5 start, is Clob this is a bug that can trigger when the LOB field and order by occur simultaneously The corresponding patch can be hit, or, as long as not more than 4000 bytes, you can add a to_char to convert to a string to try

Selectgl_detail.explanation, Bd_accsubj.subjcode, Bd_accsubj.dispname, Gl_detail.debitamount Debit, Gl_detail.creditamount Credit, Gl_detail.prepareddatev single date, gl_voucher.no voucher number, To_char (wmsys.wm_ Concat (Gl_freevalue.valuecode)) Valuecode, To_char (Wmsys.wm_concat (gl_freevalue.valuename)) ValueName fromGl_detail, BD_ACCSUBJ, Bd_glorgbook,gl_freevalue,gl_voucherwhereGl_detail.pk_accsubj=BD_ACCSUBJ.PK_ACCSUBJ andGl_detail.pk_glorgbook=Bd_glorgbook.pk_glorgbook andGl_detail.assid=Gl_freevalue.freevalueid andGl_detail.pk_voucher=Gl_voucher.pk_voucher andGl_detail.dr= '0'    andGl_detail.yearv=' the'    andBd_glorgbook.glorgbookcode= '015101-0001'    andBd_accsubj.subjcode like '2123%'     andGl_detail.creditamount<0   Group  bygl_detail.explanation, Bd_accsubj.subjcode, Bd_accsubj.dispname, Gl_detail.creditamount, Gl_detail.debitamount, gl_detail.prepareddatev,gl_voucher.noOrder  byGl_detail.prepareddatev,gl_voucher.no

SQL Query Engineering Settlement Sub-paragraph transfer out

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.