暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

Oracle 存储密码历史记录

askTom 2018-06-01
191

问题描述

I have a table 
create table user_password_history
(user_cd varchar2(3),
user_pass varchar2(30),
created_date date);

i want to keep last 5 records of each user in this table. kindly guide me how to achieve it.

Thanks for your support.
复制

专家解答

最简单的答案是 ....不要!

我们已经在数据库中拥有该功能。查看密码 _ 重复使用 _ 时间和密码 _ 重复使用 _ 最大值

https://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_6010.htm#SQLRF01310


「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论