SELECT
SPGAC.typeCode,
SPGAC.appliesToAllInd,
SPGAC.userName,
SPGAC.description,
SPGAC.percentage,
SPG.servicePlanGroupName,
SPGAC.estimatedCost,
SPGAC.statusCode,
SPGAC.servicePlanGroupID,
SPGAC.servicePlanGroupApprovalChkID,
SPGAC.versionNo
INTO
:typeCode,
:appliesToAllInd,
:userName,
:description,
:percentage,
:servicePlanGroupTypeCode,
:estimatedCost,
:statusCode,
:servicePlanGroupID,
:servicePlanGroupApprovalChkID,
:versionNo
FROM
ServicePlanGroupApprovalCheck SPGAC
LEFT OUTER JOIN
ServicePlanGroup SPG
ON SPG.servicePlanGroupID = SPGAC.servicePlanGroupID
WHERE SPGAC.userName = :userName
|