AdventureWorks Database > dbo Schema : dbo.ErrorLog Table |
Creation Date | 08/01/2010 08:40 |
File Group | PRIMARY |
Text File Group | |
System Object | ![]() |
Published for Replication | ![]() |
Rows | 0 |
Data Space Used | 0.00 KB |
Index Space Used | 0.00 KB |
Column Name | Description | Datatype | Length | Allow Nulls | Default | Formula | |
---|---|---|---|---|---|---|---|
![]() | ErrorLogID | Primary key for ErrorLog records. | int | 4 | |||
ErrorTime | The date and time at which the error occurred. | datetime | 4 | (getdate()) | |||
UserName | The user who executed the batch in which the error occurred. | sysname | 128 | ||||
ErrorNumber | The error number of the error that occurred. | int | 4 | ||||
ErrorSeverity | The severity of the error that occurred. | int | 4 | ![]() | |||
ErrorState | The state number of the error that occurred. | int | 4 | ![]() | |||
ErrorProcedure | The name of the stored procedure or trigger where the error occurred. | nvarchar | 126 | ![]() | |||
ErrorLine | The line number at which the error occurred. | int | 4 | ![]() | |||
ErrorMessage | The message text of the error that occurred. | nvarchar | 4000 |
Index | Description | Primary | Unique |
---|---|---|---|
PK_ErrorLog_ErrorLogID | Primary key (clustered) constraint | ![]() | ![]() |
Database Object | Object Type | Description | Dep Level | |
---|---|---|---|---|
![]() | dVendor | Trigger | INSTEAD OF DELETE trigger which keeps Vendors from being deleted. | 3 |
![]() | iduSalesOrderDetail | Trigger | AFTER INSERT, DELETE, UPDATE trigger that inserts a row in the TransactionHistory table, updates ModifiedDate in SalesOrderDetail and updates the SalesOrderHeader.SubTotal column. | 3 |
![]() | Sales.Individual | Table | Demographic data about customers that purchase Adventure Works products online. | 3 |
![]() | iPurchaseOrderDetail | Trigger | AFTER INSERT trigger that inserts a row in the TransactionHistory table and updates the PurchaseOrderHeader.SubTotal column. | 3 |
![]() | iStore | Trigger | AFTER INSERT trigger inserting Store only if the Customer does not exist in the Individual table. | 3 |
![]() | iuIndividual | Trigger | AFTER INSERT, UPDATE trigger inserting Individual only if the Customer does not exist in the Store table and setting the ModifiedDate column in the Individual table to the current date. | 4 |
![]() | iWorkOrder | Trigger | AFTER INSERT trigger that inserts a row in the TransactionHistory table. | 3 |
![]() | Purchasing.ProductVendor | Table | Cross-reference table mapping vendors with the products they supply. | 3 |
![]() | Purchasing.PurchaseOrderDetail | Table | Individual products associated with a specific purchase order. See PurchaseOrderHeader. | 2 |
![]() | Purchasing.PurchaseOrderHeader | Table | General purchase order information. See PurchaseOrderDetail. | 2 |
![]() | Sales.SalesOrderDetail | Table | Individual products associated with a specific sales order. See SalesOrderHeader. | 2 |
![]() | Sales.SalesOrderHeader | Table | General sales order information. | 2 |
![]() | Sales.SalesOrderHeaderSalesReason | Table | Cross-reference table mapping sales orders to sales reason codes. | 3 |
![]() | Sales.Store | Table | Customers (resellers) of Adventure Works products. | 2 |
![]() | Sales.StoreContact | Table | Cross-reference table mapping stores and their employees. | 3 |
![]() | dbo.ufnGetContactInformation | User Defined Function | Table value function returning the first name, last name, job title and contact type for a given contact. | 4 |
![]() | uPurchaseOrderDetail | Trigger | AFTER UPDATE trigger that inserts a row in the TransactionHistory table, updates ModifiedDate in PurchaseOrderDetail and updates the PurchaseOrderHeader.SubTotal column. | 3 |
![]() | uPurchaseOrderHeader | Trigger | AFTER UPDATE trigger that updates the RevisionNumber and ModifiedDate columns in the PurchaseOrderHeader table. | 3 |
![]() | uSalesOrderHeader | Trigger | AFTER UPDATE trigger that updates the RevisionNumber and ModifiedDate columns in the SalesOrderHeader table.Updates the SalesYTD column in the SalesPerson and SalesTerritory tables. | 3 |
![]() | dbo.uspLogError | Stored Procedure | Logs error information in the ErrorLog table about the error that caused execution to jump to the CATCH block of a TRY...CATCH construct. Should be executed from within the scope of a CATCH block otherwise it will return without inserting error information. | 1 |
![]() | HumanResources.uspUpdateEmployeeHireInfo | Stored Procedure | Updates the Employee table and inserts a new row in the EmployeePayHistory table with the values specified in the input parameters. | 2 |
![]() | HumanResources.uspUpdateEmployeeLogin | Stored Procedure | Updates the Employee table with the values specified in the input parameters for the given EmployeeID. | 2 |
![]() | HumanResources.uspUpdateEmployeePersonalInfo | Stored Procedure | Updates the Employee table with the values specified in the input parameters for the given EmployeeID. | 2 |
![]() | uWorkOrder | Trigger | AFTER UPDATE trigger that inserts a row in the TransactionHistory table, updates ModifiedDate in the WorkOrder table. | 3 |
![]() | Purchasing.Vendor | Table | Companies from whom Adventure Works Cycles purchases parts or other goods. | 2 |
![]() | Purchasing.VendorAddress | Table | Cross-reference mapping vendors and addresses. | 3 |
![]() | Purchasing.VendorContact | Table | Cross-reference table mapping vendors and their employees. | 3 |
![]() | Sales.vIndividualCustomer | View | Individual customers (names and addresses) that purchase Adventure Works Cycles products online. | 4 |
![]() | Sales.vIndividualDemographics | View | Displays the content from each element in the xml column Demographics for each customer in the Sales.Individual table. | 4 |
![]() | Sales.vSalesPersonSalesByFiscalYears | View | Uses PIVOT to return aggregated sales information for each sales representative. | 3 |
![]() | Sales.vStoreWithDemographics | View | Stores (names and addresses) that sell Adventure Works Cycles products to consumers. | 3 |
![]() | Purchasing.vVendor | View | Vendor (company) names and addresses and the names of vendor employees to contact. | 3 |
![]() | Production.WorkOrder | Table | Manufacturing work orders. | 2 |
![]() | Production.WorkOrderRouting | Table | Work order details. | 3 |
|