1. CREATE TABLE [dbo].[tbl_report_record](
  2. [id] [int] IDENTITY(1,1) NOT NULL,
  3. [report_id] [varchar](50) NULL,
  4. [report_time] [varchar](100) NULL,
  5. [status] [int] NULL,
  6. [create_time] [date] NULL
  7. ) ON [PRIMARY]
  8. GO
  9. SET ANSI_PADDING OFF
  10. GO
  11. ALTER TABLE [dbo].[tbl_report_record] ADD CONSTRAINT [DF_tbl_report_record_create_time] DEFAULT (getdate()) FOR [create_time]
  12. GO
  13. CREATE NONCLUSTERED INDEX [tbl_report_record_id] ON [dbo].[tbl_report_record]
  14. (
  15. [report_id] ASC
  16. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  17. GO
文档更新时间: 2024-01-31 10:01