![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
oracle
文章平均质量分 73
hundanbeiqiang
这个作者很懒,什么都没留下…
展开
-
oracle数据库行转列(含例子表结构及查询sql)
行转列:创建数据库表结构为:表名tmptabtype 为产品类型,构建 有产品表,分别对应A,B,C,D产品,这中结构好处,可以动态加入产品目的:获取每天对应产品的金额获取行转列sql:select batchdate, datetype, sum(decode(tabtype, '1', amount, 0)) amount1, sum(dec...原创 2021-03-16 09:55:48 · 393 阅读 · 0 评论 -
linux下oracle11导出一张表/多张表/全部表的dmp文件
导出 一张表 exp username/password@127.0.0.1:1521/orcl file= /home/oracle/tmpfile/xxxxtmp.dmp tables=table1 exp 用户名/密码@IP:1521/实例名 file=dmp文件全路径 tables=指定导出表名 多张表 exp username/password@127.0.0.1:1521/orcl file= /home/oracle/tmpfile/xx...原创 2020-11-18 09:55:02 · 2290 阅读 · 0 评论 -
查询oracle归档日志并处理方式参考
查询oracle归档日志并处理方式参考https://www.cnblogs.com/aaron911/p/7820272.html查询oracle归档日志并处理方式参考============================================================oracle数据库删除归档日志方法从alert日志看出归档目录已经满了,需要清理归档目录SQL> shutdown immediateSQL> startup mount..原创 2020-11-16 11:56:44 · 386 阅读 · 0 评论