Project
>
DEVSQL2016EA172
>
User databases
>
CoSample_17_2
>
Tables
> dbo.CSCommissionRates
[dbo].[CSCommissionRates]
Properties
Property
Value
Collation
SQL_Latin1_General_CP1_CI_AS
Row Count (~)
0
Created
12:57:07 AM Thursday, March 21, 2019
Last Modified
12:57:07 AM Thursday, March 21, 2019
Columns
Key
Name
Data Type
Max Length (Bytes)
Allow Nulls
Identity
RateID
int
4
False
1 - 1
BusinessType
char(64)
64
False
Rate
float
8
False
StartDate
datetime
8
True
EndDate
datetime
8
False
Indexes
Key
Name
Key Columns
Unique
Fill Factor
PK_CSCommissionRates
RateID
True
80
SQL Script
CREATE
TABLE
[dbo]
.
[CSCommissionRates]
(
[RateID]
[int]
NOT
NULL
IDENTITY
(
1
,
1
),
[BusinessType]
[char]
(
64
)
COLLATE
SQL_Latin1_General_CP1_CI_AS
NOT
NULL
,
[Rate]
[float]
NOT
NULL
,
[StartDate]
[datetime]
NULL
,
[EndDate]
[datetime]
NOT
NULL
)
ON
[PRIMARY]
GO
ALTER
TABLE
[dbo]
.
[CSCommissionRates]
ADD
CONSTRAINT
[PK_CSCommissionRates]
PRIMARY
KEY
CLUSTERED
(
[RateID]
)
ON
[PRIMARY]
GO