• 博客(0)
  • 资源 (4)

空空如也

plsql 触发器

触发器(Trigger)在数据库里以独立的对象存储。 存储过程通过其它程序来启动运行或直接启动运行,而触发器是由一个事件来启动运行。即触发器是当某个事件发生时自动地隐式运行。 触发器被事件触发。运行触发器叫做触发或点火(firing)。 触发器不能接收参数 ORACLE事件指的是对数据库的表进行的INSERT、UPDATE及DELETE操作或对视图进行类似的操作。 ORACLE将触发器的功能扩展到了触发ORACLE,如数据库的启动与关闭等。

2012-01-16

hashCode的作用

1.hashcode是用来查找的,如果你学过数据结构就应该知道,在查找和排序这一章有 例如内存中有这样的位置 0 1 2 3 4 5 6 7 而我有个类,这个类有个字段叫ID,我要把这个类存放在以上8个位置之一,如果不用hashcode而任意存放,那么当查找时就需要到这八个位置里挨个去找,或者用二分法一类的算法。 但如果用hashcode那就会使效率提高很多

2012-01-16

group shopping(JAVA)

关于团购网站的设计 、Create Table userInfo( User_ID int identity(1,1) primary key, username varchar(50) not null,--登陆名 userpass varchar(50) not null,--登陆密码 userEmail varchar(20) not null,--用户邮箱 userPhone varchar(20) not null,--用户电话 userAdress varchar(100) not null,--用户地址 UpdatedDate datetime default(getdate()), --注册时间 admin int default(0) --是否为管理员 (0.不是管理员 1.是管理员) )

2012-01-16

Shell Script

Example:$ echo "Today is date" Can't print message with today's date.$ echo "Today is `date`". It will print today's date as, Today is Tue Jan ....,Can you see that the `date` statement uses back quote?

2012-01-16

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除