SQL简单详解分析和总结.docxVIP

  • 2
  • 0
  • 约1.15万字
  • 约 14页
  • 2023-05-12 发布于上海
  • 举报
use liuyi go set nocount on --不显示消息中影响的行数 EXEC master..xp_fixeddrives --查看硬盘分区 select *,type from sysobjects --查询sysobjects中的记录的类型 创建一个表 create table table1 (id1 int, id2_pk int constraint pk_table1 primary key, id3_unique int not null unique, id4_fk_update int not null constraint fk_table1_table2 foreign key references table2(id2) on update cascade, id5_identity int not null identity(1,1), id6_newid uniqueidentifier not null constraint de_t1_newid default(newid()),--随机函数 newtime_getdate datetime not null constraint de_t1_time default(getdate()), --时间函数 tel_check int not null constraint ch_t

文档评论(0)

1亿VIP精品文档

相关文档