The 13thtip of DB Query Analyzer, powerful processing EXCEL file
MA Genfeng
(Guangdong UnitollServices incorporated, Guangzhou 510300)
Abstract It‘s very powerful for DB Query Analyzer in EXCELfile processing. I’ll give you a sample to show its powerful function. Pleasemake sure that column name coinciding with the data should be included in thefirst row in EXCEL file. From 5.03, the table name will be enclosed in square bracketautomatically by DB Query Analyzer while accessing the ODBC Data source basedon MS EXCEL.
Key words DB Query Analyzer
1 Brief introduction of DB Query Analzyer
DB Query Analyzer ispresented by Master Gen feng, Ma from Chinese Mainland. It has English versionnamed ‘DB Query Analyzer’ and Simplified Chinese version named ‘万能数据库查询分析器(DB 查询分析器)’.
DB QueryAnalyzer is one of the few excellent Client Tools in the world for its’powerful function, friendly interface, easy operation and applicability toevery production of RDBMS.
It lets you query ODBCdata sources, author SQL scripts and queries, return query results to a grid orfree-form text or a file, retrieve ODBC driver information, execute multipleSQL 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 beenstrongly recommended.
Now the SimplifiedChinese version of DB Query Analyzer is the top 50 database applicationsoftware in the famous software websitehttp://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,000times.
By April 17st, 2013,you’ll get 3.18 million results if you search ‘万能数据库查询分析器’ in Baidu.com.
By April17st, 2013, you’ll get 1.04 million results if you search ‘DB 查询分析器’ in Baidu.com and you’llget 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 andyou’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 somesoftware company such as Sybase, Embarcadero, Microsoft and so on. He thinks itwill be the better way that DB Query Analyzer is assembled in the develop toolsaccording to such software company so that more and more database applicationsoftware developer will benefit from its powerful function, friendly interface,easy operation and applicability to every production of RDBMS.
2 Preface
It‘s very powerful for DBQuery Analyzer in EXCEL file process. I’ll give you a sample to show itspowerful function. Please make sure that column name coinciding with the datashould be included in the first row in EXCEL file.
I will show you an example.
OS : Windows 2000 Server
Files : EXCEL file
Client tool : DB QueryAnalyzer 5.03.
3 Create ODBC Data Source according to EXCELfile
First I create a ODBCData Source ‘TXT_CSV_ODBC’according to EXCEL file by DB Query Analyzer. Clickmenu item toolsàODBC Data Source Managerto run the windows ODBC Data Source Administrator form. This is shown in Figure1 and Figure 2.
Figure1 Create ODBC Data Source ‘TXT_CSV_ODBC’,Click menu toolsàODBCDSN Management
Figure2 Create ODBC Data Source ‘TXT_CSV_ODBC’,Click button choose excel worksheet
4 Execute SQL after connected to ‘TXT_CSV_ODBC’
Run DB Query Analyzer 5.03,then click ‘File’ menu to choose ‘Connect’ to open the logging window. SelectODBC Data Source ‘TXT_CSV_ODBC’.
Figure 3 log in ODBC Data Source ‘TXT_CSV_ODBC’
Figure4 User Tables coincide with ‘TXT_CSV_ODBC’in Object View
Figure5 EXCEL file coincide with‘TXT_CSV_ODBC’ in windows explorer
Figure6 Error occurs table name written asthe photo
You can get the result after youexecute SQL statement.
Figure7 Getdata from two tables by SQL script gernerated by DB Query Analyzer
Figure8 Getdata from two tables by SQL script gernerated by DB Query Analyzer
Figure9 Getdata from two tables by SQL script gernerated by DB Query Analyzer
Figure10 Get the rows according to two table shownin tabsheet messages
Figure11 Opena EXCEL file by Microsoft EXCEL
5 63 technical articlesabout DB Query Analyzer have been published or been publishing in computerjournal, Baidu Library, the CSDNresource or my four blog-website.
The following 6 articles have beenpublished in computer journal.
DBQuery Analyzer to cancel a running SQL statement in Computer Era 12th issue of 2011 in Hangzhou.
DBQuery Analyzer Returns Information in More Detail While Batch SQL Statement Endof Execution in Computer Programming Skill & Maintenance 24th issue of 2011 in Beijing
TheApplication of the Transactions Control in DB2 with DB Query Analyzer inComputer Programming Skill & Maintenance 22th issue of 2011 in Beijing.
Howdoes DB Query Analyzer cancel the SQL statement committed to DBMS in ComputerEngineering & Software 6th issue of 2011 in Tianjin.
TheApplication of the Transactions Control in Oracle with DB Query Analyzer inMicrocomputer Applications11th issue of 2011 in Shanghai.
DB Query Analyzer had been stronglyrecommended In the New products & Tools reviews of programmer 2nd issue of2007.
The following 57 articles have beenpublished or been publishing in Baidu Library, the CSDN resource or my fourblog-website.
TheDBMS that DB Query Analyzer Users often use cover all kinds of DBMS have beenpublished.
Howto configure ODBC DSN in Client to access remote DB2 for Windows
Howto configure ODBC DSN to access local DB2 for Windows
WhichSQL statement is the trump card to the senior software developer
Exepacker prevent DB Query Analyzer from beging debugged have been published.
13articles from The 1st tip of DB Query Analyze to The 13th skills of DB QueryAnalyzer have been published.
Thetable name must be enclosed in double quotation marks or sqare bracket whileaccessing EXCEL by DB Query Analyzer
DBQuery Analyzer 5.03 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 version5.03 download URL:
http://xiazai.zol.com.cn/detail/27/264455.shtml
Remarks :
Pleaseuninstall the former version first, then install the latest version.
My blog is http://blog.csdn.net/magenfeng