SQL知识体系总体介绍.pptVIP

  • 38
  • 0
  • 约7.3千字
  • 约 19页
  • 2018-05-17 发布于四川
  • 举报
维涛 (SQL知识体系总体介绍) 一、基本的数据类型 二、四种基本操作 三、表关联 四、 视图 表 触发器 五、 函数 存储过程 六、游标 七、 分析器使用 提纲: 基本的数据类型 常用数据类型: 整形:int bigint 字符型:char varchar 浮点型:money float decimal 日期类型:datetime 时间戳:timestamp 二进制数据类型 image (图片) 四种基本操作 插入 insert 例1: insert into @table(a,b) values(1,1) 例2: insert into @table(a,b) select 1,1 from imatgeneral 更新 update update @table set a=2 update @table set a=b.a from @table a inner join @temp b on a.a=b.a 删除 delete Delete from @table where a=‘1’ 四种基本操作 检索    SELECT * FROM imatgeneral select top 10 * from imatgeneral select pe

文档评论(0)

1亿VIP精品文档

相关文档