日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

09 ORA系列:ORA-06553 PLS-306

發(fā)布時(shí)間:2025/3/20 编程问答 21 豆豆
生活随笔 收集整理的這篇文章主要介紹了 09 ORA系列:ORA-06553 PLS-306 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

如果希望對(duì)常見的Oracle異常ORA報(bào)錯(cuò)解決方案有系統(tǒng)的了解,請(qǐng)看《ORACLE系列異常總結(jié)ORA》。

?

ORA-06553: PLS-306: wrong number or types of arguments in call to 'OGC_AREA'

調(diào)用area時(shí),錯(cuò)誤數(shù)值或者參數(shù)類型錯(cuò)誤

OGC_AREA表示:在調(diào)用參數(shù)area時(shí),報(bào)錯(cuò)

?

執(zhí)行如下SQL時(shí)報(bào)錯(cuò):

select

t.fid,

t.ftransactionstatus,

t.fsettleaccountstatus,

area.fname

from t_trade_transactionreport t

where t.fid = 'JY170830000008'

?

異常原因是:SQL中,沒有area這個(gè)參數(shù)。

?

當(dāng)然上面的SQL能一下子發(fā)現(xiàn)問題,如果是如下非常復(fù)雜的SQL就比較難發(fā)現(xiàn)了。

select report.fid "id"

,

report.fuuId "uuId",

report.frate "rate",

report.fcompensable "compensate.compensable",

report.fdisabledInfo "compensate.disabledInfo",

report.frateInfo "rateInfo",

report.fauditState "auditState",

report.fadjustStatus "adjustStatus",

report.fintentionDate "intentionDate",

report.ftransactionStatus "transactionStatus",

report.ftransferstatus "transferStatus",

report.freturnvisit "returnVisit",

report.fsettleaccountstatus "settleAccountStatus",

report.foncommission "onCommission",

report.ftransactiondate "transactionDate",

report.ftotalprice "totalPrice",

report.fcustomermoney "customerMoney",

report.fcustomercommission "customerCommission",

report.fownercommission "ownerCommission",

report.fcommissioncost "commissionCost",

report.finstallmentcosttype "installmentCostType",

report.finstallmentcost "installmentCost",

report.fsalestatus "saleStatus",

report.fhouseStatus "houseStatus",

report.fcollaboratecost "collaborateCost",

report.fcollaboratename "collaborateName",

report.fcardnumber "cardNumber",

report.fphone "phone",

report.fsurpluscommission "surplusCommission",

report.fownercost "ownerCost",

report.fcustomercost "customerCost",

report.fremark "remark",

report.ftenementdetail "tenementDetail",

report.fpaycosttype "payCostType",

report.fcommitdate "commitDate",

report.fcustomerpaytype "customerPayType",

report.fauditdate "auditDate",

report.fkownercostid "ownerCostId",

report.fkcustomercostid "customerCostId",

report.fmortgagedetail "mortgageDetail",

report.fcollaboratetype "collaborateType",

report.fincomepaystatus "incomePayStatus",

report.fcontractexplain "contractExplain",

report.fcommissiondiscount "commissionDiscount",

report.fpublichouse "publicHouse",

report.fremarktenement "remarkTenement",

report.fpiece "piece",

report.fadjustAmount "adjustAmount",

report.fcontractStatus "contractStatus",

report.freceiveCommissionDiscount "receiveCommissionDiscount",

report.fflowNum "flowNum",

report.factualReceiptCommission "actualReceiptCommission",

report.fhouseHoldStatus "houseHoldStatus",

report.fnewHouseReportId "newHouseReportId",

report.fnewHouseReportNumber "newHouseReportNumber",

report.facceptStatus "acceptStatus",

report.fpropertyType "propertyType",

report.fperformanceDate "performanceDate",

report.fnewperformanceDate "newPerformanceDate",

report.fareaName "areaName",

report.ftenementAddress "tenementAddress",

report.fcreatetime "createTime",

report.flastupdatetime "lastUpdateTime",

report.fenable "enable",

report.fkcreatebyid "createBy.id",

report.fklastupdatebyid "lastUpdateBy.id",

report.fkcuid "cu.id",

report.fkhouseid "house.id",

report.fownername "house.ownerName",

report.fgardenname "house.gardenName",

report.fkgardenid "house.garden.id",

report.fkcustomerid "tradeCustomer.customerId",

report.fcustomername "tradeCustomer.name",

report.fcustomername "customer.name",

report.fkpersonid "person.id",

person.fname "person.name",

report.fkthreecommadorgid "threeCommadOrg.id",

report.fsettlementBodyName "settlementBodyName",

report.ffinanceSubmitdate "financeSubmitDate",

report.fkfinanceSubmitPersonid "financeSubmitPerson.id",

financeSubmitPerson.fname "financeSubmitPerson.name",

report.fkcommadorgid "commadOrg.id",

report.fbelongBorderReport "belongBorderReport",

report.fbelongPrimary "belongPrimary",

report.fdisabled "disabled",

commadOrg.fname "commadOrg.name",

commadOrg.flongNumber "commadOrg.longNumber",

report.fktransferid "transfer.id",

report.fkmortgagePersonid "mortgagePerson.id",

report.fnetSignedNo "netSignedNo",

report.fkorgid "org.id",

org.fname "org.name",

org.fdisplayName "org.displayName",

followPerson.fid "followPerson.id",

followPerson.fname "followPerson.name",

signPerson.fid "signPerson.id",

signPerson.fname "signPerson.name",

report.fsurpluscommission "receivable"

,

house.fregionname "tradeHouseInfo.regionName",

area.fgardenaddress "tradeHouseInfo.gardenAddress"

?

from t_trade_transactionreport report

inner join t_hr_org commadOrg

on report.fkcommadorgid = commadOrg.fid

inner join t_hr_org org

on report.fkorgid = org.fid

left join t_hr_person person

on report.fkpersonId = person.fid

left join t_hr_person followPerson

on report.fkfollowpersonid = followPerson.fid

left join t_hr_person signPerson

on report.fksignpersonid = signPerson.fid

left join t_hr_person financeSubmitPerson

on report.fkfinanceSubmitPersonid = financeSubmitPerson.fid

left join t_trade_TransferSeek seek

on seek.FKTRANSACTIONREPORTID = report.fid

?

inner join t_trade_tradehouse house

on house.fid = report.fkhouseid

?

where 1 = 1

and report.fenable = 'YES'

-- and report.fsaleStatus in(

-- 'SALE','GANGED_SALE_COMMISSION'

-- )

and house.fkregionid = 'RjmhRn/nQqGQS6+L+YwgxLqHDS8='

and report.ftransactionStatus = 'TURNOVER_UNTREATED'

?

order by decode(report.ftransactionStatus, 'TURNOVER_UNTREATED', 1, 0) desc,

report.fintentionDate desc

?

?

?

?

?

?

總結(jié)

以上是生活随笔為你收集整理的09 ORA系列:ORA-06553 PLS-306的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。