易截截图软件、单文件、免安装、纯绿色、仅160KB

oracle 丢失密码

1、Oracle里面用户的密码是进行加密保存的,所以只能重新修改生成新的密码.
利用系统管理员(sys)登录,将scott用户的密码修改即可
SQL>conn / as sysdba ;
已连接。
SQL>alter user scott identified by tiger ;
用户已更改。
当然也可以到WEB端进行修改地址如下:
http://localhsot:1158/em(相应的服务必须启动)
登录之后在管理一项中找到管理员管理进行相应的操作即可.
2.系统管理员(sys)的密码丢失解决方法:
在Oralce的安装目录下面(D:\InstallSoftwer\Oracle\database)找到原口令文件(PWDorcl.ora)将其删除
然后利用下面的命令生成新密码文件即可.
SQL>orapwd file=D:\InstallSoftwer\Oracle\database\PWDorcl.ora password=thtwin entries=10 ;
//上面是针对sys用户的,所以不用写用户名了.修改之后的密码就为:thtwin.


相关文档:

Oracle驱动classes12.jar 与ojdbc14.jar的区别

以下是Oracle JDBC官方文档的说法:
也就是随便翻译一下就理解了。
JDBC Thin for All Platforms
classes12.jar (1,600,090 bytes) - for use with JDK 1.2 and JDK 1.3
在低级JDK版本1.2与1.3中使用的驱动,虽然实际上在1.4,1.5中使用大部分情况也是OK的
classes12_g.jar (2,044,594 bytes) - same as classes12.j ......

oracle加密函数

http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_crypto.htm
oracle自带文档写的比较清楚
24

DBMS_CRYPTO
DBMS_CRYPTO
provides an interface to encrypt and
decrypt stored data, and can be used in conjunction with PL/SQL
programs running network communications. It provides suppo ......

在ORACLE得到某个表的主键字段名

select column_name from all_cons_columns cc
where owner='SSH'  --SSH为用户名称,要注意大小写
and table_name='SYS_DEPT' --SYS_DEPT为表名,注意大小写
and exists (select 'x' from all_constraints c
where c.owner = cc.owner
and c.constraint_name = cc.constraint_name
and c.constraint_type ='P' ......

oracle jobs批处理语句

--oracle jobs批处理命令参考
qlplus /nolog
connect sys/lee as sysdba
--以下两句在sys(即具有dba权限的用户)用户下执行
show parameter job_queue_processes;
alter system set job_queue_processes=10;
exit
sqlplus /nolog
connect jcy/jcy
ALTER TABLE T_OA_AFFICHE MODIFY (INPUT_TIME DATE);
ALTER TABLE ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号