TEAMFUNDRAISINGTEAM
                                        Stores information pertaining to team fundraising teams.  
                                        Primary Key
                                        
                                            
                                                
                                                    | Primary Key | Field Type | 
                                            
                                            
                                                
                                                    | ID | uniqueidentifier | 
                                            
                                        
                                        Fields
                                        
                                            
                                                
                                                    | Field | Field Type | Null | Notes | Description | 
                                            
                                            
                                                
                                                    | NAME | nvarchar(100) |  | Default = '' |  | 
                                                
                                                    | GOAL | money |  | Default = 0 | The fundraising goal for this team. | 
                                                
                                                    | 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. | 
                                                
                                                    | ORGANIZATIONGOAL | money |  | Default = 0 | The fundraising goal for this team in organization currency. | 
                                            
                                        
                                        Foreign Keys
                                        
                                            
                                                
                                                    | Foreign Key | Field Type | Null | Notes | Description | 
                                            
                                            
                                                
                                                    | APPEALID | uniqueidentifier |  | APPEAL.LOCALID | FK to APPEAL | 
                                                
                                                    | PARENTTEAMID | uniqueidentifier | yes | TEAMFUNDRAISINGTEAM.ID | FK to TEAMFUNDRAISINGTEAM | 
                                                
                                                    | ADDEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                                
                                                    | CHANGEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                                
                                                    | TEAMFUNDRAISINGTEAMGROUPID | uniqueidentifier | yes | TEAMFUNDRAISINGTEAMGROUP.ID | FK to TEAMFUNDRAISINGTEAMGROUP | 
                                                
                                                    | ORGANIZATIONEXCHANGERATEID | uniqueidentifier | yes | CURRENCYEXCHANGERATE.ID | The exchange rate used to convert from goal to organization goal. | 
                                                
                                                    | BASECURRENCYID | uniqueidentifier | yes | CURRENCY.ID | The base currency associated with this team. | 
                                            
                                        
                                        Indexes
                                        
                                            
                                                
                                                    | Index Name | Fields | Unique | Primary | Clustered | 
                                            
                                            
                                                
                                                    | IX_TEAMFUNDRAISINGTEAM_BASECURRENCYID | BASECURRENCYID |  |  |  | 
                                                
                                                    | IX_TEAMFUNDRAISINGTEAM_DATEADDED | DATEADDED |  |  | yes | 
                                                
                                                    | IX_TEAMFUNDRAISINGTEAM_DATECHANGED | DATECHANGED |  |  |  | 
                                                
                                                    | IX_TEAMFUNDRAISINGTEAM_ORGANIZATIONEXCHANGERATEID | ORGANIZATIONEXCHANGERATEID |  |  |  | 
                                                
                                                    | IX_TEAMFUNDRAISINGTEAM_TEAMFUNDRAISINGTEAMGROUPID | TEAMFUNDRAISINGTEAMGROUPID |  |  |  | 
                                                
                                                    | PK_TEAMFUNDRAISINGTEAM | ID | yes | yes |  | 
                                                
                                                    | UIX_TEAMFUNDRAISINGTEAM_PARENTTEAMID_APPEALID_NAME | PARENTTEAMID, APPEALID, NAME | yes |  |  | 
                                            
                                        
                                        Triggers
                                        
                                        Referenced by