--旧库列举所有类型航图

select distinct  c.identifier airport_icao,d.sc_code chart_type,s.name
from special_chart s, airport c, special_chart_type d
where
c.isdirectory=1 and c.bureau_id<8 and
 c.airport_id=s.airport_id and s.sc_type_id=d.sc_type_id
and d.sc_code='机场图_停机位置图'
order by s.name

--旧库排除文件Bolb字段后的查询语句

select c.identifier airport_icao, d.sc_code chart_type, s.sc_id,s.sc_type_id,s.airport_id,s.name,s.chart_filename,s.status,s.publish_type,s.create_date,s.publish_date,s.remark,s.create_account,s.effect_date,s.is_modified,s.catagory,s.usestate,s.modifyreason,s.referencefile,s.frontorback,s.last_modified_time,s.pdf_name,s.special_chart_seq,s.pagenumber,s.last_modified_account,s.ischecklist,s.isspecial,s.islandscape
from special_chart s, airport c, special_chart_type d
where c.isdirectory=1 and c.bureau_id<8 and c.airport_id=s.airport_id and s.sc_type_id=d.sc_type_id
order by c.identifier

--新库顺序列举航图类型

select * from TERMINAL_CHART_TYPE t
order by nvl(t.parent_type_id,0),t.seq_num

--新库中插入新航图类型

insert into TERMINAL_CHART_TYPE values((select max(chart_type_id)+1 from TERMINAL_CHART_TYPE),3,'离场图_VOR',3,null)

最新文章

  1. to_char 详解
  2. HDU 2091 空心三角形(模拟)
  3. Swift游戏实战-跑酷熊猫 07 平台的移动
  4. 关于oc运行时 isa指针详解
  5. innodb master thread 工作原理
  6. css z-index详解
  7. php缓存小技巧
  8. 图文教程:手把手教你用U盘安装Ubuntu
  9. Linux 下源码安装JDK
  10. 使用anyremote进行远程鼠标控制
  11. C#使用Xamarin开发可移植移动应用进阶篇(9.混淆代码,防止反编译)
  12. 转:JDK中的URLConnection参数详解
  13. 牛客网编程练习之PAT乙级(Basic Level):1034 写出这个数
  14. Error response from daemon: conflict: unable to remove repository reference 解决方案
  15. Prism框架研究(三)
  16. .net core 生成
  17. vue-cli脚手架之webpack.test.conf.js
  18. JDBC驱动-MySQL
  19. 9,EasyNetQ-版本化消息
  20. 【洛谷P1491】集合位置

热门文章

  1. SSL HTTPS 生成证书
  2. jvm最大线程数
  3. Oracle归档模式与非归档模式设置
  4. LeetCode OJ :Unique Binary Search Trees II(唯一二叉搜索树)
  5. C#实现文件与二进制互转并存入数据库
  6. js 设置日期函数
  7. Android下利用RadioGroup和RadioButton实现Tabbar的效果
  8. 暴力破解Windows RDP(3389)
  9. 【MFC】对话框自带滚动条的使用
  10. BZOJ - 2957 (分块/线段树)