4月10号课的笔记 先放这,下次学习后再修改
1、>=比>更高效
是数值的时候就不要用''去匹配
2、between and 有没包括边界? 回答:有。
dual是什么
3、select initcap('hello hello world') from dual; 将开头的字母大写化!
Go Go come on!!!!!
4、any all 的使用
5、mount
select status from u$instance;
查看状态
oracle为什么开个数据库都这么麻烦
shutdown
nomount
mount
open
startup restrict限制开机
alter system quiesce restricted
alter system unquiesce
startup restrict
alter system enable restricted sesion
alter system suspend 挂起状态 mount
PS:我用Excel去拖一个数值增列出来~~老师说,那不是一个标准DBA会干的事情。我怎么觉得不管黑猫白猫~~
写这句 CREATE USER CLASS_A_STU IDENTIFIED BY PWD
不如写 CREATE USER CLASS_A_STU IDENTIFIED BY PWD ACCOUNT UNLOCK
(数据量很大的时候就会知道可以节省时间的~~~)
一步就把要做的事情做完吧~~! 这种做事风格也是我们在日常生活中可以学习的