Editing Purchasing.Vendor (table)

Jump to: navigation, search

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"
|- valign="top"
+
|-
 
| '''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
|- valign="top"
+
|-
 
| PK_Vendor_VendorID
 
| PK_Vendor_VendorID
 
| VendorID
 
| VendorID
Line 85: Line 87:
 
| '''Type
 
| '''Type
 
| '''Columns
 
| '''Columns
 
+
|- valign="top"
+
|-
 
| AK_Vendor_AccountNumber
 
| AK_Vendor_AccountNumber
 
| Unique
 
| Unique
Line 98: Line 100:
 
| '''Expression
 
| '''Expression
 
| '''Description
 
| '''Description
 
+
|- valign="top"
+
|-
 
| 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
 
+
|- valign="top"
+
|-
 
| [[Purchasing.ProductVendor_(table)|Purchasing.ProductVendor]]
 
| [[Purchasing.ProductVendor_(table)|Purchasing.ProductVendor]]
 
| VendorID
 
| VendorID
 
| VendorID
 
| VendorID
|- valign="top"
+
|-
 
| [[Purchasing.PurchaseOrderHeader_(table)|Purchasing.PurchaseOrderHeader]]
 
| [[Purchasing.PurchaseOrderHeader_(table)|Purchasing.PurchaseOrderHeader]]
 
| VendorID
 
| VendorID
 
| VendorID
 
| VendorID
|- valign="top"
+
|-
 
| [[Purchasing.VendorAddress_(table)|Purchasing.VendorAddress]]
 
| [[Purchasing.VendorAddress_(table)|Purchasing.VendorAddress]]
 
| VendorID
 
| VendorID
 
| VendorID
 
| VendorID
|- valign="top"
+
|-
 
| [[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"
| '''Trigger
+
| '''Triggers
 
| '''Type
 
| '''Type
 
+
|- valign="top"
+
|-
 
| dVendor
 
| dVendor
 
| INSTEAD OF DELETE
 
| INSTEAD OF DELETE
 
|}
 
|}
  
==== Trigger dVendor ====
+
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
  
|- valign="top"
+
|-
 
| Data Type
 
| Data Type
 
| Type
 
| Type
Line 204: Line 206:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|-
 
| Data Type
 
| Data Type
 
| Type
 
| Type
Line 211: Line 213:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|-
 
| Data Type
 
| Data Type
 
| Type
 
| Type
Line 218: Line 220:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|-
 
| Schema
 
| Schema
 
| Schema
 
| Schema
Line 225: Line 227:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|-
 
| Execute
 
| Execute
 
| Procedure
 
| Procedure
Line 232: Line 234:
 
| Trigger
 
| Trigger
 
| dVendor
 
| dVendor
|- valign="top"
+
|-
 
| Execute
 
| Execute
 
| Procedure
 
| Procedure
Line 248: Line 250:
 
| '''Referencing Object
 
| '''Referencing Object
  
|- valign="top"
+
|-
 
| Select
 
| Select
 
| View
 
| View

Please note that all contributions to dbscript Online Help may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Project:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)