Database reference - calcom

calcom -  tables -  [dbo].[MASTER_SAMPLES]

Description

This table contains sample header data for all port samples except those from the current year
 

Table properties

namevalue
name[dbo].[MASTER_SAMPLES]
ansi nullson 
quoted identifieron 
row count46,249
Size of data5,888 kb
Size of indexes32 kb
Maximum size of a single row371 bytes

Columns

columndatatypelengthbytesdefaultnullsPKFKUQcomputedcomment
sample_novarchar99 no  yes    no 
formay yyyynnnnnn where yyyy=year and nnnnnn = a unique number for the year
 
cal_portvarchar1515 no      no 
actual port where fish were landed
 
sample_datedatetime238 no      no   
gearvarchar55 yes      no 
actual fishing gear used
 
mark_catint104 yes      no 
market category - a sort group not a species code
 
boat_noint104 yes      no   
total_wgtnumeric75 yes      no 
weight in pounds of the strata that the sample was taken from
 
pink_ticketvarchar77 yes      no 
landing receipt number
 
dressedvarchar11 yes      no 
were the fish landed dressed, typically only used for sablefish
 
live_fishvarchar11 yes      no 
were the fish landed live - Y or N
 
otolithsvarchar11 yes      no 
were otoliths collected, often not recorded
 
commentsvarchar250250 yes      no   
sizevarchar33 yes      no 
if sorted based on size, refer to size_codes table for descriptions, typically only for sablefish
 
samplervarchar1515 yes      no 
port samplers last name
 
port_complexvarchar33 yes      no 
assigned port complex based on port of landing
 
check_mevarchar11 yes      no 
used by port samplers if sample is unusual, see comments column for details
 
last_datedatetime238 yes      no 
automatically inserted by a trigger if table is updated
 
gear_grpvarchar33 yes      no 
assigned gear group based on actual gear used
 
pink_ticket2varchar77 yes      no 
if landing made on more than one receipt this column is used
 
pink_ticket3varchar77 yes      no 
if landing made on more than 2 receipts this column is used
 
observed_tripchar11 yes      no 
was an observer onboard the vessel Y or N, sometimes hard to determine
 
efp_tripchar11 yes      no 
was this trip done under an Experimental Fishing Permit Y or N, may not be reliable
 
ifq_tripchar11 yes      no 
was this trip made under an Individual Fish Quota Y or N, may not be reliable
 
old_sample_novarchar1111 yes      no 
sample number used under previous version of CALCOM
 

Dependency graph

dboMASTER_SAMPLESPK_MASTER_SAMPLES...cgexpansion1matchingotolith_commercial_tray...samp_age_ctssamp_len_ctssamp_spcomp_ctsxxx_FISH_CT_AGExxx_FISH_CT_LENGTH...xxx_SAMP_CT_AGExxx_SAMP_CT_LENGTH...age_expand_data_vu...age_samp_vuann_samp_vucom_samp_vulen_expand_data_vu...len_samp_vumatching_vusamp_strat_vu

Objects that depend on [dbo].[MASTER_SAMPLES]

nameobject typelevel



Documentation generated by SqlSpec