You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
520 B
Transact-SQL
28 lines
520 B
Transact-SQL
|
|
SET ANSI_NULLS OFF
|
|
GO
|
|
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
|
|
CREATE TABLE [dbo].[ACCOUNTPERIOD](
|
|
[PERIOD] [char](6) NOT NULL,
|
|
[PYEAR] [int] NULL,
|
|
[PMONTH] [int] NULL,
|
|
[FDAY] [smalldatetime] NULL,
|
|
[TDAY] [smalldatetime] NULL,
|
|
[CLOSED] [char](1) NULL,
|
|
CONSTRAINT [PK_PERIOD] PRIMARY KEY NONCLUSTERED
|
|
(
|
|
[PERIOD] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
|
|
SET ANSI_PADDING OFF
|
|
GO
|