The 16th tip of DB Query Analyzer

     ---- SQL Schedule will be executed even DBMS has ever been down in 6.02

Ma Genfeng

(Guangdong Unitoll Services incorporated, Guangzhou 510300)

Abstract   The latest version of DB Query Analyzer is 6.02. In 6.02, if yous elected the option ‘SQL Schedule Reconnect’ in window configurations, theSchedule SQL scripts will be executed as long as the Database Server is in use,even though the Database Server had been down.

          As I said in the interview with ChineseSystem Development Net, if I have time what I want to do is to realize the reconnection to DBMS in SQL Schedule Function even DBMS has ever been down. Today, I am very glad to realize this function.

Key words   DB Query Analyzer

1   Brief introduction of DB Query Analzyer 

DB Query Analyzer is presented by Master Genfeng, Ma from Chinese Mainland. It has English version named ‘DB Query Analyzer’ and Simplified Chinese version named   .

DB Query Analyzer is one of the few excellent Client Tools in the world for its’powerful function, friendly interface, easy operation and applicability to every production of RDBMS.   6.02 version new characteristic

The latest version of DBQuery Analyzer is 6.02.

In 6.02, if you selected the option ‘SQLSchedule Reconnect’ in window configurations, the Schedule SQL scripts will beexecuted as long as the Database Server is in use, even though the Database Server had been down.

Secondly,all the options in window configurations will be saved to configuration file when they are changed.

Thirdly, when new window is created in which the connection to Database Sever which has been down, menu items will not be set to unusable, unlike all the former versions.

Fourthly, some codes have been optimized.

3   Preface

In this essay I will demonstrate how to execute SQL script in specified time by the SQLExecute Schedule in the latest version 6.02 of DB Query Analyzer.

OS : Windows XP

Database system : DB2

Client tool : DB Query Analyzer 6.02.

4   How to download the installation packages of DB Query Analyzer from ZOL

Recently, Zhongguancun Online distributed the ZOL Downer for users to download the resources from ZOL. In this case,users can just download the ZOL downer with the code of resources, not the installation packages.

But if someone want to install the PC which is isolated from the INTERNET, he or she will no longer do that.

So how do the users download the installation packages? Please see the eassy bellow

How to downloadthe installation package by ZOL Downer

http://blog.csdn.net/magenfeng/article/details/38750901

Figure 1   Connect to DB2 database

5   How to execute SQL Schedule even DBMS has ever been down 

Figure 2   Execute SQL statement after connected to DSN ‘toolsdbR’

Figure 3 shut down the DBMS

Figure 4   Execute SQL statement when DBMS is down

Figure 5   restart the DBMS

Figure 6   Execute SQL statement while no result is return because the connection is closed

Figure 7   select the option ‘SQL Schedule Reconnected’ in the window ‘configurations’

Figure 8   open the window ‘SQL Execute Schedule’ inorder to add a schedule

Figure 9  a schedule is added

As long as the date and time is inthe past, the schedule will be executed right now. In case of checked option ‘SQLSchedule Reconnect’,the connection will be restored even DBMS has even beendown.

Figure 10   the result is returned after the schedule is executed

 

6     71 technical articles about DB Query Analyzerhave been published or been publishing in computer journal,  Baidu Library, the CSDN resource or my fourblog-website.

The following 6 articles have been published in computer journal.

DB Query Analyzer to cancel a running SQL statement in Computer Era 12th issue of 2011 in Hangzhou.

DB Query Analyzer Returns Information in More Detail While Batch SQL Statement End of Execution in Computer Programming Skill & Maintenance 24th issue of 2011 in Beijing

The Application of the Transactions Control in DB2 with DB Query Analyzer in Computer Programming Skill & Maintenance 22nd issue of 2011 in Beijing.

How does DB Query Analyzer cancel the SQL statement committed to DBMS in Computer Engineering & Software 6th issue of 2011 in Tianjin.

The Application of the Transactions Control in Oracle with DB Query Analyzer in Microcomputer Applications11th issue of 2011 in Shanghai.

    DB Query Analyzer had been strongly recommended In the New products & Tools reviews of programmer 2nd issue of 2007.

The following 65 articleshave been published or been publishing in Baidu Library, the CSDN resource ormy four blog-website.

TheDBMS that DB Query Analyzer Users often use cover all kinds of DBMS have been published.

How to configure ODBC DSN in Client to access remote DB2 for Windows

How to configure ODBC DSN to access local DB2 for Windows

WhichSQL statement is the trump card to the senior software developer

Exe packer prevent DB Query Analyzer from beging debugged have been published.

16 articles from The 1st tip of DB Query Analyze to The 16th skills of DB Query Analyzer have been published.

The table name must be enclosed in double quotation marks or sqare bracket while accessing EXCEL by DB Query Analyzer

How to download the installation package by ZOL Downer

DBQuery Analyzer 6.02 download URL:

http://xiazai.zol.com.cn/detail/43/420901.shtml

http://www.unitedpowersoft.com/UpFile/DBQueryAnalyzer_English_602.rar

DB Query Analyzer Simplified Chinese version 6.02  download URL:

http://xiazai.zol.com.cn/detail/27/264455.shtml

Remarks :

Please uninstall the former version first, then install the latest version.

My blog are  http://blog.csdn.net/magenfeng

http://blog.sina.com.cn/magenfeng

http://user.qzone.qq.com/630414817

Interview with CSDN: http://www.csdn.net/article/2014-08-09/2821124

It lets you query ODBCdata sources,author SQL scripts and queries, return query results to a grid orfree-formtext or a file, retrieve ODBC driver information, execute multiple SQLscriptsor stored procedures simultaneously, save the result to files with highefficiencywhich is as quick as tools provided by database system. What ismore, from 6.01,DB Query Analyzer provides SQL Execute Schedule function toexecute SQL scriptsin certain time. If you select the option ‘SQL ScheduleReconnect’ in windowconfigurations, the Schedule SQL scripts will be executedas long as theDatabase Server is in use, even though the Database Server hadbeen down. 

The 16th tip of DB Query Analyzer的更多相关文章

  1. The 5th tip of DB Query Analyzer

    The 5th tip of DB Query Analyzer             Ma Genfeng   (Guangdong UnitollServices incorporated, G ...

  2. The 15th tip of DB Query Analyzer

    The 15th tip of DB Query Analyzer      ---- SQL Execute Schedule function is realized in 6.01 Ma Gen ...

  3. The 14th tip of DB Query Analyzer

      The 14th tip of DB Query Analyzer Ma Genfeng (Guangdong Unitoll Services incorporated, Guangzhou 5 ...

  4. The 11th tip of DB Query Analyzer

          The 11th tip of DB Query Analyzer                                            MA Gen feng       ...

  5. The 1st tip of DB Query Analyzer

     The 1st tip of DB Query Analyzer               Ma Genfeng   (Guangdong Unitoll Services incorporate ...

  6. The 2nd tip of DB Query Analyzer

    The 2nd tip of DB Query Analyzer                               Ma Genfeng   (Guangdong Unitoll Servi ...

  7. The 6th tip of DB Query Analyzer

      The 6th tip of DB Query Analyzer MA Gen feng (Guangdong Unitoll Services incorporated, Guangzhou ...

  8. The 7th tip of DB Query Analyzer

              The 7th tip of DB Query Analyzer MA Gen feng ( Guangdong Unitoll Services incorporated, Gu ...

  9. The 4th tip of DB Query Analyzer

    The 4th tip of DB QueryAnalyzer Ma Genfeng (Guangdong Unitoll Services incorporated, Guangzhou 51030 ...

随机推荐

  1. JAVA之旅(三十四)——自定义服务端,URLConnection,正则表达式特点,匹配,切割,替换,获取,网页爬虫

    JAVA之旅(三十四)--自定义服务端,URLConnection,正则表达式特点,匹配,切割,替换,获取,网页爬虫 我们接着来说网络编程,TCP 一.自定义服务端 我们直接写一个服务端,让本机去连接 ...

  2. Android View框架总结(七)View事件分发机制

    请尊重分享成果,转载请注明出处: http://blog.csdn.net/hejjunlin/article/details/52282833 View布局告一段落,从本篇开始View事件相关分析, ...

  3. Dynamics CRM 插件Plugin中获取和更新时间字段值的准确转换

    前面两篇介绍了后台代码通过组织服务获取更新时间字段.窗体javascript通过Odata获取更新时间字段,最后篇来实验下在插件中的获取和更新时间字段是否需要时制的转化,为何说是最后篇呢,因为在CRM ...

  4. leetcode 3 Longest Substring Without Repeating Characters最长无重复子串

    Given a string, find the length of the longest substring without repeating characters. For example, ...

  5. Linux上程序调试的基石(2)--GDB

    3. GDB的实现 GDB是GNU发布的一个强大的程序调试工具,用以调试C/C++程序.可以使程序员在程序运行的时候观察程序在内存/寄存器中的使用情况.它的实现也是基于ptrace系统调用来完成的.  ...

  6. Android的ImageSwitcher和TextSw-android学习之旅(三十四)

    ImageSwitcher简介 ImageSwitcher继承了ViewSwitcher,所以在切换时候会有动画,可以把它理解成一个动画版本的ImageView. 他的showNext(),和show ...

  7. linux后台运行程序(secureCRT断掉或关闭后继续运行程序)

    secureCRT断掉后想继续运行程序.也就是程序会在后台一直执行到结束. secureCRT通过ssh联接到client端运行程序,如果关掉窗口或者断开连接时,任务会被kill. 为了程序能够后台执 ...

  8. iOS开发之四:常用控件--UIButton的使用

    在介绍UIButton的用法前,要先了解一下它的父类UIControl,UIControl是所有具有事件处理功能控件的父类. 而该类控件一般响应事件又有三种形式:基于触摸.基础值.基础编辑.控件的层次 ...

  9. Web Service进阶(四)WebService注解

    @WebService 1.serviceName: 对外发布的服务名,指定 Web Service 的服务名称:wsdl:service.缺省值为 Java 类的简单名称 + Service.(字符 ...

  10. Android官方命令深入分析之dmtracedump

    dmtracedump是一个根据log文件生成图形化调用堆栈的工具(除了Traceview之外). dmtracedump的用法: dmtracedump [-ho] [-s sortable] [- ...