Editing Sales.Store (table)
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
− | |- | + | |- |
| '''Table | | '''Table | ||
| Sales.Store | | Sales.Store | ||
Line 8: | Line 8: | ||
| '''Description | | '''Description | ||
| Customers (resellers) of Adventure Works products. | | Customers (resellers) of Adventure Works products. | ||
+ | |- | ||
|} | |} | ||
+ | |||
=== Columns === | === Columns === | ||
Line 18: | Line 20: | ||
| '''Default | | '''Default | ||
| '''Description | | '''Description | ||
− | + | ||
|- valign="top" | |- valign="top" | ||
| CustomerID | | CustomerID | ||
Line 62: | Line 64: | ||
| '''Primary Key | | '''Primary Key | ||
| '''Columns | | '''Columns | ||
− | |- | + | |- |
| PK_Store_CustomerID | | PK_Store_CustomerID | ||
| CustomerID | | CustomerID | ||
Line 73: | Line 75: | ||
| '''Type | | '''Type | ||
| '''Columns | | '''Columns | ||
− | + | ||
− | |- | + | |- |
| AK_Store_rowguid | | AK_Store_rowguid | ||
| Unique | | Unique | ||
| rowguid | | rowguid | ||
− | |- | + | |- |
| IX_Store_SalesPersonID | | IX_Store_SalesPersonID | ||
| | | | ||
| SalesPersonID | | SalesPersonID | ||
− | |- | + | |- |
| PXML_Store_Demographics | | PXML_Store_Demographics | ||
| | | | ||
Line 94: | Line 96: | ||
| '''Column | | '''Column | ||
| '''Referenced Column | | '''Referenced Column | ||
− | + | ||
− | |- | + | |- |
| [[Sales.Customer_(table)|Sales.Customer]] | | [[Sales.Customer_(table)|Sales.Customer]] | ||
| CustomerID | | CustomerID | ||
| CustomerID | | CustomerID | ||
− | |- | + | |- |
| [[Sales.SalesPerson_(table)|Sales.SalesPerson]] | | [[Sales.SalesPerson_(table)|Sales.SalesPerson]] | ||
| SalesPersonID | | SalesPersonID | ||
Line 111: | Line 113: | ||
| '''Column | | '''Column | ||
| '''Referencing Column | | '''Referencing Column | ||
− | + | ||
− | |- | + | |- |
| [[Sales.StoreContact_(table)|Sales.StoreContact]] | | [[Sales.StoreContact_(table)|Sales.StoreContact]] | ||
| CustomerID | | CustomerID | ||
Line 121: | Line 123: | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
− | | ''' | + | | '''Triggers |
| '''Type | | '''Type | ||
− | + | ||
− | |- | + | |- |
| iStore | | iStore | ||
| ON INSERT | | ON INSERT | ||
|} | |} | ||
− | + | Trigger iStore | |
<pre> | <pre> | ||
CREATE TRIGGER [Sales].[iStore] ON [Sales].[Store] | CREATE TRIGGER [Sales].[iStore] ON [Sales].[Store] | ||
Line 168: | Line 170: | ||
END; | END; | ||
</pre> | </pre> | ||
− | + | ||
=== References === | === References === | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
Line 179: | Line 181: | ||
| '''Child Object | | '''Child Object | ||
− | |- | + | |- |
| Data Type | | Data Type | ||
| Type | | Type | ||
Line 186: | Line 188: | ||
| | | | ||
| | | | ||
− | |- | + | |- |
| Schema | | Schema | ||
| Schema | | Schema | ||
Line 193: | Line 195: | ||
| | | | ||
| | | | ||
− | |- | + | |- |
| Data Type | | Data Type | ||
| XML Schema Collection | | XML Schema Collection | ||
− | | [[Sales.StoreSurveySchemaCollection_( | + | | [[Sales.StoreSurveySchemaCollection_(xml_schema_collection)|Sales.StoreSurveySchemaCollection]] |
| | | | ||
| | | | ||
− | |- | + | |- |
| Select | | Select | ||
| Table | | Table | ||
Line 207: | Line 209: | ||
| Trigger | | Trigger | ||
| iStore | | iStore | ||
− | |- | + | |- |
| Execute | | Execute | ||
| Procedure | | Procedure | ||
Line 214: | Line 216: | ||
| Trigger | | Trigger | ||
| iStore | | iStore | ||
− | |- | + | |- |
| Execute | | Execute | ||
| Procedure | | Procedure | ||
Line 233: | Line 235: | ||
| '''Child Object | | '''Child Object | ||
− | |- | + | |- |
| Select | | Select | ||
| View | | View | ||
Line 240: | Line 242: | ||
| | | | ||
| | | | ||
− | |- | + | |- |
| Select | | Select | ||
| Table | | Table |