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.
DS7/DSWeb/word/新协航_设计文档/数据库建表文档/1.0/Finance_In.sql

53 lines
1.3 KiB
MySQL

3 years ago
/****** Object: Table [dbo].[Import_Finance_In] Script Date: 10/30/2013 09:13:35 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Import_Finance_In]') AND type in (N'U'))
DROP TABLE [dbo].[Import_Finance_In]
GO
/****** Object: Table [dbo].[Import_Finance_In] Script Date: 10/30/2013 09:13:35 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Import_Finance_In](
[gid] [varchar](50) NOT NULL,
[ContractNo] [varchar](50) NOT NULL,
[Bank] [varchar](50) NULL,
[Currency] [varchar](50) NULL,
Financestatus tinyint null,
ExchangeRate [numeric](18, 4) NULL,
Amount [numeric](18, 2) NULL,
RMBAmount [numeric](18, 6) NULL,
Starttime [datetime] NULL,
Endtime [datetime] NULL,
[Days] [int] NULL,
InterestRate [numeric](8, 4) NULL,
Interest [numeric](18, 6) NULL,
[PI] [numeric](18, 6) NULL,
[timemark] [timestamp] NULL,
[Remark] [varchar](150) NULL
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
/*
[BankGid] [varchar](50) NULL,
outExchangeRate [numeric](18, 4) NULL,
outAmount [numeric](18, 2) NULL,
outRMBAmount [numeric](18, 6) NULL,
outStart [datetime] NULL,
outEnd [datetime] NULL,
outDays [int] NULL,
outInterrestRate [numeric](8, 4) NULL,
outInterest [numeric](18, 6) NULL,
outPI [numeric](18, 6) NULL,
*/