rst Table: State
Sybase DBMS

Specifies the columns and rows with Sybase data type information for the rst State table.



rst Columns

DescriptionColumn NameData Type ?Characteristics ?
Statest_scharlength 2
Record modification stamptimestamptimestamp
State namest_nam_scharlength 20
State maximum interest ratep_max_st_ddoublescale 5
Revision dated_revision_sdatetimeformat YYYYMMDD
Vehicle - new maximum interest ratep_veh_new_ddoublescale 5
Vehicle - other maximum interest ratep_veh_oth_new_ddoublescale 5
Vehicle - 1 year used maximum interest ratep_veh_1yr_ddoublescale 5
Vehicle - 2 year used maximum interest ratep_veh_2yr_ddoublescale 5
Vehicle - 3 year used maximum interest ratep_veh_3yr_ddoublescale 5
Vehicle - 4 year used maximum interest ratep_veh_4yr_ddoublescale 5
Vehicle - 5 year used maximum interest ratep_veh_5yr_ddoublescale 5
Vehicle - 6 year used maximum interest ratep_veh_6yr_ddoublescale 5
Vehicle - over 6 years used maximum interest ratep_veh_ov6_ddoublescale 5
Term - term [1]trm_trm1_linteger
Term - term [2]trm_trm2_linteger
Term - term [3]trm_trm3_linteger
Term - term [4]trm_trm4_linteger
Term - term [5]trm_trm5_linteger
Term - term [6]trm_trm6_linteger
Term - 1 year used maximum interest rate [1]p_trm_1yr1_ddoublescale 5
Term - 1 year used maximum interest rate [2]p_trm_1yr2_ddoublescale 5
Term - 1 year used maximum interest rate [3]p_trm_1yr3_ddoublescale 5
Term - 1 year used maximum interest rate [4]p_trm_1yr4_ddoublescale 5
Term - 1 year used maximum interest rate [5]p_trm_1yr5_ddoublescale 5
Term - 1 year used maximum interest rate [6]p_trm_1yr6_ddoublescale 5
Term - 2 year used maximum interest rate [1]p_trm_2yr1_ddoublescale 5
Term - 2 year used maximum interest rate [2]p_trm_2yr2_ddoublescale 5
Term - 2 year used maximum interest rate [3]p_trm_2yr3_ddoublescale 5
Term - 2 year used maximum interest rate [4]p_trm_2yr4_ddoublescale 5
Term - 2 year used maximum interest rate [5]p_trm_2yr5_ddoublescale 5
Term - 2 year used maximum interest rate [6]p_trm_2yr6_ddoublescale 5
Term - 3 year used maximum interest rate [1]p_trm_3yr1_ddoublescale 5
Term - 3 year used maximum interest rate [2]p_trm_3yr2_ddoublescale 5
Term - 3 year used maximum interest rate [3]p_trm_3yr3_ddoublescale 5
Term - 3 year used maximum interest rate [4]p_trm_3yr4_ddoublescale 5
Term - 3 year used maximum interest rate [5]p_trm_3yr5_ddoublescale 5
Term - 3 year used maximum interest rate [6]p_trm_3yr6_ddoublescale 5
Term - 4 year used maximum interest rate [1]p_trm_4yr1_ddoublescale 5
Term - 4 year used maximum interest rate [2]p_trm_4yr2_ddoublescale 5
Term - 4 year used maximum interest rate [3]p_trm_4yr3_ddoublescale 5
Term - 4 year used maximum interest rate [4]p_trm_4yr4_ddoublescale 5
Term - 4 year used maximum interest rate [5]p_trm_4yr5_ddoublescale 5
Term - 4 year used maximum interest rate [6]p_trm_4yr6_ddoublescale 5
Term - 5 year used maximum interest rate [1]p_trm_5yr1_ddoublescale 5
Term - 5 year used maximum interest rate [2]p_trm_5yr2_ddoublescale 5
Term - 5 year used maximum interest rate [3]p_trm_5yr3_ddoublescale 5
Term - 5 year used maximum interest rate [4]p_trm_5yr4_ddoublescale 5
Term - 5 year used maximum interest rate [5]p_trm_5yr5_ddoublescale 5
Term - 5 year used maximum interest rate [6]p_trm_5yr6_ddoublescale 5
Term - 6 year used maximum interest rate [1]p_trm_6yr1_ddoublescale 5
Term - 6 year used maximum interest rate [2]p_trm_6yr2_ddoublescale 5
Term - 6 year used maximum interest rate [3]p_trm_6yr3_ddoublescale 5
Term - 6 year used maximum interest rate [4]p_trm_6yr4_ddoublescale 5
Term - 6 year used maximum interest rate [5]p_trm_6yr5_ddoublescale 5
Term - 6 year used maximum interest rate [6]p_trm_6yr6_ddoublescale 5
Term - over 6 years used maximum interest rate [1]p_trm_ov61_ddoublescale 5
Term - over 6 years used maximum interest rate [2]p_trm_ov62_ddoublescale 5
Term - over 6 years used maximum interest rate [3]p_trm_ov63_ddoublescale 5
Term - over 6 years used maximum interest rate [4]p_trm_ov64_ddoublescale 5
Term - over 6 years used maximum interest rate [5]p_trm_ov65_ddoublescale 5
Term - over 6 years used maximum interest rate [6]p_trm_ov66_ddoublescale 5
Term - new maximum interest rate [1]p_trm_new1_ddoublescale 5
Term - new maximum interest rate [2]p_trm_new2_ddoublescale 5
Term - new maximum interest rate [3]p_trm_new3_ddoublescale 5
Term - new maximum interest rate [4]p_trm_new4_ddoublescale 5
Term - new maximum interest rate [5]p_trm_new5_ddoublescale 5
Term - new maximum interest rate [6]p_trm_new6_ddoublescale 5
Term - other new maximum interest rate [1]p_trm_oth_new1_ddoublescale 5
Term - other new maximum interest rate [2]p_trm_oth_new2_ddoublescale 5
Term - other new maximum interest rate [3]p_trm_oth_new3_ddoublescale 5
Term - other new maximum interest rate [4]p_trm_oth_new4_ddoublescale 5
Term - other new maximum interest rate [5]p_trm_oth_new5_ddoublescale 5
Term - other new maximum interest rate [6]p_trm_oth_new6_ddoublescale 5
Balance - amount [1]bal_amt1_ddoublescale 2
Balance - amount [2]bal_amt2_ddoublescale 2
Balance - amount [3]bal_amt3_ddoublescale 2
Balance - amount [4]bal_amt4_ddoublescale 2
Balance - maximum APR per amount [1]p_bal_apr1_ddoublescale 5
Balance - maximum APR per amount [2]p_bal_apr2_ddoublescale 5
Balance - maximum APR per amount [3]p_bal_apr3_ddoublescale 5
Balance - maximum APR per amount [4]p_bal_apr4_ddoublescale 5
Number of days to expiration after letter sentdays_to_letter_exp_linteger
Able to redeem (Y/N)redeem_ccharlength 1
Rate codetax_rate_scharlength 4
Vehicle tax typeveh_tax_type_scharlength 4
Equipment tax typeeq_tax_type_scharlength 4
Ignore unit overrides (Y/N)ign_over_ccharlength 1
Allow trade-in tax credit (Y/N)trd_tx_crd_ccharlength 1
State tax identification numberst_tax_id_scharlength 36
Up front letter codeupf_ltr_code_scharlength 8
Monthly letter codemth_ltr_code_scharlength 8
Tax rate change (Y/N)rate_chg_ccharlength 1
Country codecountry_scharlength 4
State geocode
0 - if state is a non-vertex state
# - if state is a vertex state
70 - if state is a Canadian province
geo_st_linteger
County geocode
0 - if geo_st_l is not 70
# - if geo_st_l is 70
geo_ct_linteger
Separate vehicle tax disbursal report (Y/N)veh_tax_rpt_ccharlength 1
Rate-set to utilize in vehicle accruals (E/U/S/N)
E - Equipment rental rates
U - Vehicle use rates
S - Vehicle sales rates
N - None
veh_accrual_tax_rates_ccharlength 1
Rate-set to utilize in vehicle payoffs (E/U/S/N)
E - Equipment rental rates
U - Vehicle use rates
S - Vehicle sales rates
N - None
veh_payoff_tax_rates_ccharlength 1



rst Indexes

Index NamePiece 1
rst_idx0st_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:
  • 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.