The following table descriptions are ordered such that all foreign keys in a table reference tables that are above it on the page.
Column name | Type | Miscellaneous Information |
---|---|---|
SchemaVersion | integer | primary key |
Column name | Type | Miscellaneous Information |
---|---|---|
FamNo | integer | primary key |
FamScientific | VARCHAR 30 | not null |
FamEnglish | VARCHAR 35 | not used anywhere |
SortOrder | integer | not null |
Column name | Type | Miscellaneous Information |
---|---|---|
FamNo | integer | not null, foreign key families.FamNo key |
GenNo | integer | primary key |
Genus | VARCHAR 25 | not null |
SortOrder | integer | not null |
GlobalSortOrder | integer | not null |
Column name | Type | Miscellaneous Information |
---|---|---|
GenNo | integer | not null, foreign key genera.GenNo |
Synonym | VARCHAR 25 | not null, unique |
Column name | Type | Miscellaneous Information |
---|---|---|
GenNo | integer | not null, foreign key genera.GenNo |
SpecNo | integer | primary key |
Species | VARCHAR 40 | not null |
SortOrder | integer | not null |
GlobalSortOrder | integer | not null |
Column name | Type | Miscellaneous Information |
---|---|---|
SpecNo | integer | not null, foreign key species.SpecNo |
Synonym | VARCHAR 65 | not null, unique |
Column name | Type | Miscellaneous Information |
---|---|---|
ListNo | integer | not null, primary key |
Encoding | VARCHAR 5 | not null |
ListName | VARCHAR 30 | not null |
Description | VARCHAR 100 | not null |
Source | VARCHAR 60 | not null |
Contributor | VARCHAR 60 | not null |
Version | VARCHAR 30 | not null |
Column name | Type | Miscellaneous Information |
---|---|---|
SpecNo | integer | not null, foreign key references species.SpecNo |
ListNo | integer | not null, foreign key references commonlists.ListNo |
Common | VARCHAR 40 | not null |
Primary key for this table is SpecNo, ListNo |
Column name | Type | Miscellaneous Information |
---|---|---|
ListNo | integer | primary key |
ListName | VARCHAR 30 | not null, unique |
Description | VARCHAR 100 | null |
Source | VARCHAR 60 | not null |
Contributor | VARCHAR 60 | not null |
Version | VARCHAR 30 | null |
ParentList | integer | null, foreign key checklistinfo.ListNo |
Column name | Type | Miscellaneous Information |
---|---|---|
ListNo | integer | not null, foreign key checklistinfo.ListNo |
SpecNo | integer | not null, foreign key species.SpecNo |
Primary key for this table is ListNo, SpecNo |
Column name | Type | Miscellaneous Information |
---|---|---|
RegNo | integer | primary key |
RegName | VARCHAR 20 | unique |
PrefChecklist | integer | null, foreign key checklistinfo.ListNo |
Column name | Type | Miscellaneous Information |
---|---|---|
NoteNo | integer | primary key |
Notes | text | not null |
Column name | Type | Miscellaneous Information |
---|---|---|
TripNo | integer | primary key |
ObsDate | date | not null |
Region | integer | not null, foreign key references regions.RegNo |
Locality | varchar 25 | not null |
KeyWords | varchar 40 | null |
NoteNo | integer | null, foreign key references notes.NoteNo |
PrefChecklist | integer | null, foreign key checklistinfo.ListNo |
Combination of region, date and locality must be unique. Enforced by code when trips are created. |
Column name | Type | Miscellaneous Information |
---|---|---|
ObsNo | integer | primary key |
ObsName | varchar 20 | not null, unique |
Column name | Type | Miscellaneous Information |
---|---|---|
SpecNo | integer | not null, foreign key references species.SpecNo |
TripNo | integer | not null, foreign key references trips.TripNo |
Observer | integer | not null, foreign key references observers.ObsNo |
BirdCount | integer | null |
NoteNo | integer | null, foreign key references notes.NoteNo |
Primary key for this table SpecNo, TripNo, Observer |
Previous (Access from perl) | Contents | Next (Remote access) |
Page last updated 16 October 2004