摘要: http://www.cnblogs.com/yexiaochai/p/3603389.html 阅读全文
posted @ 2015-05-03 23:23 谷樵 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 1、case 函数: declare @nn varchar(20),@cc intselect @nn=name , @cc=agefrom student where ID=1select @nn 姓名 ,@cc 年龄 4、 MERGE 目标表 USING 源表 ON 匹配条件 WHEN MAT 阅读全文
posted @ 2015-05-03 13:38 谷樵 阅读(200) 评论(0) 推荐(0) 编辑