Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE TABLE [DailyCounts](
- [LDate] [datetime] NOT NULL CONSTRAINT [DF_LDate] DEFAULT (getdate()),
- [SourceTable] [varchar](32) NOT NULL,
- [TableRowCount] [bigint] NOT NULL,
- CONSTRAINT [PK_DailyCounts] PRIMARY KEY CLUSTERED
- (
- [LDate] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 80) ON [PRIMARY]
- ) ON [PRIMARY]
- CONSTRAINT [PK_DailyCounts] PRIMARY KEY CLUSTERED
- (
- [LDate] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 80) ON [PRIMARY]
- ) ON [PRIMARY]
- CREATE TABLE DailyCounts(
- LDate date DEFAULT sysdate CONSTRAINT PK_DailyCounts PRIMARY KEY,
- SourceTable varchar2(32) NOT NULL,
- TableRowCount number(19) NOT NULL
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement