The 3rd tip of DB QueryAnalyzer

来源:互联网 发布:mdict mac版 编辑:程序博客网 时间:2024/04/29 02:06


 The 3rd tip of DB Query Analyzer

                  Ma Genfeng  

 (Guangdong Unitoll Services incorporated, Guangzhou 510300) 

 

Abstract   It's very convenient to annotate some script in DB Query Analyzer. Two ways are provided for you to annotate some script. Furthermore, you can execute selected SQL statement only.           

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.

It lets you query ODBC data sources, author SQL scripts and queries, return query results to a grid or free-form text or a file, retrieve ODBC driver information, execute multiple SQL scripts or stored procedures simultaneously, and more.

 

Achievement of DB Query Analyzer

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

Now the Simplified Chinese version of DB Query Analyzer is the top 50 database application software in the famous software website http://xiazai.zol.com.cn/download_order/sub_550.html. In most case it lies the top 20 and it has been download more than 95,000 times.

63 technical articles about DB Query Analyzer have been published or been publishing in computer journal, BAIDU Library, the CSDN resource or my four blog-websites.

By April 17st, 2013, you’ll get 3.18 million results if you search  in Baidu.com.

By April 17st, 2013, you’ll get 1.04 million results if you search  in Baidu.com and you’ll get 0.16 million results if you search ‘DB Query Analyzer’in Baidu.com

By April 17st, 2013, you’ll get 1.04 million results if you search   in google.com and you’ll get 0.44 million results if you search ‘DB Query Analyzer’ in Baidu.com

 

Master Genfeng Ma, the developer of DB Query Analyzer, hopes he can cooperate with some software company such as Sybase, Embarcadero, Microsoft and so on. He thinks it will be the better way that DB Query Analyzer is assembled in the develop tools according to such software company so that more and more database application software developer will benefit from its powerful function, friendly interface, easy operation and applicability to every production of RDBMS.

  

 

2   Preface

It's very convenient to annotate some script in DB Query Analyzer. Two ways are provided for you to annotate some script. Furthermore, you can execute selected SQL statement only.  

I will show you how to annotate some script and how to execute SQL statement only in DB Query Analyzer 5.04.

OS :  Windows 2000 server

Database system : DB2

Client tool : DB Query Analyzer 5.04.

 

 

3  Connect to ODBC DSN based on DB2  

Run DB Query Analyzer 5.04 first, then click ‘File’ menu to choose ‘Connect’ to open the logging window. Select ODBC Data Source ‘unitoll2’,input user name and password then connect to the database.

 This is shown in Figure 1.
 

  

Figure 1   Connect to ODBC Data Source‘unitoll2’

 

 

4   Execute the selected SQL statement only

After logged in DB2,input the SQL statement and select some to execute it. Then you can get theresult.

This is shown in Figure 2.



Figure2   Get the date type field value in MS SQL Server

 

 

5   First way to annotate some script

If you input two character ‘-‘ in the front of a row in ‘SQL edit’ area in DB Query Analyzer. This row is annotated. It can’t be executed. In figure 3, ifyou press ‘F5’ or click menu item ‘Query’à’Run’ to execute SQL statement, only the second row is executed.

This is shown in Figure 3.



Figure3   Get the date type field value in Sybase

   

 

6   Another way to annotate some script

In DB Query Analyzer, SQL statement between ‘/*’ and ‘*/’ can’t be executed also.

So it supply you witha very convenient way to annotate many rows. In figure 4,only the first row is executed.



Figure4   How to annotate many rows

 

 

7  63 technical articles about DB Query Analyzer have been published or been publishing in computer journal,  Baidu Library, the CSDN resource or my four blog-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 Applications 11th issue of 2011 in Shanghai.

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

 

The following 57 articles have been published or been publishing in Baidu Library, the CSDN resource or my four blog-website.

The DBMS 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

Which SQL statement is the trump card to the senior software developer

Exepacker prevent DB Query Analyzer from beging debugged have been published.

13 articles from The 1st tip of DB Query Analyze to The 13th 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
 



  

 

DB Query Analyzer 5.04 download URL: 

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

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

  


   DB Query Analyzer Simplified Chinese version 5.04  download URL:

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

 

  

 

Remarks :

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

 



关于我

              马根峰本人的微信公众号:

              万能数据库查询分析器

 马根峰的博客:

CSDN博客:http://blog.csdn.net/magenfeng

新浪博客:  http://blog.sina.com.cn/magenfeng

官方网址:   http://www.unitedpowersoft.com/



                                       

                                                更多精彩文章,技术分享,敬请期待