Database reference - calcom

calcom -  tables -  [dbo].[OTOLITH_INVENTORY]

Description

This table contains an inventory of all of the otoliths are in our collection.  Note that some otoliths are stored in coin envelopes, while others are stored in trays.  Those stored in trays give us the ability to track down otoltihs for a specific fish.
 

Table properties

namevalue
name[dbo].[OTOLITH_INVENTORY]
ansi nullson 
quoted identifieron 
row count16,386
Size of data1,536 kb
Size of indexes792 kb
Maximum size of a single row206 bytes

Columns

columndatatypelengthbytesdefaultnullsPKFKUQcomputedcomment
Temp_primary_keyint identity (1,1) 104 no  yes    no 
This column inserted for MS Access compatability.  It resolves a data retrieval bug.  It will be removed in the future when all otoliths have been moved to tray biens.
 
yearvarchar55 no      no   
speciesvarchar44 no      no   
box_novarchar1515 yes      no 
This is the box in which the coin envelopes are stored.
 
tray_noint104 yes      no 
This is the Tray Bien number.  If null, then otoliths are stored in coin envelopes.
 
sourcevarchar5050 no      no 
Used for Coin envelopes (RES, REC, COM) are possible values.
 
totalint104 no      no 
Total number of otoliths.
 
sample_novarchar2525 yes      no 
If not null then sample # on Tray Biens; otherwise otoliths are in coin envelopes.
 
clust_haul_novarchar33 yes      no 
If a Commercial sample, then it is cluster number, if Research, it is haul number.
 
start_fish_noint104 yes      no 
If otoliths in trays, it is the first number of the sample and clust/haul in the group.
 
end_fish_noint104 yes      no   
start_cell_noint104 yes      no 
Start cell number in the Tray Bien for this group.
 
end_cell_noint104 yes      no 
The last cell number in the tray for this group.
 
agedchar11 yes      no 
This field is not reliable and may be discontinued.
 
locationvarchar2525 yes      no 
Where the otoliths are stored (typically Santa Cruz).
 
loan_infovarchar5050 yes      no 
Who these otoliths are on loan to.
 

Dependency graph

dboOTOLITH_INVENTORYPK_OTOLITH_INVENTORY...species_ndx...year_ndx...otolith_commercial_tray...

Objects that depend on [dbo].[OTOLITH_INVENTORY]

nameobject typelevel



Documentation generated by SqlSpec