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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM