摘要:
1、面向过程 int a = 10;int b =5;int c = a+b; int r1 = 10;int r2 = 5;double c = r1*r1*3.14 - r2*r2*3.14 缺点:重用性差,扩展性差,可维护性差 2、面向对象(1)对象:万物皆对象,对象是类实例化出来的东西(2) 阅读全文
posted @ 2016-08-07 16:54
柴亮
阅读(147)
评论(0)
推荐(0)
摘要:
触发器:是一个特殊的存储过程;通过增删改的动作来触发执行,没有参数,没有返回值; create trigger Insert_Student --命名规范on student --针对于哪一个表for insert --针对于哪一个动作来触发 -- onclick = "show()" as 触发执 阅读全文
posted @ 2016-08-07 11:27
柴亮
阅读(164)
评论(0)
推荐(0)
摘要:
存储过程:就像函数一样的会保存在数据库中--》可编程性 --》 存储过程 创建存储过程:create proc JiaFa--需要的参数@a int,@b intas --存储过程的内容 declare @c int; set @c = @a + @b; return @c;go --执行完毕后全部 阅读全文
posted @ 2016-08-07 11:26
柴亮
阅读(967)
评论(0)
推荐(1)

浙公网安备 33010602011771号