sybase 脚本建表和删除表

脚本方式删除表

if exists (select 1 from sysobjects
    where id = object_id('users') and type = 'U')
    drop table users
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

原文地址:https://www.cnblogs.com/yangxuming/p/6714184.html