Transact-SQL 参考

CustomerCustomerDemo

Column_name 数据类型 可以为空 默认值 检查 键/索引
CustomerID nchar(5) 组合非聚集主键1
外键 Customers(CustomerID)
CustomerTypeID nchar(10) 组合非聚集主键1、外键 CustomerDemographics(CustomerTypeID)

1  组合主键在 CustomerIDCustomerTypeID 上定义。