1,rownum 是一个虚列,使用时必须包括1才能使用,rownum = 1,rownum < 10;  rownum = 2是不可以的;

2,if case loop 要加end结束,end if;

3,外键,foreign key(s) references table_name(pk)

4,创建一个表,复制内容 create table t_1 as select * from t_2;

5,存在一个表,复制内容 insert into t_1 select * from t_2;

6,清空一个表 truncate table t_1;

7,insert into .. values...

8,update t_1 set col = value where ...

9,delete from ...where ...

10,非空约束 alter里是 modify column not null,其他都是add 或者是 drop

11,sqlplus里格式化行大小 col column format a15;

12,round()与trunc()中正数控制小数部分,负数控制整数部分

13,substr(),其中正数从前截取,负数从后截取

14,to_char()转换成字符串 to_date()将字符串转换为日期

最新文章

  1. 检测到有潜在危险的 Request.Form 值
  2. Performance Monitor1:开始性能监控
  3. 在一个老外微信PM的眼中,中国移动App UI那些事儿
  4. (转)myeclipse插件—SVN分支与合并详解【图】
  5. eclipse安装JAVA反编译插件
  6. Android之线程回掉更新ui
  7. 【jqGrid for ASP.NET MVC Documentation】.学习笔记.7.搜索过滤数据
  8. elk工作原理
  9. centos7 部署openstf
  10. shell 组合新的变量名
  11. springcloud情操陶冶-bootstrapContext(三)
  12. spring源码解析1--spring整体架构
  13. springboot+mybatis环境的坑和sql语句简化技巧
  14. iframe跨域解决方案
  15. 「AtCoder Grand018A」Getting Difference(GCD)
  16. 【ARTS】01_20_左耳听风-20190325~20190331
  17. Spark记录-官网学习配置篇(二)
  18. jQuery扩展插件以及正则相关函数练习
  19. git gitignore 如何添加,为何添加了无效
  20. OOP KLASSOOP, instanceklass

热门文章

  1. Emgucv 图像操作笔记
  2. POJ 3061 Subsequence 二分或者尺取法
  3. 定制表格头, 学习Core Graphic 的第二部分, 阴影与玻璃效果.
  4. OC学习篇之---第一个程序HelloWorld
  5. BUFSIZ
  6. 【Codeforces Round #435 (Div. 2) C】Mahmoud and Ehab and the xor
  7. ORACLE中的Net Configuration Assistant 点击后无反应, sqlplus登录数据库提示Oracle11g ORA-12560: TNS: 协议适配器错误
  8. 可视化格式模型(visual formatting model)
  9. svn 清理失败 (clean up 失败) 的解决方法
  10. ping localhost 没反应解决方式