zoukankan      html  css  js  c++  java
  • 团队脚本备份

    USE [MogoData355]
    GO
    /****** 对象:  Table [dbo].[User_Withdraw_Order]    脚本日期: 07/05/2013 13:21:34 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[User_Withdraw_Order](
        [ID] [int] IDENTITY(10000,1) NOT NULL,
        [UID] [uniqueidentifier] NULL,
        [CreateDate] [smalldatetime] NULL,
        [Amount] [money] NULL,
        [Status] [tinyint] NULL,
        [Tax] [money] NULL,
        [RealityAmount] [money] NULL,
     CONSTRAINT [PK_User_Withdraw_Order] PRIMARY KEY CLUSTERED 
    (
        [ID] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    
    
    ------------------------------------------------------------
    
    USE [MogoData355]
    GO
    /****** 对象:  Table [dbo].[User_Withdraw_Detail]    脚本日期: 07/05/2013 13:22:16 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_PADDING ON
    GO
    CREATE TABLE [dbo].[User_Withdraw_Detail](
        [ID] [int] NOT NULL,
        [UID] [uniqueidentifier] NULL,
        [WOID] [int] NOT NULL,
        [WFID] [int] NULL,
        [PaymentType] [tinyint] NULL,
        [Rate] [tinyint] NULL,
        [Amount] [money] NULL,
        [TaxRate] [tinyint] NULL,
        [Tax] [money] NULL,
        [AfterTaxAmount]  AS ([Amount]-[Tax]),
        [RealityAmount] [money] NULL,
        [Status] [tinyint] NULL,
        [CreateDate] [smalldatetime] NULL,
        [LastModifyDate] [smalldatetime] NULL,
        [Note] [varchar](5000) NULL,
     CONSTRAINT [PK_User_Withdraw_Detail] PRIMARY KEY CLUSTERED 
    (
        [ID] ASC,
        [WOID] 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
    ALTER TABLE [dbo].[User_Withdraw_Detail]  WITH CHECK ADD  CONSTRAINT [FK_User_Withdraw_Detail_User] FOREIGN KEY([UID])
    REFERENCES [dbo].[User] ([ID])
    GO
    ALTER TABLE [dbo].[User_Withdraw_Detail] CHECK CONSTRAINT [FK_User_Withdraw_Detail_User]
    
    ----------------------------------------------------------------------
    
    USE [MogoData355]
    GO
    /****** 对象:  Table [dbo].[User_Withdraw_Review]    脚本日期: 07/05/2013 13:22:43 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[User_Withdraw_Review](
        [ID] [uniqueidentifier] NOT NULL,
        [UWID] [int] NULL,
        [UWDID] [int] NULL,
        [Date] [datetime] NULL,
        [WID] [uniqueidentifier] NULL,
        [Status] [int] NULL,
        [Invoice] [nvarchar](500) NULL,
        [Note] [nvarchar](4000) NULL,
     CONSTRAINT [PK_User_Withdraw_Review] PRIMARY KEY CLUSTERED 
    (
        [ID] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY]
  • 相关阅读:
    传说中的灵感
    错误: Sys.WebForms.PageRequestManagerServerErrorException: 只能在执行 Render() 的过程中调用 RegisterForEventValidation;
    只能在执行 Render() 的过程中调用 RegisterForEventValidation
    在aspx实现用户控件内Web控件的事件
    Asp.net网页上嵌入Media Player播放
    为临时表动态添加字段
    如何防止头文件被重复包含、嵌套包含
    Linux C SQLite3 编程
    Android开源项目源码下载(不断更新中)
    Android程序员必看之Android六大优势
  • 原文地址:https://www.cnblogs.com/l25321937/p/3190987.html
Copyright © 2011-2022 走看看