zoukankan      html  css  js  c++  java
  • 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’

     


     
     
    Figure 2   Create ODBC Data Source ‘TXT_CSV_ODBC’

     

     

    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.

     

     
     

     

    Remarks :

    Please uninstall the former version with the corresponding install 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

     

     



     

  • 相关阅读:
    由VMnet引起的browser-sync故障解决方案
    Gen8折腾日记
    实变函数笔记(1)——集合与基数
    密码学笔记(6)——复杂度及其相关内容
    微分几何笔记(1)——参数曲线、内积、外积
    密码学笔记(5)——Rabin密码体制和语义安全性
    密码学笔记(4)——RSA的其他攻击
    密码学笔记(2)——RSA密码
    密码学笔记(1)——数论准备知识
    第七章小结
  • 原文地址:https://www.cnblogs.com/keanuyaoo/p/3253784.html
Copyright © 2011-2022 走看看