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/新协航_设计文档/数据库建表文档/20131120/融入融出记录表.sql

66 lines
1.5 KiB
MySQL

3 years ago
/****** Object: Table [dbo].[Import_Finance_Out] Script Date: 11/21/2013 14:46:35 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Import_Finance_Out]') AND type in (N'U'))
DROP TABLE [dbo].[Import_Finance_Out]
GO
/****** Object: Table [dbo].[Import_Finance_Out] Script Date: 11/21/2013 14:46:36 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[Import_Finance_Out](
[gid] [varchar](50) NOT NULL,
[ContractNo] [varchar](50) NOT NULL,
[Customer] [varchar](50) NOT NULL,
[BankGid] [varchar](50) NULL,
[Currency] [varchar](50) NULL,
inExchangeRate [numeric](18, 4) NULL,
inAmount [numeric](18, 2) NULL,
inRMBAmount [numeric](18, 6) NULL,
inStart [datetime] NULL,
inEnd [datetime] NULL,
inDays [int] NULL,
inInterestRate [numeric](8, 4) NULL,
inInterest [numeric](18, 6) NULL,
inPI [numeric](18, 6) 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,
[timemark] [timestamp] NULL,
[Remark] [varchar](150) NULL
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
/*
financestate gid ContractNo
Customer,bank,Currency,
inExchangeRate,inAmount,inRMBAmount,
inStart,inEnd,inDays,
inInterestRate,inInterest,inPI
outExchangeRate,outAmount,outRMBAmount,
outStart,outEnd,outDays,
outInterrestRate,outInterest,outPI
timemark
remark
*/