The 6th tip of DB Query Analyzer
MA Gen feng
( Guangdong Unitoll Services incorporated, Guangzhou 510300)
Abstract DB Query Analyzer provides ‘Object View’ by which you can get well know of DD in databases.
I will show you how to get the fields in some table through the ‘Object View’.
Key words DB Query Analyzer
1 Brief introduction of DB Query Analzyer
DB Query Analyzer is presented by Master Gen feng, Ma from Chinese Mainland. It has English version named ‘DB Query Analyzer’ and Simplified Chinese version named ‘万能数据库查询分析器(DB 查询分析器)’.
Master Gen feng 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.
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 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 92,000 times.
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 ‘DB 查询分析器’ 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 ‘DB 查询分析器’ in google.com and you’ll get 0.44 million results if you search ‘DB Query Analyzer’ in Baidu.com
Development of DB Query Analyzer
After four years research, design, development and about three months integrated test based on Oracle, Sybase, DB2, Informix, MS SQL Server, MYSQL, MS ACCESS, FoxPro and Paradox, DB Query Analyzer is distributed to the world In 2007. From then on, the continuous improvement of function or interface has been done.
From version 2.0,EXE Packer isn't be used to prevent DB Query Analyzer from being debugged. It will be never judged as virus foolishly.
From version 3.01, it becomes free.
In version 3.02,it allows users to define the restrict character among single quotation marks, double quotation marks and none. If you reset it in the configuration window, the query result will take effect right now. However, If you reset the separator between SQL, it will take effect in the new opened SQL edit window.
From version 4.01, a useful function is added. Users can save the result with too many records into file in high efficiency.
Version 4.03 and version 5.01 are the perfect version as a few little BUG that have been found are solved. On the other side, the flow of Installation Program is optimized.
Out of question, 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.
2 Preface
DB Query Analyzer provides ‘Object View’ by which you can get well know of DD in databases.
After Expand the node of ODBC Data source in Object view, you can see five node System Tables, User Tables, Views, Aliases, Temporary Tables, Procedures/Functions.
I will show you how to get the fields in some table through the ‘Object View’.
OS : Windows XP / Windows 2000 Server
Database system : MS SQL Server, MYSQL
Client tool : DB Query Analyzer 5.01.
3 Connect to ODBC DSN based on MS SQL Server
Run DB Query Analyzer 5.01 first, then click ‘File’ menu to choose ‘Connect’ to open the logging window. Select ODBC Data Source ‘test_sqlserver’, then input user name and password.
This is shown in Figure 1.
Figure 1 ‘Connect’ to ODBC Data Source ‘test_sqlserver’
4 Get fileds by ‘Object View’
If you have privilige to get the DD of database, you can expand the ‘Object View’ to
get all the fields of some table.
This is shown in Figure 2.
Figure 2 Get the fields information after expanding the ODBC DSN connected
Right click the table in the ‘Object View’, a popup menu helps you to generate frequent SQL Statement.
This is shown in Figure 3.
Figure 3 Fetch the first 100 rows records
5 Without privilige to access the DD of databases
If you have no privilige to access the DD of databases, How to generate SQL statements quickly?
I will show you an example after connected to a MYSQL DSN. In this example, DB Query Analyzer is running on Windows XP.
Firstly, please select text in the menu Query(Y)-àDisplay--àText, This is shown in Figure 4.
Figure 4 Select Text item in the menu
Figure 5 Another way select Text item
Figure 6 Execute the SQL statement
After execute the SQL statement, select all fields name in the result area. Then copy them to the clipboard.
Figure 7 Paste all fields name from clipboard and design the SQL statement
Remarks :
Please uninstall the former version with the corresponding install version first, then install the latest version.
My blog is