rqp Table: CCA Pool
Sybase DBMS

Specifies the columns and rows with Sybase data type information for the rqp CCA Pool table.

rqp Columns

DescriptionColumn NameData Type ?Characteristics ?
CCA tax entitytax_ent_schar(4)
CCA classcca_cls_schar(4)
Record modification stamptimestamptimestamp
Date of last updated_lup_sdatetime
Time of last updatet_lup_schar(6)
Accrued to dated_acc_sdatetime
Undepreciated capital cost balance
  opening balance for the next fiscal year
  = cap_cost - cca taken L-T-D - adjustment L-T-D
balance_ddouble precision
Capital cost of additions during previous fiscal year
  This figure is needed for Straight Line Pool.
prev_cap_cost_ddouble precision
Adjustment for previous fiscal year
  The value is entered through Adjustment Update after
  the year end processing.
  This figure is needed for Straight Line Pool.
prev_adj_ddouble precision

rqp Indexes

Index NamePiece 1Piece 2
rqp_idx0tax_ent_scca_cls_s
rqp_idx1cca_cls_stax_ent_s

Data Type Definitions and Characteristics

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

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

datetime
Sybase date and time, containing century, year, month, day, hour, minute, second, and second fraction (to 1/300 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.

double
Sybase numeric data type. Typically used to store percentage, rate, and dollar amount information.
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 number of places available to the right of the decimal point.

integer
Sybase numeric data type. Typically used to store counter and whole number information--term length, payment due day, number of units on lease, number of times delinquent, etc.

timestamp
Sybase data type based on the varbinary data type storing raw binary data. Whenever a table includes a timestamp column, Sybase updates the information in timestamp each time a user inserts or updates a record, preventing multiple-user cross-update data corruption.

text
Sybase expandable character data type. Typically used to store long-length string data such as notebook entries.