如何读取Oracle数据库下 users下用户的口令呢?谢谢大家
SELECT username,PASSWORD from dba_users;
不过你读出来也没用,口令是加密过的。
顶楼上。
另 alter user 用户名 identified by 新密码; 是更改用户的密码。
SQL code:
select username,password from dba_users;
有没有把加密文件解密的命令啊?本 ......
--建立一个包以定义一个游标
create or replace package PK_test
as
type cur_test is ref cursor;
end PK_test;
--建立一个过程,通过输入JOBID,返回一个表记录(游标)!
create or replace procedure PR_TEST_CURSOR
(JOBID IN VARCHAR2,cur_test out pk_test.cur_test)
as
begin
open ......
想在unix环境下写个shell,
定期备份一个表test 中的partition,partiton 以P+日期命名,例如P20100426
现在想备份上个月表test中的partition该如何做呢?
由于系统不支持 date -d 方法,所以用exp 方法时,不知道该如何取上个月的partiton名字了?
请教各位是否还有其他方法可以实现?
你的系统支持
date +" ......
function 直接调用一个存储过程, 不需要传递参数,也无返回值,怎么写?
初学,多谢!
存储过程调用函数吗?
函数与存储过程的调用方式:
调用存储过程必须以语句方式
begin
proc;--整个是一个语句
end;
函数的调用方式为表达式
begin
i := func();--func();--func()为一个表达式
end ......
<%
If Request.Form("mySubmit") = "Modify" Then
total = i
for i=1 to total
rbb = Request.Form("rbb"& i )
guanxz=Request.Form("guanzx"& i )
names=Request.Form("names"& i)
strSql="Update code_tank Set rbb="& rb ......
有两张表
A B
id hyid hyid newid
1 2 2 A
2 3 3 B
现在要将a表的hyid换成b表的newid,请注意a表中的hyid不是唯一的
  ......