Databases > AdventureWorks2019 > Tables > Person.PersonPhone

AdventureWorks2019

Person.PersonPhone

//
Telephone number and type of a person.

Created: Modified:

Columns

  • //
    ${escapify(column.description)}
    BusinessEntityID
    [int] NOT NULL
  • //
    ${escapify(column.description)}
    PhoneNumber
    [Phone] NOT NULL
    //
    USER-DEFINED DATA TYPE
    [nvarchar](25) NULL
  • //
    ${escapify(column.description)}
    PhoneNumberTypeID
    [int] NOT NULL
  • //
    ${escapify(column.description)}
    ModifiedDate
    [datetime] NOT NULL DEFAULT (getdate())

Indexes

  • //
    Clustered index created by a primary key constraint.
    PK_PersonPhone_BusinessEntityID_PhoneNumber_PhoneNumberTypeID
    UNIQUE CLUSTERED
    BusinessEntityID , PhoneNumber , PhoneNumberTypeID
  • //
    Nonclustered index.
    IX_PersonPhone_PhoneNumber
    NONCLUSTERED
    PhoneNumber

Foreign Keys

  • //
    Foreign key constraint referencing Person.BusinessEntityID.
    FK_PersonPhone_Person_BusinessEntityID
    Person.Person
    BusinessEntityID ⥱ BusinessEntityID
  • //
    Foreign key constraint referencing PhoneNumberType.PhoneNumberTypeID.
    FK_PersonPhone_PhoneNumberType_PhoneNumberTypeID
    Person.PhoneNumberType
    PhoneNumberTypeID ⥱ PhoneNumberTypeID

Sample Data

BusinessEntityID
PhoneNumber
PhoneNumberTypeID
ModifiedDate
1
697-555-0142
1
2
819-555-0175
3
3
212-555-0187
1
4
612-555-0100
1
5
849-555-0139
1
6
122-555-0189
3
7
181-555-0156
3
8
815-555-0138
1
9
185-555-0186
1
10
330-555-2568
3
11
719-555-0181
1
12
168-555-0183
3
13
473-555-0117
3
14
465-555-0156
1
15
970-555-0138
1
16
913-555-0172
3
17
150-555-0189
1
18
486-555-0150
3
19
124-555-0114
1
20
708-555-0141
3
21
138-555-0118
1
22
399-555-0176
3
23
531-555-0183
3
24
510-555-0121
3
25
870-555-0122
3