Lookup table containing standard ISO currencies.
Creation Date | 27/10/2017 14:33 |
File Group | PRIMARY |
Text File Group | |
System Object | |
Published for Replication | |
Rows | 105 |
Data Space Used | 8.00 KB |
Index Space Used | 24.00 KB |
Column Name | Description | Datatype | Length | Allow Nulls | Default | Formula | |
---|---|---|---|---|---|---|---|
CurrencyCode | The ISO code for the Currency. | WChar | 3 | ||||
Name | Currency name. | dbo.Name | 50 | ||||
ModifiedDate | Date and time the record was last updated. | DBTimeStamp | 4 | (getdate()) |
Index | Description | Primary | Unique |
---|---|---|---|
AK_Currency_Name | Unique nonclustered index. | ||
PK_Currency_CurrencyCode | Primary key (clustered) constraint |
Database Object | Object Type | Description | Dep Level | |
---|---|---|---|---|
Sales.CountryRegionCurrency | Table | Cross-reference table mapping ISO currency codes to a country or region. | 1 | |
Sales.CurrencyRate | Table | Currency exchange rates. | 1 | |
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. | 4 | |
Sales.SalesOrderDetail | Table | Individual products associated with a specific sales order. See SalesOrderHeader. | 3 | |
Sales.SalesOrderHeader | Table | General sales order information. | 2 | |
Sales.SalesOrderHeaderSalesReason | Table | Cross-reference table mapping sales orders to sales reason codes. | 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 | |
Sales.vSalesPersonSalesByFiscalYears | View | Uses PIVOT to return aggregated sales information for each sales representative. | 3 |
Database Object | Object Type | Description | Dep Level | |
---|---|---|---|---|
dbo.Name | User Defined Data Type | 1 |
|