SCHOOL
                                        Indicates that a constituent is a school and has school specific fields  
                                        Primary Key
                                        
                                            
                                                
                                                    | Primary Key | Field Type | 
                                            
                                            
                                                
                                                    | ID | uniqueidentifier | 
                                            
                                        
                                        Fields
                                        
                                            
                                                
                                                    | Field | Field Type | Null | Notes | Description | 
                                            
                                            
                                                
                                                    | GENDERCODE | tinyint |  | Default = 0 | The gender of the school. | 
                                                
                                                    | GENDER | nvarchar(6) (Computed) | yes | CASE [GENDERCODE] WHEN 0 THEN N'Coed' WHEN 1 THEN N'Male' WHEN 2 THEN N'Female' END | Provides a translation for the 'GENDERCODE' field. | 
                                                
                                                    | DATEADDED | datetime |  | Default = getdate() | Indicates the date this record was added. | 
                                                
                                                    | DATECHANGED | datetime |  | Default = getdate() | Indicates the date this record was last changed. | 
                                                
                                                    | TS | timestamp |  |  | Timestamp. | 
                                                
                                                    | TSLONG | bigint (Computed) | yes | CONVERT(bigint, TS) | Numeric representation of the timestamp. | 
                                                
                                                    | COMMENTCODE | tinyint |  | Default = 1 | The comment type use by the school. | 
                                                
                                                    | COMMENT | nvarchar(16) (Computed) | yes | CASE [COMMENTCODE] WHEN 0 THEN N'Default comments' WHEN 1 THEN N'Freeform entry' END | Provides a translation for the 'COMMENTCODE' field. | 
                                            
                                        
                                        Foreign Keys
                                        
                                        Indexes
                                        
                                            
                                                
                                                    | Index Name | Fields | Unique | Primary | Clustered | 
                                            
                                            
                                                
                                                    | IX_SCHOOL_DATEADDED | DATEADDED |  |  | yes | 
                                                
                                                    | IX_SCHOOL_DATECHANGED | DATECHANGED |  |  |  | 
                                                
                                                    | PK_SCHOOL | ID | yes | yes |  | 
                                            
                                        
                                        Triggers
                                        
                                        Referenced by