Skip to content

SQL-002 Get agency

Retrieve the agency row for a policy.

Classification

Field Value
SQL ID SQL-002
Operation type Read
Execution method Stored procedure
Database Oracle
Schema [unqualified]**
Command type StoredProcedure
Business object clsAgency
Criteria property RetrieveSQL
Lifecycle method BeforeRetrieve / AfterRetrieve

Parameters

Parameter Direction Type Max length Description
:apolicynum Input Decimal N/A Policy number
recordset Output (Cursor) REF CURSOR N/A Agency row

Tables

N/A — Stored procedure

Sample SQL

-- Oracle stored procedure call (CommandType.StoredProcedure)
-- clsAgency.BeforeRetrieve
CALL pk72846_view_policy.getAgency(
  :apolicynum,
  :recordset)

Operations and processes

Business rules

Sources

  • SAIF.Business.View.Policy/clsAgency.vb