You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
990 B

  1. USE [OPMS_Online]
  2. GO
  3. /****** Object: Table [dbo].[OTB_FNC_AccountingMaxNumber] Script Date: 2017/8/10 �U�� 01:27:05 ******/
  4. SET ANSI_NULLS ON
  5. GO
  6. SET QUOTED_IDENTIFIER ON
  7. GO
  8. SET ANSI_PADDING ON
  9. GO
  10. Drop Table [dbo].[OTB_FNC_AccountingMaxNumber]
  11. CREATE TABLE [dbo].[OTB_FNC_AccountingMaxNumber](
  12. [AccountingBookID] [nvarchar](50) NOT NULL,
  13. [CountYear] [varchar](4) NOT NULL,
  14. [CountMonth] [varchar](2) NOT NULL,
  15. [CountDay] [varchar](2) NOT NULL,
  16. [CountMax] [int] NULL,
  17. [Memo] [nvarchar](max) NULL,
  18. [CreateUser] [varchar](50) NULL,
  19. [CreateDate] [datetime] NULL,
  20. [ModifyUser] [varchar](50) NULL,
  21. [ModifyDate] [datetime] NULL,
  22. CONSTRAINT [PK_OTB_FNC_AccountingMaxNumber] PRIMARY KEY CLUSTERED
  23. (
  24. [AccountingBookID] ASC,
  25. [CountYear] ASC,
  26. [CountMonth] ASC,
  27. [CountDay] ASC
  28. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  29. ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
  30. GO
  31. SET ANSI_PADDING OFF
  32. GO