首页 > 数据库技术 > 详细

sybase 脚本建表和删除表

时间:2017-04-15 14:41:13      阅读:289      评论:0      收藏:0      [点我收藏+]

脚本方式删除表

if exists (select 1 from sysobjects
    where id = object_id(‘yxm‘) and type = ‘U‘)
    drop table yxm
go

建表

create table users(
  id           integer      not null,
  cname        char(50)    null,
  url            char(50)    null,
  father_id         integer    null,
  row_select_flag   char(1)         default ‘0‘ null,
  seqid          char(3)         null,
  memos           varchar(120) null
)
go

sybase 脚本建表和删除表

原文:http://www.cnblogs.com/yangxuming/p/6714184.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!