Employee bonus payments. Used by Powersoft Training only.Column: emp_id - in DBA.bonus - /* PK */ INTEGER NOT NULL
Employee id (not yet a foreign key to the employee table).Column: bonus_date - in DBA.bonus - /* PK */ DATE NOT NULL
Date of this bonus payment to this employee.Column: bonus_amount - in DBA.bonus - NUMERIC ( 9, 2 ) NULL
The amount of the bonus payment.
Call Tracking.Column: id - in DBA.call_track - /* PK */ INTEGER DEFAULT autoincrement NOT NULL
Automatically generated id column has default AutoIncrement.Column: call_date - in DBA.call_track - DATE NOT NULL
Date of this call.Column: caller_name - in DBA.call_track - VARCHAR ( 30 ) NOT NULL
Name of the caller.Column: call_notes - in DBA.call_track - VARCHAR ( 32765 ) NOT NULL
Notes on this call.
A list of contacts.Column: id - in DBA.contact - /* PK */ INTEGER NOT NULL
Unique Identification number of the contact (not automatically generated).Column: last_name - in DBA.contact - CHAR ( 15 ) NOT NULL
Last name of the contact.Column: first_name - in DBA.contact - CHAR ( 15 ) NOT NULL
First name of the contact.Column: title - in DBA.contact - CHAR ( 2 ) NOT NULL
Job role of the contact.Column: street - in DBA.contact - CHAR ( 30 ) NOT NULLValues:
Sales sa Customer support cs Product development pd Administration ad Training tr Documentation do Marketing ma Human resources hr Finance fi Other ot
Street address of the contact.Column: city - in DBA.contact - CHAR ( 20 ) NOT NULL
City where the contact is located.Column: state - in DBA.contact - CHAR ( 2 ) NOT NULL
State where the contact is located; e.g., 'MI', 'TX', 'MA'.Column: zip - in DBA.contact - CHAR ( 5 ) NOT NULL
Zip Code where the contact is located (first 5 digits only).Column: phone - in DBA.contact - CHAR ( 10 ) NULL
Phone Number of the contact; e.g., '5105551309' displayed as '(510) 555-1309'.Column: fax - in DBA.contact - CHAR ( 10 ) NULL
Fax Number of the contact; e.g., '5105554209' displayed as '(510) 555-4209'.
A list of customersColumn: id - in DBA.customer - /* PK */ INTEGER NOT NULL
Unique Identification number of the customer (not automatically generated).Column: fname - in DBA.customer - /* X */ CHAR ( 15 ) NOT NULL
First name of the customer.Column: lname - in DBA.customer - /* X */ CHAR ( 20 ) NOT NULL
Last name of the customer.Column: address - in DBA.customer - CHAR ( 35 ) NOT NULL
Mailing address of the customer.Column: city - in DBA.customer - CHAR ( 20 ) NOT NULL
City where the customer is located.Column: state - in DBA.customer - CHAR ( 2 ) NOT NULL
State where the customer is located.Column: zip - in DBA.customer - CHAR ( 10 ) NOT NULL
Zip or postal code where the customer is located. Up to 10 characters may be stored, and the default display format is '#####-####'.Column: phone - in DBA.customer - CHAR ( 12 ) NOT NULL
Phone number of the customer; e.g., '5105551309' displayed as '(510) 555-1309'.Column: company_name - in DBA.customer - CHAR ( 35 ) NULL
Name of the company.
Contains all departments within the companyColumn: dept_id - in DBA.department - /* PK */ INTEGER NOT NULL
Unique Identification Code of the department (not automatically generated).Column: dept_name - in DBA.department - CHAR ( 40 ) NOT NULL
Name of the department.Column: dept_head_id - in DBA.department - /* FK */ INTEGER NULL
Employee identification number of the department manager.This column must either be NULL or contain a valid employee.emp_id value.
A list of all employees within the companyColumn: emp_id - in DBA.employee - /* PK */ INTEGER NOT NULL
Identification Number of the employee (not automatically generated).Column: manager_id - in DBA.employee - INTEGER NULL
Identification number of the employee's manager.Column: emp_fname - in DBA.employee - CHAR ( 20 ) NOT NULLNo foreign key relationship exists between this column and employee.emp_id.
First name of the employee.Column: emp_lname - in DBA.employee - CHAR ( 20 ) NOT NULL
Last name of the employee.Column: dept_id - in DBA.employee - /* FK */ INTEGER NOT NULL
Identification Number for the department where the employee works.Column: street - in DBA.employee - CHAR ( 40 ) NOT NULLThis column must contain a valid department.dept_id value.
Street address of the employee.Column: city - in DBA.employee - CHAR ( 20 ) NOT NULL
City where the employee resides.Column: state - in DBA.employee - CHAR ( 4 ) NOT NULL
State where the employee resides.Column: zip_code - in DBA.employee - CHAR ( 9 ) NOT NULL
Zip Code where the employee resides.Column: phone - in DBA.employee - CHAR ( 10 ) NULL
Phone number of the employee.Column: status - in DBA.employee - CHAR ( 1 ) NULL
Status of the employee.Column: ss_number - in DBA.employee - CHAR ( 11 ) NOT NULLValues:
Active A Terminated T On Leave L
Social Security Number of the employee.Column: salary - in DBA.employee - NUMERIC ( 20, 3 ) NOT NULL
Annual salary of the employee.Column: start_date - in DBA.employee - DATE NOT NULL
Date the employee began working.Column: termination_date - in DBA.employee - DATE NULL
Date the employee was terminated.Column: birth_date - in DBA.employee - DATE NULL
Birth Date of the employee.Column: bene_health_ins - in DBA.employee - CHAR ( 1 ) NULL
Y/N: if the employee has health insurance.Column: bene_life_ins - in DBA.employee - CHAR ( 1 ) NULL
Y/N: if the employee has life insurance.Column: bene_day_care - in DBA.employee - CHAR ( 1 ) NULL
Y/N: if the employee is entitled to day care insurance.Column: sex - in DBA.employee - CHAR ( 1 ) NULL
M or F for Male or Female.
- - -Column: object_ref - in DBA.exam_xref_info - /* PK X */ VARCHAR ( 40 ) NOT NULL
- - -Column: object_ref_type - in DBA.exam_xref_info - /* X */ VARCHAR ( 100 ) NOT NULL
- - -Column: event - in DBA.exam_xref_info - /* PK X */ VARCHAR ( 100 ) NOT NULL
- - -Column: referenced_in - in DBA.exam_xref_info - /* PK X */ VARCHAR ( 40 ) NOT NULL
- - -Column: ref_in_type - in DBA.exam_xref_info - VARCHAR ( 40 ) NOT NULL
- - -Column: pbl - in DBA.exam_xref_info - VARCHAR ( 60 ) NOT NULL
- - -Column: application - in DBA.exam_xref_info - /* PK */ CHAR ( 10 ) NOT NULL
- - -Column: scope - in DBA.exam_xref_info - CHAR ( 1 ) NULL
- - -Column: short_event - in DBA.exam_xref_info - VARCHAR ( 40 ) NULL
- - -
- - -Column: object - in DBA.exam_xref_list - /* PK */ VARCHAR ( 40 ) NOT NULL
- - -Column: refer - in DBA.exam_xref_list - /* PK X */ VARCHAR ( 40 ) NOT NULL
- - -Column: application - in DBA.exam_xref_list - /* PK */ CHAR ( 10 ) NOT NULL
- - -
Used for the front-end to the Code ExamplesColumn: title - in DBA.examples - CHAR ( 60 ) NOT NULL
Title of the exampleColumn: window - in DBA.examples - /* PK */ CHAR ( 40 ) NOT NULL
Window that is opened when the example runsColumn: version - in DBA.examples - CHAR ( 5 ) NULL
Version of PowerBuilder that the example pertains toColumn: description - in DBA.examples - CHAR ( 32765 ) NULL
A summary of what the code example doesColumn: technique - in DBA.examples - CHAR ( 32765 ) NULL
A technical summary of what the code example is showingColumn: new - in DBA.examples - SMALLINT NULL
Determines if the example is new for the current release of PowerBuilderColumn: enhanced - in DBA.examples - SMALLINT NULL
Determines if the code example has been changed, or enhanced, for the current releaseColumn: ostype - in DBA.examples - VARCHAR ( 40 ) NULL
Determines what operating systems the example will run onColumn: pbtype - in DBA.examples - VARCHAR ( 17 ) NULL
Determines whether the example will run on desktop or enterpriseColumn: exhelp - in DBA.examples - SMALLINT NULL
Determine if the example has help associated with it in the Help File.
- - -Column: group_id - in DBA.examples_categories_list - /* PK */ CHAR ( 40 ) NOT NULL
- - -
Defines the Code Example topicsColumn: group_id - in DBA.examples_groups - /* PK FK */ CHAR ( 40 ) NOT NULL
Code example topicColumn: window - in DBA.examples_groups - /* PK FK */ CHAR ( 40 ) NOT NULL
Window that opens when code example runs
- - -Column: window - in DBA.examples_previews - /* PK FK U */ CHAR ( 40 ) NOT NULL
Example windowColumn: screen - in DBA.examples_previews - IMAGE NULL
Screen shot of example
Financial Codes tableColumn: code - in DBA.fin_code - /* PK */ CHAR ( 2 ) NOT NULL
Unique financial identification codeColumn: type - in DBA.fin_code - CHAR ( 10 ) NOT NULL
Financial Code typeColumn: description - in DBA.fin_code - CHAR ( 50 ) NULL
Financial Code description
Financial dataColumn: year - in DBA.fin_data - /* PK */ CHAR ( 4 ) NOT NULL
Year financial data applies toColumn: quarter - in DBA.fin_data - /* PK */ CHAR ( 2 ) NOT NULL
The quarter that the financial data applies toColumn: code - in DBA.fin_data - /* PK FK X */ CHAR ( 2 ) NOT NULL
Financial Identification CodeColumn: amount - in DBA.fin_data - NUMERIC ( 9 ) NULL
Dollar amount recorded for year, quarter, and financial code
- - -Column: id - in DBA.ole - /* PK */ CHAR ( 20 ) NOT NULL
Identification CodeColumn: object - in DBA.ole - IMAGE NULL
blob columnColumn: description - in DBA.ole - VARCHAR ( 32765 ) NOT NULL
description of the blob
- - -Column: rep - in DBA.printer - /* PK */ CHAR ( 10 ) NOT NULL
- - -Column: quarter - in DBA.printer - /* PK */ CHAR ( 2 ) NOT NULL
- - -Column: product - in DBA.printer - /* PK */ CHAR ( 12 ) NOT NULL
- - -Column: units - in DBA.printer - INTEGER NOT NULL
- - -
Products that are sold to customersColumn: id - in DBA.product - /* PK */ INTEGER NOT NULL
Unique Identification Code of the productColumn: name - in DBA.product - /* X */ CHAR ( 15 ) NOT NULL
Name of the productColumn: description - in DBA.product - /* X */ CHAR ( 30 ) NOT NULL
Describes what the product isColumn: prod_size - in DBA.product - /* X */ CHAR ( 18 ) NOT NULL
Measurements of the product.Column: color - in DBA.product - /* X */ CHAR ( 6 ) NOT NULLValues:
Small Medium Large One size fits all
Color of the product.Column: quantity - in DBA.product - INTEGER NOT NULLValues:
White Black Purble Orange Green Blue Yellow Red
Amount of the product in stockColumn: unit_price - in DBA.product - NUMERIC ( 15, 2 ) NOT NULL
Unit price per productColumn: picture_name - in DBA.product - CHAR ( 12 ) NULL
.bmp filename that shows what the product looks likeColumn: catalog_picture - in DBA.product - IMAGE NULL
Blob containing a catalog picture of the product in RLE format
- - -Column: province_code - in DBA.province - /* PK */ VARCHAR ( 2 ) NOT NULL
- - -Column: province_name - in DBA.province - VARCHAR ( 50 ) NOT NULL
- - -
Master sales orders tableColumn: id - in DBA.sales_order - /* PK */ INTEGER NOT NULL
Unique Identification Number of the sales orderColumn: cust_id - in DBA.sales_order - /* FK X */ INTEGER NOT NULL
Identification Number of the customer that the sales order is forColumn: order_date - in DBA.sales_order - DATE NOT NULL
Date OrderedColumn: fin_code_id - in DBA.sales_order - /* FK */ CHAR ( 2 ) NULL
Financial CodeColumn: region - in DBA.sales_order - CHAR ( 7 ) NULL
Sales Region.Column: sales_rep - in DBA.sales_order - /* FK */ INTEGER NOT NULLValues:
Central Eastern South Western Canada
Identification Number of the Sales Representative
Contains line items for sales ordersColumn: id - in DBA.sales_order_items - /* PK FK */ INTEGER NOT NULL
Sales order Identification NumberColumn: line_id - in DBA.sales_order_items - /* PK */ SMALLINT NOT NULL
Line item Identification NumberColumn: prod_id - in DBA.sales_order_items - /* FK X */ INTEGER NOT NULL
Product Identification NumberColumn: quantity - in DBA.sales_order_items - INTEGER NOT NULL
Quantity orderedColumn: ship_date - in DBA.sales_order_items - DATE NOT NULL
Date shipped
The states table contains information about the states of the U.S. (plus the District of Columbia)Column: state_id - in DBA.states - /* PK */ CHAR ( 3 ) NOT NULL
State Identification CodeColumn: state_name - in DBA.states - CHAR ( 24 ) NOT NULL
Name of the stateColumn: state_capital - in DBA.states - /* PK */ CHAR ( 24 ) NOT NULL
Capital city of the stateColumn: country - in DBA.states - CHAR ( 3 ) NOT NULL
Country the state is located in
Terminated employees. Used by Powersoft Training only.Column: emp_id - in DBA.terminated_employee - /* PK */ INTEGER NOT NULL
- - -Column: emp_fname - in DBA.terminated_employee - VARCHAR ( 20 ) NOT NULL
- - -Column: emp_lname - in DBA.terminated_employee - VARCHAR ( 20 ) NOT NULL
- - -Column: start_date - in DBA.terminated_employee - DATE NOT NULL
- - -Column: termination_date - in DBA.terminated_employee - DATE NULL
- - -Column: dept_id - in DBA.terminated_employee - INTEGER NOT NULL
- - -Column: street - in DBA.terminated_employee - VARCHAR ( 40 ) NOT NULL
- - -Column: city - in DBA.terminated_employee - VARCHAR ( 20 ) NOT NULL
- - -Column: state - in DBA.terminated_employee - VARCHAR ( 4 ) NOT NULL
- - -Column: zip_code - in DBA.terminated_employee - VARCHAR ( 9 ) NOT NULL
- - -Column: phone - in DBA.terminated_employee - VARCHAR ( 10 ) NULL
- - -Column: ss_number - in DBA.terminated_employee - VARCHAR ( 11 ) NOT NULL
- - -Column: salary - in DBA.terminated_employee - NUMERIC ( 20, 3 ) NOT NULL
- - -Column: sex - in DBA.terminated_employee - VARCHAR ( 1 ) NULL
- - -