当前位置: 首页 > news >正文

永定门网站建设中国免费网站服务器主机域名

永定门网站建设,中国免费网站服务器主机域名,做爰的细节描述和过程网站,折扣网站搭建问题: 有一个报表,增删改查操作很多(上百条statement,上千行代码)。之前,据说有人是按条执行的,执行完一条CREATE TABLE语句后,还时不时来一句select count(*)查一下数据进表了没有…

问题:

有一个报表,增删改查操作很多(上百条statement,上千行代码)。之前,据说有人是按条执行的,执行完一条CREATE TABLE语句后,还时不时来一句select count(*)查一下数据进表了没有。可以想象,这种工作模式下,出一份报表是很不容易的。难怪之前一份报表分给好几个人做,你做一部分数据整合,我做一部分数据准备,再交给第三个人集成。这样的效率肯定是不高的。

解决方法:

1. 根据报表的业务要求(即,最终的报表中所包含的字段、特殊处理逻辑、呈现方式(pivot table, filter)等),重新梳理之前的脚本:

1)移除select *, select count(*), desc table等多余语句

2)优化执行顺序(对同一张数据表的操作,尽量放在一块儿)

2. 按照业务逻辑分组SQL语句,然后形成几个相对独立的script,在同一script内部,可以全选后直接使用Toad Quest Script Runner进行批量运行 (这一步是至关重要的一步)

然后,就会发现,本来要手动点击几十下甚至几百下(考虑到不断的选取代码块,点击执行的操作),简化到只要点击十来次就够了。仅仅这一点,估计可以节省时间1小时。

看来这个QSR还真是个好工具啊!

---------------------------------------------------------------------------------------------------------------------------------------------------------------------

Execute Scripts with Quest Script Runner

Quest Script Runner (QSR) looks and operates the same way as the Toad Editor, but it only includes a subset of the Editor's features. Quest Script Runner is a small script execution utility that can run in the background or from the command line. Quest Script Runner can be helpful when you need to run long scripts and want to perform other tasks in Toad. In addition, several instances of Quest Script Runner can run at one time because of its small size.

The Quest Script Runner window is divided into the following regions:

  • Editor (top)—Displays the script for you to review and edit. You can use the toolbar to save the script, open a different one, search, manage your connection, and other options.
  • Script output (bottom)—Displays the script output and variable settings. See Script Output Tabs for more information.

Notes:

  • Quest Script Runner is not completely SQL*Plus compatible; however, most DDL and DML scripts should be supported. See SQL*Plus Commands for more information.
  • If you change data in the script session, the changes will not reflect in Toad until you commit the changes in the script session. Also, any session control statements executed in the script session (such as ALTER SESSION) are not visible to the Toad session.

  • This topic focuses on information that may be unfamiliar to you. It does not include all step and field descriptions.

To execute scripts from Toad in Quest Script Runner

  1. Open the script in the Toad Editor.
  2. Select Editor | Execute SQL via QSR. Quest Script Runner opens using your current connection and executes the script.

    Note: You can also click the drop-down beside the icon and select Execute in QSR.

To execute scripts within QSR

  1. Open the script in the Quest Script Runner Editor.
  2. Click on the Quest Script Runner toolbar.

 

http://www.lbrq.cn/news/2529631.html

相关文章:

  • 阿里云做网站多少钱中央人民政府
  • 做网站哪种编程语言好推广网站制作
  • 怎么制作个人门户网站百度推广最近怎么了
  • 做服装最好的网站建设怎么做神马搜索排名seo
  • windows wordpress 轻量级seo推广主要做什么的
  • 移动互联网时代的信息安全与防护超星网课答案优化英文
  • 论文网站建设格式中国培训网是国家公认的吗
  • 西峡网站建设线上宣传方式有哪些
  • wordpress后台用户名怎么做seo关键词优化
  • 做网站的是些什么公司足球积分排行榜最新
  • 做网站用什么框架最方便广州seo托管
  • 东莞网站建设aj博客湖南长沙疫情最新情况
  • 深圳市新房备案价查询官网seo网页优化服务
  • 三明 网站建设适合发软文的平台
  • 专做电子产品评测的网站关键词排名批量查询
  • 几分钟做网站黄页网络的推广网站有哪些
  • 网站网页设计怎样网站外部优化的4大重点
  • 农村电商网站建设方案台州seo排名优化
  • 网站建设要做哪些工作室线上推广公司
  • 东莞网站设计建设北京专业网站优化
  • 做兼职网站的项目初衷信息流优化师证书
  • 上海闸北区网站建设搜索到的相关信息
  • 三种人不适合编程seo外包收费
  • 网站设计点评企业网站seo案例分析
  • 有了域名自己电脑怎么做网站昆明seo案例
  • 建设网站技术公司seo网络推广知识
  • 网站模版 模板自己怎么创建网站
  • 综合性门户网站有哪些苏州百度推广公司地址
  • 滨州网站建设招聘营销比较好的知名公司有哪些
  • 如何自己做优惠券网站深圳市企业网站seo
  • LeetCode 85:最大矩形
  • Mac下的Homebrew
  • umijs局域网访问警告Disconnected from the devServer,trying to reconnect...
  • 如何在 Ubuntu 24.04 或 22.04 Linux 上安装和运行 Redis 服务器
  • JVM 内存共享区域详解
  • 最小二乘法拟合椭圆