MKTSOURCEANALYSISRULES
                                        Stores a source analysis rule for each record source.  
                                        Primary Key
                                        
                                            
                                                
                                                    | Primary Key | Field Type | 
                                            
                                            
                                                
                                                    | ID | uniqueidentifier | 
                                            
                                        
                                        Fields
                                        
                                            
                                                
                                                    | Field | Field Type | Null | Notes | Description | 
                                            
                                            
                                                
                                                    | QUERYVIEWSPECID | uniqueidentifier | yes |  | Holds the ID of the query view spec. | 
                                                
                                                    | 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. | 
                                                
                                                    | NAME | nvarchar(255) (Computed) | yes | dbo.[UFN_QUERYVIEW_GETNAME]([RECORDSOURCEID]) | The name of the record source. | 
                                            
                                        
                                        Foreign Keys
                                        
                                            
                                                
                                                    | Foreign Key | Field Type | Null | Notes | Description | 
                                            
                                            
                                                
                                                    | RECORDSOURCEID | uniqueidentifier | yes | MKTRECORDSOURCE.ID | The record source that this source analysis rule applies to. | 
                                                
                                                    | ADDEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                                
                                                    | CHANGEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                            
                                        
                                        Indexes
                                        
                                            
                                                
                                                    | Index Name | Fields | Unique | Primary | Clustered | 
                                            
                                            
                                                
                                                    | IX_MKTSOURCEANALYSISRULES_DATEADDED | DATEADDED |  |  | yes | 
                                                
                                                    | IX_MKTSOURCEANALYSISRULES_DATECHANGED | DATECHANGED |  |  |  | 
                                                
                                                    | PK_MKTSOURCEANALYSISRULES | ID | yes | yes |  | 
                                                
                                                    | UIX_MKTSOURCEANALYSISRULES_RECORDSOURCEID | RECORDSOURCEID | yes |  |  | 
                                            
                                        
                                        Triggers
                                        
                                        Referenced by