oracle初接触

来源:互联网 发布:hive 配置mysql 编辑:程序博客网 时间:2024/05/16 08:51

接触第一天学习的三个网站

www.oracle.com.technology/index.html 官方网站

www.itpub.net 数据库

www.chinaunix.net 操作系统

www.eygle.com 大神网站


学习路线 体系结构-sql-分区索引-视图-触发器-存储过程-逻辑备份

oracle与sqlserver的不同之处

1.sql语句的执行顺序 from-where-group by-having-select-order by


创建相同的表包括数据 create table t2 as select * from t1;只有表结构 create table t3 as select * from t1 where 1>2;


truncate table t1;无需commit提交,表数据直接删除,无法回滚;delete table t1;删除后需要commit,操作记录在日志中可以回滚;


插入相同的数据到空表中 insert into t2 select * from t1;表结构相同;

length()不管字符和汉字都相同处理 即2个字符和2个汉字length都为2


别名 字符之间有空格需要用双引号扩住 "学 号"




0 0