2014年5月14日
摘要: 存储过程创建存储过程create procedure sp_name@[参数名] [类型],@[参数名] [类型]asbegin 方法体endgo调用存储过程exec sp_name [输入参数],[输入参数]删除存储过程drop procedure sp_name自定义函数标量值函数跟表值函数的... 阅读全文
posted @ 2014-05-14 16:24 小小乌龟把头藏 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-05-14 15:29 小小乌龟把头藏 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 其实就是 inner joinselect * from Class c,Student s where c.ClassID=s.ClassIDselect * from Class c inner join Student s on c.ClassID=s.ClassID效果是一样的 阅读全文
posted @ 2014-05-14 11:25 小小乌龟把头藏 阅读(2106) 评论(0) 推荐(0) 编辑