Tables [dbo].[RM00103]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)0
Created3:52:54 PM Thursday, December 6, 2018
Last Modified3:53:09 PM Thursday, December 6, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
TNSFCLIFnumeric(19,5)9
No
NONSFLIFint4
No
Primary Key PK_RM00103: CUSTNMBRCUSTNMBRchar(15)15
No
CUSTBLNCnumeric(19,5)9
No
AGPERAMT_1numeric(19,5)9
No
AGPERAMT_2numeric(19,5)9
No
AGPERAMT_3numeric(19,5)9
No
AGPERAMT_4numeric(19,5)9
No
AGPERAMT_5numeric(19,5)9
No
AGPERAMT_6numeric(19,5)9
No
AGPERAMT_7numeric(19,5)9
No
Check Constraints CK_RM00103_LASTAGED : (datepart(hour,[LASTAGED])=(0) AND datepart(minute,[LASTAGED])=(0) AND datepart(second,[LASTAGED])=(0) AND datepart(millisecond,[LASTAGED])=(0))LASTAGEDdatetime8
No
Check Constraints CK_RM00103_FRSTINDT : (datepart(hour,[FRSTINDT])=(0) AND datepart(minute,[FRSTINDT])=(0) AND datepart(second,[FRSTINDT])=(0) AND datepart(millisecond,[FRSTINDT])=(0))FRSTINDTdatetime8
No
Check Constraints CK_RM00103_LSTNSFCD : (datepart(hour,[LSTNSFCD])=(0) AND datepart(minute,[LSTNSFCD])=(0) AND datepart(second,[LSTNSFCD])=(0) AND datepart(millisecond,[LSTNSFCD])=(0))LSTNSFCDdatetime8
No
LPYMTAMTnumeric(19,5)9
No
Check Constraints CK_RM00103_LASTPYDT : (datepart(hour,[LASTPYDT])=(0) AND datepart(minute,[LASTPYDT])=(0) AND datepart(second,[LASTPYDT])=(0) AND datepart(millisecond,[LASTPYDT])=(0))LASTPYDTdatetime8
No
Check Constraints CK_RM00103_LSTTRXDT : (datepart(hour,[LSTTRXDT])=(0) AND datepart(minute,[LSTTRXDT])=(0) AND datepart(second,[LSTTRXDT])=(0) AND datepart(millisecond,[LSTTRXDT])=(0))LSTTRXDTdatetime8
No
LSTTRXAMnumeric(19,5)9
No
LSTFCHAMnumeric(19,5)9
No
UPFCHYTDnumeric(19,5)9
No
AVDTPLYRsmallint2
No
AVDTPLIFsmallint2
No
AVGDTPYRsmallint2
No
NUMADTPLint4
No
NUMADTPYint4
No
NUMADTPRint4
No
TDTKNYTDnumeric(19,5)9
No
TDTKNLYRnumeric(19,5)9
No
TDTKNLTDnumeric(19,5)9
No
TDISAYTDnumeric(19,5)9
No
RETAINAGnumeric(19,5)9
No
TNSFCYTDnumeric(19,5)9
No
NONSFYTDint4
No
UNPSTDSAnumeric(19,5)9
No
UNPSTDCAnumeric(19,5)9
No
UNPSTOSAnumeric(19,5)9
No
UNPSTOCAnumeric(19,5)9
No
NCSCHPMTnumeric(19,5)9
No
TTLSLYTDnumeric(19,5)9
No
TTLSLLTDnumeric(19,5)9
No
TTLSLLYRnumeric(19,5)9
No
TCOSTYTDnumeric(19,5)9
No
TCOSTLTDnumeric(19,5)9
No
TCOSTLYRnumeric(19,5)9
No
TCSHRYTDnumeric(19,5)9
No
TCSHRLTDnumeric(19,5)9
No
TCSHRLYRnumeric(19,5)9
No
TFNCHYTDnumeric(19,5)9
No
TFNCHLTDnumeric(19,5)9
No
TFNCHLYRnumeric(19,5)9
No
FNCHCYTDnumeric(19,5)9
No
FNCHLYRCnumeric(19,5)9
No
TBDDTYTDnumeric(19,5)9
No
TBDDTLYRnumeric(19,5)9
No
TBDDTLTDnumeric(19,5)9
No
TWVFCYTDnumeric(19,5)9
No
TWVFCLTDnumeric(19,5)9
No
TWVFCLYRnumeric(19,5)9
No
TWROFYTDnumeric(19,5)9
No
TWROFLTDnumeric(19,5)9
No
TWROFLYRnumeric(19,5)9
No
TTLINYTDint4
No
TTLINLTDint4
No
TTLINLYRint4
No
TTLFCYTDint4
No
TTLFCLTDint4
No
TTLFCLYRint4
No
WROFSLIFnumeric(19,5)9
No
WROFSLYRnumeric(19,5)9
No
WROFSYTDnumeric(19,5)9
No
HIBALLYRnumeric(19,5)9
No
HIBALYTDnumeric(19,5)9
No
HIBALLTDnumeric(19,5)9
No
Check Constraints CK_RM00103_LASTSTDT : (datepart(hour,[LASTSTDT])=(0) AND datepart(minute,[LASTSTDT])=(0) AND datepart(second,[LASTSTDT])=(0) AND datepart(millisecond,[LASTSTDT])=(0))LASTSTDTdatetime8
No
LSTSTAMTnumeric(19,5)9
No
DEPRECVnumeric(19,5)9
No
ONORDAMTnumeric(19,5)9
No
TTLRTYTDnumeric(19,5)9
No
TTLRTLTDnumeric(19,5)9
No
TTLRTLYRnumeric(19,5)9
No
DEX_ROW_IDint4
No
1 - 1
Indexes Indexes
NameColumnsUnique
Primary Key PK_RM00103: CUSTNMBRPK_RM00103CUSTNMBR
Yes
Check Constraints Check Constraints
NameOn ColumnConstraint
CK_RM00103_FRSTINDTFRSTINDT(datepart(hour,[FRSTINDT])=(0) AND datepart(minute,[FRSTINDT])=(0) AND datepart(second,[FRSTINDT])=(0) AND datepart(millisecond,[FRSTINDT])=(0))
CK_RM00103_LASTAGEDLASTAGED(datepart(hour,[LASTAGED])=(0) AND datepart(minute,[LASTAGED])=(0) AND datepart(second,[LASTAGED])=(0) AND datepart(millisecond,[LASTAGED])=(0))
CK_RM00103_LASTPYDTLASTPYDT(datepart(hour,[LASTPYDT])=(0) AND datepart(minute,[LASTPYDT])=(0) AND datepart(second,[LASTPYDT])=(0) AND datepart(millisecond,[LASTPYDT])=(0))
CK_RM00103_LASTSTDTLASTSTDT(datepart(hour,[LASTSTDT])=(0) AND datepart(minute,[LASTSTDT])=(0) AND datepart(second,[LASTSTDT])=(0) AND datepart(millisecond,[LASTSTDT])=(0))
CK_RM00103_LSTNSFCDLSTNSFCD(datepart(hour,[LSTNSFCD])=(0) AND datepart(minute,[LSTNSFCD])=(0) AND datepart(second,[LSTNSFCD])=(0) AND datepart(millisecond,[LSTNSFCD])=(0))
CK_RM00103_LSTTRXDTLSTTRXDT(datepart(hour,[LSTTRXDT])=(0) AND datepart(minute,[LSTTRXDT])=(0) AND datepart(second,[LSTTRXDT])=(0) AND datepart(millisecond,[LSTTRXDT])=(0))
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[RM00103]
(
[TNSFCLIF] [numeric] (19, 5) NOT NULL,
[NONSFLIF] [int] NOT NULL,
[CUSTNMBR] [char] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[CUSTBLNC] [numeric] (19, 5) NOT NULL,
[AGPERAMT_1] [numeric] (19, 5) NOT NULL,
[AGPERAMT_2] [numeric] (19, 5) NOT NULL,
[AGPERAMT_3] [numeric] (19, 5) NOT NULL,
[AGPERAMT_4] [numeric] (19, 5) NOT NULL,
[AGPERAMT_5] [numeric] (19, 5) NOT NULL,
[AGPERAMT_6] [numeric] (19, 5) NOT NULL,
[AGPERAMT_7] [numeric] (19, 5) NOT NULL,
[LASTAGED] [datetime] NOT NULL,
[FRSTINDT] [datetime] NOT NULL,
[LSTNSFCD] [datetime] NOT NULL,
[LPYMTAMT] [numeric] (19, 5) NOT NULL,
[LASTPYDT] [datetime] NOT NULL,
[LSTTRXDT] [datetime] NOT NULL,
[LSTTRXAM] [numeric] (19, 5) NOT NULL,
[LSTFCHAM] [numeric] (19, 5) NOT NULL,
[UPFCHYTD] [numeric] (19, 5) NOT NULL,
[AVDTPLYR] [smallint] NOT NULL,
[AVDTPLIF] [smallint] NOT NULL,
[AVGDTPYR] [smallint] NOT NULL,
[NUMADTPL] [int] NOT NULL,
[NUMADTPY] [int] NOT NULL,
[NUMADTPR] [int] NOT NULL,
[TDTKNYTD] [numeric] (19, 5) NOT NULL,
[TDTKNLYR] [numeric] (19, 5) NOT NULL,
[TDTKNLTD] [numeric] (19, 5) NOT NULL,
[TDISAYTD] [numeric] (19, 5) NOT NULL,
[RETAINAG] [numeric] (19, 5) NOT NULL,
[TNSFCYTD] [numeric] (19, 5) NOT NULL,
[NONSFYTD] [int] NOT NULL,
[UNPSTDSA] [numeric] (19, 5) NOT NULL,
[UNPSTDCA] [numeric] (19, 5) NOT NULL,
[UNPSTOSA] [numeric] (19, 5) NOT NULL,
[UNPSTOCA] [numeric] (19, 5) NOT NULL,
[NCSCHPMT] [numeric] (19, 5) NOT NULL,
[TTLSLYTD] [numeric] (19, 5) NOT NULL,
[TTLSLLTD] [numeric] (19, 5) NOT NULL,
[TTLSLLYR] [numeric] (19, 5) NOT NULL,
[TCOSTYTD] [numeric] (19, 5) NOT NULL,
[TCOSTLTD] [numeric] (19, 5) NOT NULL,
[TCOSTLYR] [numeric] (19, 5) NOT NULL,
[TCSHRYTD] [numeric] (19, 5) NOT NULL,
[TCSHRLTD] [numeric] (19, 5) NOT NULL,
[TCSHRLYR] [numeric] (19, 5) NOT NULL,
[TFNCHYTD] [numeric] (19, 5) NOT NULL,
[TFNCHLTD] [numeric] (19, 5) NOT NULL,
[TFNCHLYR] [numeric] (19, 5) NOT NULL,
[FNCHCYTD] [numeric] (19, 5) NOT NULL,
[FNCHLYRC] [numeric] (19, 5) NOT NULL,
[TBDDTYTD] [numeric] (19, 5) NOT NULL,
[TBDDTLYR] [numeric] (19, 5) NOT NULL,
[TBDDTLTD] [numeric] (19, 5) NOT NULL,
[TWVFCYTD] [numeric] (19, 5) NOT NULL,
[TWVFCLTD] [numeric] (19, 5) NOT NULL,
[TWVFCLYR] [numeric] (19, 5) NOT NULL,
[TWROFYTD] [numeric] (19, 5) NOT NULL,
[TWROFLTD] [numeric] (19, 5) NOT NULL,
[TWROFLYR] [numeric] (19, 5) NOT NULL,
[TTLINYTD] [int] NOT NULL,
[TTLINLTD] [int] NOT NULL,
[TTLINLYR] [int] NOT NULL,
[TTLFCYTD] [int] NOT NULL,
[TTLFCLTD] [int] NOT NULL,
[TTLFCLYR] [int] NOT NULL,
[WROFSLIF] [numeric] (19, 5) NOT NULL,
[WROFSLYR] [numeric] (19, 5) NOT NULL,
[WROFSYTD] [numeric] (19, 5) NOT NULL,
[HIBALLYR] [numeric] (19, 5) NOT NULL,
[HIBALYTD] [numeric] (19, 5) NOT NULL,
[HIBALLTD] [numeric] (19, 5) NOT NULL,
[LASTSTDT] [datetime] NOT NULL,
[LSTSTAMT] [numeric] (19, 5) NOT NULL,
[DEPRECV] [numeric] (19, 5) NOT NULL,
[ONORDAMT] [numeric] (19, 5) NOT NULL,
[TTLRTYTD] [numeric] (19, 5) NOT NULL,
[TTLRTLTD] [numeric] (19, 5) NOT NULL,
[TTLRTLYR] [numeric] (19, 5) NOT NULL,
[DEX_ROW_ID] [int] NOT NULL IDENTITY(1, 1)
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[RM00103] ADD CONSTRAINT [CK_RM00103_FRSTINDT] CHECK ((datepart(hour,[FRSTINDT])=(0) AND datepart(minute,[FRSTINDT])=(0) AND datepart(second,[FRSTINDT])=(0) AND datepart(millisecond,[FRSTINDT])=(0)))
GO
ALTER TABLE [dbo].[RM00103] ADD CONSTRAINT [CK_RM00103_LASTAGED] CHECK ((datepart(hour,[LASTAGED])=(0) AND datepart(minute,[LASTAGED])=(0) AND datepart(second,[LASTAGED])=(0) AND datepart(millisecond,[LASTAGED])=(0)))
GO
ALTER TABLE [dbo].[RM00103] ADD CONSTRAINT [CK_RM00103_LASTPYDT] CHECK ((datepart(hour,[LASTPYDT])=(0) AND datepart(minute,[LASTPYDT])=(0) AND datepart(second,[LASTPYDT])=(0) AND datepart(millisecond,[LASTPYDT])=(0)))
GO
ALTER TABLE [dbo].[RM00103] ADD CONSTRAINT [CK_RM00103_LASTSTDT] CHECK ((datepart(hour,[LASTSTDT])=(0) AND datepart(minute,[LASTSTDT])=(0) AND datepart(second,[LASTSTDT])=(0) AND datepart(millisecond,[LASTSTDT])=(0)))
GO
ALTER TABLE [dbo].[RM00103] ADD CONSTRAINT [CK_RM00103_LSTNSFCD] CHECK ((datepart(hour,[LSTNSFCD])=(0) AND datepart(minute,[LSTNSFCD])=(0) AND datepart(second,[LSTNSFCD])=(0) AND datepart(millisecond,[LSTNSFCD])=(0)))
GO
ALTER TABLE [dbo].[RM00103] ADD CONSTRAINT [CK_RM00103_LSTTRXDT] CHECK ((datepart(hour,[LSTTRXDT])=(0) AND datepart(minute,[LSTTRXDT])=(0) AND datepart(second,[LSTTRXDT])=(0) AND datepart(millisecond,[LSTTRXDT])=(0)))
GO
ALTER TABLE [dbo].[RM00103] ADD CONSTRAINT [PK_RM00103] PRIMARY KEY NONCLUSTERED  ([CUSTNMBR]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[RM00103] TO [MssExec]
GRANT INSERT ON  [dbo].[RM00103] TO [MssExec]
GRANT DELETE ON  [dbo].[RM00103] TO [MssExec]
GRANT UPDATE ON  [dbo].[RM00103] TO [MssExec]
GO
Uses