• 团队脚本备份


    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]
  • 相关阅读:
    with原理__enter__、__exit__
    os模块walk方法
    restful规范简要概述
    python全栈开发day113-DBUtils(pymysql数据连接池)、Request管理上下文分析
    关于word2016中图片和正文编号自动更新的方法
    秋招
    GIL(全局解释器锁)
    多任务:进程、线程、协程对比
    多任务:协程
    进程和线程的对比
  • 原文地址:https://www.cnblogs.com/l25321937/p/3190987.html
Copyright © 2020-2023  润新知