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

 

 

1  Preface

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 查询分析器)’.
 

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.
 

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. 

 

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.

 

 

 

2  Access EXCEL by DB Query Analyzer

It‘s very powerful for DB Query Analyzer in EXCEL file process. I’ll give you a sample to show its powerful fuction. Please make sure that column name coinciding with the data should be included in the first row in EXCEL file. Also the table name must be enclosed in double quotation marks or sqare bracket while accessing the ODBC Data source based on MS EXCEL.

 

OS :  Windows 2000 Server

Files : EXCEL file

Client tool : DB Query Analyzer 5.02.

 

First I create a ODBC Data Source ‘TXT_CSV_ODBC’according to EXCEL file by DB Query Analyzer. Click menu item toolsàODBC Data Source Manager to run the windows ODBC Data Source Administrator form. This is shown in Figure 1 and Figure 2.

 


Figure 1   Create ODBC Data Source ‘TXT_CSV_ODBC’, Click menu tools-->ODBC DSN Management

 


 
 
Figure 2   Create ODBC Data Source ‘TXT_CSV_ODBC’, Click button choose excel worksheet

 

 

Run DB Query Analyzer 5.02, then click ‘File’ menu to choose ‘Connect’ to open the logging window. Select ODBC Data Source ‘TXT_CSV_ODBC’.


 

 
Figure 3   log in ODBC Data Source ‘TXT_CSV_ODBC’

 

 


Figure 4   User Tables coincide with ‘TXT_CSV_ODBC’ in Object View

 

    

Figure 5   error occurs while the table name enclosed in single quotation marks or none
 
 

 

You can get the result after you execute SQL statement.
 

Figure 6   Get data from two tables according to two EXCEL file

 
 

So, the table name must be enclosed in double quotation marks or sqare bracket while accessing the ODBC Data source based on MS EXCEL. Otherwise, error will occurs while the table name enclosed in single quotation marks or none.

 

 
 

 

 

DB Query 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 version 5.03  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 is http://blog.csdn.net/magenfeng
                 
http://blog.sina.com.cn/magenfeng

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

 

 

 

 

 

 



 

原文地址:https://www.cnblogs.com/wuyida/p/6300754.html