Oracle
AllenCRQ
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Oracle 游标的使用 及函数
1:在SCOTT模式下显示工资排名前5的员工的编号、姓名和工资,并将所有执行正确的PL/SQL语句记录下来。原创 2022-05-27 09:03:28 · 798 阅读 · 0 评论 -
PL/SQL编程基础
SQL> declare 2 d date:=sysdate; 3 a varchar2(10):='crq'; 4 begin 5 dbms_output.put_line('hello'||' '|| a ||' '|| d); 6 end; 7 /2:使用%type变量:SQL> declare 2 name emp.ename%type; 3 salary emp.s原创 2022-05-21 13:35:51 · 211 阅读 · 0 评论 -
Oracle复习一 相关查询
1:查询 当前用户所有表名称select table_name from user_tables;2:查询 当前用户下表的数量select count(*) from user_tables;3:解锁用户alter user scott account unlock;4:解锁用户后设置密码alter user scott identified by Admin888;5:设置每行的显示字符数set linesize 200;6:设置每页显示的行数set pages原创 2022-05-21 08:34:33 · 129 阅读 · 0 评论
分享