rlc Table: Lease Meter Charge
Oracle DBMS

Specifies the columns and rows with Oracle data type information for the rlc Lease Meter Charge table.

rlc Columns

DescriptionColumn NameData Type ?Characteristics ?
Leaselse_scharlength 10
Meter IDmeter_id_scharlength 4
Run dated_run_sdateformat YYYYMMDD
Run timet_run_scharlength 6
Record modification stampstamp_lnumberprecision 10
Invoice numberinvo_scharlength 8
Operator initialsopr_scharlength 3
Reversal operator initialsopr_r_scharlength 3
Reversal dated_rev_sdateformat YYYYMMDD
Time of transaction reversalt_rev_scharlength 6
Usage period begin dated_usage_beg_sdateformat YYYYMMDD
Usage period end dated_usage_end_sdateformat YYYYMMDD
Base allowancebase_allow_lnumberprecision 10
Previous creditprev_credit_lnumberprecision 10
New creditnew_credit_lnumberprecision 10
Credit appliedcredit_applied_lnumberprecision 10
Number of billed items [1]billed1_lnumberprecision 10
Number of billed items [2]billed2_lnumberprecision 10
Number of billed items [3]billed3_lnumberprecision 10
Number of billed items [4]billed4_lnumberprecision 10
Number of billed items [5]billed5_lnumberprecision 10
Number of billed items [6]billed6_lnumberprecision 10
Number of billed items [7]billed7_lnumberprecision 10
Number of billed items [8]billed8_lnumberprecision 10
Number of billed items [9]billed9_lnumberprecision 10
Number of billed items [10]billed10_lnumberprecision 10
Cost per use rate [1]p_cpu_rate1_dnumberprecision 15, scale 5
Cost per use rate [2]p_cpu_rate2_dnumberprecision 15, scale 5
Cost per use rate [3]p_cpu_rate3_dnumberprecision 15, scale 5
Cost per use rate [4]p_cpu_rate4_dnumberprecision 15, scale 5
Cost per use rate [5]p_cpu_rate5_dnumberprecision 15, scale 5
Cost per use rate [6]p_cpu_rate6_dnumberprecision 15, scale 5
Cost per use rate [7]p_cpu_rate7_dnumberprecision 15, scale 5
Cost per use rate [8]p_cpu_rate8_dnumberprecision 15, scale 5
Cost per use rate [9]p_cpu_rate9_dnumberprecision 15, scale 5
Cost per use rate [10]p_cpu_rate10_dnumberprecision 15, scale 5
Amount chargedcharged_dnumberprecision 15, scale 2
Total meter readtot_read_dnumberprecision 15, scale 0

rlc Indexes

Index NamePiece 1Piece 2Piece 3Piece 4Piece 5
rlc_idx0lse_smeter_id_sd_run_st_run_s
rlc_idx1invo_slse_smeter_id_sd_run_st_run_s

Data Type Definitions and Characteristics

Following are descriptions of the Oracle data types used in the LeasePak database. Note that LeasePak does not use all the Oracle data types.

char
Oracle fixed length character string. Typically used to store short-length string data such as keys, four-character codes, and single-character switch values.
Characteristics:
  • length - The maximum number of ASCII or ISO-8859-1 characters the string can contain.

date
Oracle date and time, containing century, year, month, day, hour, minute, and second information.
Characteristics:
  • format - The date format for the LeasePak database. For example, format YYYYMMDD is the 4-digit year number followed by the 2-digit month number followed by the 2-digit day number with no intervening punctuation.

number
Oracle numeric data type. Used for all numbers.
Characteristics:
  • precision - The magnitude and fractional granularity together, meaning the maximum number of places available to both the left and right of the decimal point. Use precision minus scale to determine the maximum number of places available to the left of the decimal point.
  • scale - The fractional granularity, meaning the maximum number of places available to the right of the decimal point.

varchar2
Oracle variable length character string. Typically used to store medium and long-length string data such as names, addresses, descriptions, and notebook entries.
Characteristics:
  • length - The maximum number of ASCII or ISO-8859-1 characters the string can contain.