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

  • 相关阅读:
    assign、weak
    iOS 使用 github
    iOS 知识点
    thinkphp 具体常量,在view里面使用
    一个php+jquery+json+ajax实例
    php pdo操作
    nginx缓存
    php模版静态化技术
    php模版静态化原理
    thinkphp实现多数据库操作
  • 原文地址:https://www.cnblogs.com/tianzhiyun/p/2840151.html
Copyright © 2011-2022 走看看