zoukankan      html  css  js  c++  java
  • 创建数据库

    /*==============================================================*/
    /* 在表sysobjects中查找有没有“newsContent”的记录,有就将数据库中的表删除
    /*==============================================================*/
     
     
    if exists (select 1
                from sysobjects
               where id = object_id('newsContent')
                and   type = 'U')
       drop table newsContent
    go
     
     
    /*==============================================================*/
    /* Table: newsContent                                            */
    /*==============================================================*/
    create table newsContent (
       ID           int              identity(1,1)   primary key,
       Title          nvarchar(50)     not null,
       Content       ntext            not null,
       AddDate      datetime         not null,
      CategoryID    int              not null
    )
    go

  • 相关阅读:
    docker-compose运行nginx
    docker后台持续运行
    docker-compose运行tomcat
    集群session解决方案
    docker运行mysql
    docker运行svn
    mongodb数据的导出和导入
    mongodb副本集的docker化安装
    grafana使用json数据源监控数据
    docker化安装grafana
  • 原文地址:https://www.cnblogs.com/tianzhiyun/p/2840151.html
Copyright © 2011-2022 走看看