怎么把user表的pwd字段32位MD5加密啊 怎么把user表的userid从121到5000的数据的pwd字段32位MD5加密啊表结构如下:userid pwd1 1234562 654321…… 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 --用dbms_obfuscation_toolkit就可以了。declare chksum varchar2(100);begin dbms_obfuscation_toolkit.md5(input_string=>'oracle', checksum_string=>chksum); dbms_output.put_line(chksum);end; --才发现原来有个函数可以调,那就一条语句就行了update "user" set pwd=dbms_obfuscation_toolkit.md5(INPUT_STRING=>pwd) where userid between 121 and 5000; ORA-00907: missing right parenthesis 怎么会??你给的表定义对吗?scott@ORA11GR2> create table "user"(userid int, pwd varchar2(100));Table created.scott@ORA11GR2> insert into "user" values(121, '123456');1 row created.scott@ORA11GR2> insert into "user" values(5000, '654321');1 row created.scott@ORA11GR2> insert into "user" values(7000, '65321');1 row created.scott@ORA11GR2> update "user" set pwd=dbms_obfuscation_toolkit.md5(INPUT_STRING=>pwd) 2 where userid between 121 and 5000;2 rows updated.scott@ORA11GR2> update user set pwd=dbms_obfuscation_toolkit.md5(INPUT_STRING=>pwd)我就是复制你的代码然后就报错ORA-00907: missing right parenthesis啊 --把user表的定义发下desc "user" Orcale数据库中怎么设置blob类型的存储大小???在线等。。。 将记录的小时加一,日期却不对了!!!!!!!!! 一加主机字符串,就报没有监听 关于建立java存储过程的错误。 请问:asp如何调用oracle过程?在线等,谢谢! 如何编写触发器,使得表中某一个字段在午夜12:00变为0? 在system下如何察看有哪些用户, turbolinux+oracle9i下编译pro*c程序出错 我快郁闷死了!!! 我是通過telnet,遠程刪除一個表時,出了一個錯誤,請幫我看一下? LINUX,ORACLE NLS_LANG 环境变量设置的疑问 java代码向数据库插入数据报错
declare
chksum varchar2(100);
begin
dbms_obfuscation_toolkit.md5(input_string=>'oracle', checksum_string=>chksum);
dbms_output.put_line(chksum);
end;
update "user" set pwd=dbms_obfuscation_toolkit.md5(INPUT_STRING=>pwd) where userid between 121 and 5000;
scott@ORA11GR2> create table "user"(userid int, pwd varchar2(100));Table created.scott@ORA11GR2> insert into "user" values(121, '123456');1 row created.scott@ORA11GR2> insert into "user" values(5000, '654321');1 row created.scott@ORA11GR2> insert into "user" values(7000, '65321');1 row created.scott@ORA11GR2> update "user" set pwd=dbms_obfuscation_toolkit.md5(INPUT_STRING=>pwd)
2 where userid between 121 and 5000;2 rows updated.scott@ORA11GR2>
我就是复制你的代码然后就报错ORA-00907: missing right parenthesis啊
desc "user"