MERCHANDISEDEPARTMENTCATEGORY
                                        A category within a department to which specific merchandise items belong.  
                                        Primary Key
                                        
                                            
                                                
                                                    | Primary Key | Field Type | 
                                            
                                            
                                                
                                                    | ID | uniqueidentifier | 
                                            
                                        
                                        Fields
                                        
                                            
                                                
                                                    | Field | Field Type | Null | Notes | Description | 
                                            
                                            
                                                
                                                    | NAME | nvarchar(100) |  | Default = '' | The category name. | 
                                                
                                                    | DESCRIPTION | nvarchar(255) |  | Default = '' | The category description. | 
                                                
                                                    | 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. | 
                                                
                                                    | ISACTIVE | bit |  | Default = 1 | Determines whether the category is active. | 
                                            
                                        
                                        Foreign Keys
                                        
                                            
                                                
                                                    | Foreign Key | Field Type | Null | Notes | Description | 
                                            
                                            
                                                
                                                    | MERCHANDISEDEPARTMENTID | uniqueidentifier |  | MERCHANDISEDEPARTMENT.ID | The department to which the category belongs. | 
                                                
                                                    | ADDEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                                
                                                    | CHANGEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                            
                                        
                                        Indexes
                                        
                                            
                                                
                                                    | Index Name | Fields | Unique | Primary | Clustered | 
                                            
                                            
                                                
                                                    | IX_MERCHANDISEDEPARTMENTCATEGORY_DATEADDED | DATEADDED |  |  | yes | 
                                                
                                                    | IX_MERCHANDISEDEPARTMENTCATEGORY_DATECHANGED | DATECHANGED |  |  |  | 
                                                
                                                    | PK_MERCHANDISEDEPARTMENTCATEGORY | ID | yes | yes |  | 
                                                
                                                    | UIX_MERCHANDISEDEPARTMENTCATEGORY_MERCHANDISEDEPARTMENTID_NAME | MERCHANDISEDEPARTMENTID, NAME | yes |  |  | 
                                            
                                        
                                        Triggers
                                        
                                        Referenced by