create index sort_yearmonth on pay(year,month)
SQl 源代码
结构化查询语言(StructuredQueryLanguage)简称SQL,是一种特殊目的的编程语言,是一种数据库查询和程序设计语言,用于存取数据以及查询、更新和管理关系数据库系统。
select * from person where sex='Ů'and deptno='00102'
update pay set no='000020' where no='000002'
alter table pay add constraint check_base check(base>=1500)
create default default_prof as '中级' go sp_bindefault 'default_prof','person.professor'
sp_helptext rule_prof
sp_help pay
alter table pay drop constraint check_base
create proc pro_calage @code char(6),@age int output as declare @birth varchar(4),@today varchar(4) select @birth=datenam…
update dept set deptno='00108' where deptno='00101'