AdventureWorks2019
Sales.PersonCreditCard
//
Cross-reference table mapping people to their credit card information in the CreditCard table.
Created: Modified:
Columns
-
//${escapify(column.description)}[int] NOT NULL
-
//${escapify(column.description)}[int] NOT NULL
-
//${escapify(column.description)}[datetime] NOT NULL DEFAULT (getdate())
Indexes
-
//Clustered index created by a primary key constraint.PK_PersonCreditCard_BusinessEntityID_CreditCardIDUNIQUE CLUSTEREDBusinessEntityID , CreditCardID
Foreign Keys
-
//Foreign key constraint referencing CreditCard.CreditCardID.FK_PersonCreditCard_CreditCard_CreditCardIDSales.CreditCardCreditCardID ⥱ CreditCardID
-
//Foreign key constraint referencing Person.BusinessEntityID.FK_PersonCreditCard_Person_BusinessEntityIDPerson.PersonBusinessEntityID ⥱ BusinessEntityID
Sample Data
BusinessEntityID
CreditCardID
ModifiedDate
293
17038
295
15369
297
8010
299
5316
301
6653
303
9010
305
8937
307
16124
309
9478
311
17600
313
1970
315
8274
317
13045
319
13601
323
5958
325
10709
327
126
329
6626
331
14963
333
18100
335
12823
337
11434
339
13160
341
3787
343
8979