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.
38 lines
1.1 KiB
38 lines
1.1 KiB
USE [OPMS_Online]
|
|
GO
|
|
|
|
/****** Object: Table [dbo].[OTB_FNC_AccountingBookInfo] Script Date: 2017/8/10 上午 11:16:07 ******/
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
|
|
Drop Table [OTB_FNC_AccountingBookInfo]
|
|
|
|
CREATE TABLE [dbo].[OTB_FNC_AccountingBookInfo](
|
|
[AccountingBookID] [Varchar](20) NOT NULL,
|
|
[AccountingBookName] [varchar](50) NOT NULL,
|
|
[BelongOrg] [varchar](36) NOT NULL,
|
|
[Effective] [char](1) NULL,
|
|
[CreateDate] [datetime] NULL,
|
|
[CreateUser] [varchar](50) NULL,
|
|
[ModifyDate] [datetime] NULL,
|
|
[ModifyUser] [varchar](50) NULL,
|
|
CONSTRAINT [PK_OTB_FNC_AccountingBookInfo] PRIMARY KEY CLUSTERED
|
|
(
|
|
[AccountingBookID] 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
|
|
|
|
--寫入預設資料
|
|
Delete [OTB_FNC_AccountingBookInfo]
|
|
Insert Into [dbo].[OTB_FNC_AccountingBookInfo](AccountingBookID,AccountingBookName,BelongOrg,Effective,CreateDate,CreateUser,ModifyDate,ModifyUser) Values ('Origtek','元赫科技','Origtek','Y',Getdate(),'apadmin',Getdate(),'apadmin')
|