Sales.StoreContact (table)

From dbscript Online Help
Jump to: navigation, search

wikibot[edit]

Table Sales.StoreContact
Description Cross-reference table mapping stores and their employees.

Columns[edit]

Column Data Type Nullable Default Description
CustomerID int not null Store identification number. Foreign key to Customer.CustomerID.
ContactID int not null Contact (store employee) identification number. Foreign key to Contact.ContactID.
ContactTypeID int not null Contact type such as owner or purchasing agent. Foreign key to ContactType.ContactTypeID.
rowguid uniqueidentifier not null (newid()) ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.
ModifiedDate datetime not null (getdate()) Date and time the record was last updated.

Primary Key[edit]

Primary Key Columns
PK_StoreContact_CustomerID_ContactID CustomerID, ContactID

Indexes[edit]

Index Type Columns
AK_StoreContact_rowguid Unique rowguid
IX_StoreContact_ContactID ContactID
IX_StoreContact_ContactTypeID ContactTypeID

Hi,

We'd like to introduce to you our explainer video service which we feel can benefit your site devio.at.

Check out some of our existing videos here: https://www.youtube.com/watch?v=zvGF7uRfH04 https://www.youtube.com/watch?v=MOnhn77TgDE https://www.youtube.com/watch?v=KhSCHaI6gw0

All of our videos are in a similar animated format as the above examples and we have voice over artists with US/UK/Australian accents.

They can show a solution to a problem or simply promote one of your products or services. They are concise, can be uploaded to video such as Youtube, and can be embedded into your website or featured on landing pages.

Our prices are as follows depending on video length: 0-1 minutes = $159 1-2 minutes = $269 2-3 minutes = $379

  • All prices above are in USD and include a custom video, full script and a voice-over.

If this is something you would like to discuss further, don't hesitate to get in touch. If you are not interested, simply delete this message and we won't contact you again.

Kind Regards, Barbara

References[edit]

Dependency Type Object Type Referenced Object
Schema Schema Sales

Dependencies[edit]

Reference Type Object Type Referencing Object
Select View Sales.vStoreWithDemographics
Select SQL table-valued-function dbo.ufnGetContactInformation


automatically generated[edit]

Table Sales.StoreContact
Description Cross-reference table mapping stores and their employees.


Column Data Type Nullable Default Description / PK / Index
CustomerID int not null Store identification number. Foreign key to Customer.CustomerID.
PK_StoreContact_CustomerID_ContactID
ContactID int not null Contact (store employee) identification number. Foreign key to Contact.ContactID.
PK_StoreContact_CustomerID_ContactIDIX_StoreContact_ContactID
ContactTypeID int not null Contact type such as owner or purchasing agent. Foreign key to ContactType.ContactTypeID.
IX_StoreContact_ContactTypeID
rowguid uniqueidentifier not null (NEWID()) ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.
AK_StoreContact_rowguid
ModifiedDate datetime not null (GETDATE()) Date and time the record was last updated.


Relation Column Referenced Column
Person.Contact ContactID ContactID
Person.ContactType ContactTypeID ContactTypeID
Sales.Store CustomerID CustomerID


Dependency Type Object Type Referenced Object
Schema Schema Sales


Reference Type Object Type Referencing Object
Select View Sales.vStoreWithDemographics
Select SQL table-valued-function dbo.ufnGetContactInformation