随笔分类 - Oracle
摘要:-- 开启行移动功能 alter table 表名 enable row movement; -- 查询删除前的数据 select * from 表名 as of timestamp to_timestamp('删除时间点','yyyy-mm-dd hh24:mi:ss'); -- 恢复数据 fla
阅读全文
摘要:-- 登录系统用户 -- 查看当前用户的连接状况 select sid, serial#, username from v$session where username = '用户名'; -- 终止连接当前用户的session alter system kill session 'sid, seri
阅读全文
摘要:函数 功能 ascii(string) 返回字符串最左端字符的 ASCII 码值 chr(number) 返回 ASCII 码值对应的字符 concat(string1, string2) 连接两个字符串,效果等同 || initcap(string) 将字符串的第一个字母变为大写,其它字母小写 l
阅读全文