Govern Keywords
Using Keywords
You can include a keyword in a query to retrieve or perform an action on a value in the current record, or the record most recently saved and still in memory.
To include a keyword, double-click in SQL Definition Setup form. This displays the following list of keywords (Table: VT_SY_BRULE):
Read More... For example, in the following query, the parcel id, frozen id and year id keywords are used to retrieve the appraised property value from the MA_MASTER table, where the P_ID, FROZEN_ID and YEAR_ID fields match the values for the current record. SELECT appraised_value FROM ma_master WHERE p_id=parcel id and frozen_id=frozen id and year_id=year id Query Types 100-Queries-(Keywords)
Code
Keyword
Description
ar_id
Account Receivable ID
Unique identification number of the current Account Receivable record
key_counter
Activity ID
Identification number of the current Activity record
ac_id
Aircraft ID
Unique identification number of the current Aircraft Excise Tax record
br_id
Bankruptcy ID
Identification number of the current Bankruptcy record
bt_id
Boat ID
Unique identification number of the current Boat Excise Tax record
bldg_id
Building ID
Identification number of the current Building
bldg_seq
Building Sequence
Sequence number of the current Building
cc_id
Cash Collection ID
Identification number of the current Cash Collection record
co_id
Complaint ID
Identification number of the current Complaint record
*date
Current Date
The Current Date
dept
Department
The Department code
frozen_id
Frozen ID
Identification number of the current Frozen record
haz_id
Hazard ID
Identification number of the current Hazard record
h_id
Hearing ID
Identification number of the current Hearing record
in_id
Inspection ID
Identification number of the current Inspection record
land_id
Land ID
Unique identification number of the current Land
mb_id
Misc. Billing ID
Identification number of the current Miscellaneous Billing account
misc_id
Miscelleaneous ID
Identification number of the current Miscellaneous Billing account
mv_id
Motor Vehicule ID
Identification number of the current Motor Vehicle Account
na_id
Name ID
Unique identification number of the current Name
of_id
Offence ID
Unique identification number of the current Offense record
p_id
Parcel ID
Unique identification number of the current parcel
pm_id
Permit ID
Unique identification number of the current Building Permit, Electrical Permit, General Permit, Plumbing Permit, Permit to Name, Animal License, Business License, License to Name, Approval, Bond, Decision, Prosecution or Appeal record
pp_id
Personal Property ID
Identification number of the current Personal Property account
pp_det_id
PP Detail ID
Unique identification number of the current Personal Property Item
folio_id
Project Folio ID
Identification number of the current Project Folio
prj_id
Project ID
Identification number of the current Project record
tax_id
Real Estate ID
Identification number of the current Real Estate Tax record
sale_id
Sale ID
Identification number of the current Sale record
st_acct_id
Self Reported Tax Acct ID
Identification number of the current Self Reported Tax Account record
st_id
Self Reported Tax ID
Identification number of the current Self Reported Tax record
si_id
Site ID
Identification number of the current Site
sa_id
Special Assessment ID
Identification number of the current Special Assessment record
tax_map
Tax Map Number
Tax Map Number of the current record
usr_id
User ID
Unique identification number of the current user
ub_id
Utility Billing ID
Unique identification number of the current Utility Billing account
year_id
Year ID
Year identification of the current record
Related Topics
Advanced SQL Queries
Keywords
Best Practices for SQL Queries
Special Cases

