t_course.sql

来自「一个比较小型的学生管理系统」· SQL 代码 · 共 20 行

SQL
20
字号

if exists (select 1
            from  sysobjects
           where  id = object_id('course')
            and   type = 'U')
   drop table course
go
/*==============================================================*/
/* Table: 课程                                                    */
/*==============================================================*/
create table course (
Course_id            varchar(50)          not null,
Course_name          varchar(50)          not null,
Course_period        int                  not null,
Course_credit        int                  not null,
Course_kind          int                  not null,
Course_describe      varchar(50)          not null,
constraint PK_course primary key  (Course_id)
)
go

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?