Editing Purchasing.Vendor (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 | ||
| Purchasing.Vendor | | Purchasing.Vendor | ||
Line 8: | Line 8: | ||
| '''Description | | '''Description | ||
| Companies from whom Adventure Works Cycles purchases parts or other goods. | | Companies from whom Adventure Works Cycles purchases parts or other goods. | ||
+ | |- | ||
|} | |} | ||
+ | |||
=== Columns === | === Columns === | ||
Line 18: | Line 20: | ||
| '''Default | | '''Default | ||
| '''Description | | '''Description | ||
− | + | ||
|- valign="top" | |- valign="top" | ||
| VendorID | | VendorID | ||
Line 74: | Line 76: | ||
| '''Primary Key | | '''Primary Key | ||
| '''Columns | | '''Columns | ||
− | |- | + | |- |
| PK_Vendor_VendorID | | PK_Vendor_VendorID | ||
| VendorID | | VendorID | ||
Line 85: | Line 87: | ||
| '''Type | | '''Type | ||
| '''Columns | | '''Columns | ||
− | + | ||
− | |- | + | |- |
| AK_Vendor_AccountNumber | | AK_Vendor_AccountNumber | ||
| Unique | | Unique | ||
Line 98: | Line 100: | ||
| '''Expression | | '''Expression | ||
| '''Description | | '''Description | ||
− | + | ||
− | |- | + | |- |
| CK_Vendor_CreditRating | | CK_Vendor_CreditRating | ||
| ([CreditRating]>=(1) AND [CreditRating]<=(5)) | | ([CreditRating]>=(1) AND [CreditRating]<=(5)) | ||
Line 111: | Line 113: | ||
| '''Column | | '''Column | ||
| '''Referencing Column | | '''Referencing Column | ||
− | + | ||
− | |- | + | |- |
| [[Purchasing.ProductVendor_(table)|Purchasing.ProductVendor]] | | [[Purchasing.ProductVendor_(table)|Purchasing.ProductVendor]] | ||
| VendorID | | VendorID | ||
| VendorID | | VendorID | ||
− | |- | + | |- |
| [[Purchasing.PurchaseOrderHeader_(table)|Purchasing.PurchaseOrderHeader]] | | [[Purchasing.PurchaseOrderHeader_(table)|Purchasing.PurchaseOrderHeader]] | ||
| VendorID | | VendorID | ||
| VendorID | | VendorID | ||
− | |- | + | |- |
| [[Purchasing.VendorAddress_(table)|Purchasing.VendorAddress]] | | [[Purchasing.VendorAddress_(table)|Purchasing.VendorAddress]] | ||
| VendorID | | VendorID | ||
| VendorID | | VendorID | ||
− | |- | + | |- |
| [[Purchasing.VendorContact_(table)|Purchasing.VendorContact]] | | [[Purchasing.VendorContact_(table)|Purchasing.VendorContact]] | ||
| VendorID | | VendorID | ||
Line 133: | Line 135: | ||
{| 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 | ||
− | + | ||
− | |- | + | |- |
| dVendor | | dVendor | ||
| INSTEAD OF DELETE | | INSTEAD OF DELETE | ||
|} | |} | ||
− | + | Trigger dVendor | |
<pre> | <pre> | ||
CREATE TRIGGER [Purchasing].[dVendor] ON [Purchasing].[Vendor] | CREATE TRIGGER [Purchasing].[dVendor] ON [Purchasing].[Vendor] | ||
Line 186: | Line 188: | ||
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 197: | Line 199: | ||
| '''Child Object | | '''Child Object | ||
− | |- | + | |- |
| Data Type | | Data Type | ||
| Type | | Type | ||
Line 204: | Line 206: | ||
| | | | ||
| | | | ||
− | |- | + | |- |
| Data Type | | Data Type | ||
| Type | | Type | ||
Line 211: | Line 213: | ||
| | | | ||
| | | | ||
− | |- | + | |- |
| Data Type | | Data Type | ||
| Type | | Type | ||
Line 218: | Line 220: | ||
| | | | ||
| | | | ||
− | |- | + | |- |
| Schema | | Schema | ||
| Schema | | Schema | ||
Line 225: | Line 227: | ||
| | | | ||
| | | | ||
− | |- | + | |- |
| Execute | | Execute | ||
| Procedure | | Procedure | ||
Line 232: | Line 234: | ||
| Trigger | | Trigger | ||
| dVendor | | dVendor | ||
− | |- | + | |- |
| Execute | | Execute | ||
| Procedure | | Procedure | ||
Line 248: | Line 250: | ||
| '''Referencing Object | | '''Referencing Object | ||
− | |- | + | |- |
| Select | | Select | ||
| View | | View |