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
41 lines
990 B
USE [OPMS_Online]
|
|
GO
|
|
|
|
/****** Object: Table [dbo].[OTB_FNC_AccountingMaxNumber] Script Date: 2017/8/10 ¤U¤È 01:27:05 ******/
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
|
|
Drop Table [dbo].[OTB_FNC_AccountingMaxNumber]
|
|
|
|
CREATE TABLE [dbo].[OTB_FNC_AccountingMaxNumber](
|
|
[AccountingBookID] [nvarchar](50) NOT NULL,
|
|
[CountYear] [varchar](4) NOT NULL,
|
|
[CountMonth] [varchar](2) NOT NULL,
|
|
[CountDay] [varchar](2) NOT NULL,
|
|
[CountMax] [int] NULL,
|
|
[Memo] [nvarchar](max) NULL,
|
|
[CreateUser] [varchar](50) NULL,
|
|
[CreateDate] [datetime] NULL,
|
|
[ModifyUser] [varchar](50) NULL,
|
|
[ModifyDate] [datetime] NULL,
|
|
CONSTRAINT [PK_OTB_FNC_AccountingMaxNumber] PRIMARY KEY CLUSTERED
|
|
(
|
|
[AccountingBookID] ASC,
|
|
[CountYear] ASC,
|
|
[CountMonth] ASC,
|
|
[CountDay] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
|
|
|
|
GO
|
|
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
|