摘要:
创建数据库:create DataBase 数据库的名字创建表: create table 表名 (字段 类型 [约束]字段 类型 [约束] )创建约束:->建约束 alter table test add constraint PK_text_column primary key(_column) --主键约束 alter table test add constraint DK_text_column default(_value) for _column --默认约束 alter table test add constraint CK_test_column check(sex= 阅读全文