百度空间 | 百度首页 
 
文章列表
 
2009-11-17 14:11
# listener.ora Network Configuration File: d:\oracle\product\10.2.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = d:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = d:\oracle\product\10.2.0\db_1)
(SID_NAME = ORCL)
)
)

LISTENER =
(DESCRIPTION_LIST =
(DESCRI
类别:Oracle | 评论(0) | 浏览()
 
2009-11-10 14:46
以下注册码经本人在7.1.1版本测试过,似乎没有问题。

Product code: AT46-MUTG-QJWF-L9H6-7ZFM-XY
Serial number: 01.45678
Password: xs374ca
类别:Oracle | 评论(0) | 浏览()
 
2009-10-08 20:53

这个激活为啥我要说是“官方”的,(加了引号),因为这个是在微软允许的范围之内的。

 

现在激活的方法除了购买正版系列号外,网络上也流传了很多方法,但是那些免费的方法首先侵犯了微软的使用协议。另外很多方法是采用替换法,或刷BIOS,这样的结果是带来计算机的损坏或系统的不稳定,实在是得不偿失。

下面说说我的方法。这个方法经过笔者的亲自测试

类别:vista&win7 | 评论(1) | 浏览()
 
2009-09-27 16:33
create or replace trigger trig_emp_change
before insert or update on emp 
for each row
declare
-- local variables here
begin
dbms_output.put('the new empno:'||:new.empno);
dbms_output.put('the old empno:'||:old.empno);
insert into tab_new_table(newid, oldid)
values(:new.empno, :old.empno);
end trig_emp_change;

在Oracle的触发器中,没有以前常用的两张表:inserted
类别:Oracle | 评论(0) | 浏览()
 
2009-09-27 16:28
1、传统方式,做完事情之后,再关闭游标
declare
row_data emp%rowtype;
mycursor sys_refcursor;
begin
open mycursor for
select * from emp;
loop
fetch mycursor into row_data;
exit when mycursor%notfound;
dbms_output.put_line(row_data.empno);
end loop;
close mycursor;
end;

2、先把游标中的数据全部取出后,关闭游标,然后再对数据操作。比较适合数据量不大,但要反复遍历的结果集。
declare
type mytype is table of emp%rowtype;
row_data m
类别:Oracle | 评论(0) | 浏览()
 
2009-09-21 08:57
<html>
<
类别:Html | 评论(0) | 浏览()
 
2009-08-29 09:16
大家经常运用DOM4J操作XML文档,如果XML文档存在namespace的话,读写XML经常不工作,解决方案很简单的:

举个例子吧:

比如我一个XML文件头是这样的:

<?xml version="1.0"?>
<scxml xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
initialstate="coordinator">

请注意这个xml文件是带了namespace的,
读写这个xml要如下操作:
SAXReader reader = new SAXReader();
Map map = new HashMap();
map.put("sc
类别:Java | 评论(1) | 浏览()
 
2009-03-30 18:10

聚合的类型分为无、共享(聚合)、复合

类别:Java | 评论(0) | 浏览()
 
2009-03-30 18:10

面向对象的三个

类别:Java | 评论(0) | 浏览()
 
2009-03-30 17:16
abstract class和interface是Java语言中对于抽象类定义进行支持的两种机制,正是由于这两种机制的存在,才赋予了Java强大的面
类别:Java | 评论(0) | 浏览()
 
     
 
 
文章分类
 
 
 
 
 
Html(33)
 
 
Java(43)
 
Jstl(5)
 
Vb(3)
 
 
.net(12)
 
Oracle(11)
 
 
Ejb(2)
 
 
Xmpp(0)
 
 
 
 
     
 
文章存档
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
     
 
最新文章评论
   

哈哈,你太有才了
 

[表情]
 
 

[表情]
 

关键是怎样在我的VB中添加这三个类?
 
     


©2009 Baidu