计算机工程与应用 ›› 2007, Vol. 43 ›› Issue (26): 149-151.

• 数据库与信息处理 • 上一篇    下一篇

可扩展的电子表格查询外数据源方法

肖 杰1,谢 东2   

  1. 1.湖南第一师范 信息技术系,长沙 410205
    2.中南大学 信息科学与工程学院,长沙 410083
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-09-11 发布日期:2007-09-11
  • 通讯作者: 肖 杰

Extendable method for querying quter data resources in spreadsheets

XIAO Jie1,XIE Dong2   

  1. 1.Information Technology Department,Hunan First Normal College,Changsha 410205,China
    2.School of Information Science and Engineering,Central South University,Changsha 410083,China
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-09-11 Published:2007-09-11
  • Contact: XIAO Jie

摘要: 电子表格是一种分析工具,具有友好的用户界面,提供了简单计算模型。但与RDBMS相比,电子表格没有一个共享机制,而导致多个电子表格需要产生多个副本。此外,电子表格也不能提供可扩展的计算。为了解决共享性和可扩展性问题,提出把Excel计算自动地转换为SQL。可以从一个系统中输入数据,在系统中用类似的Excel公式定义计算,然后把它作为一个SQL视图转换和存储起来,然后通过系统执行Excel计算。实验显示,方法是可行和有效的。

关键词: 关系数据库, Excel SQL, 单元格

Abstract: Spreadsheets are analysis tools with a friendly user interface,provides a simple computational model.However,as opposed to RDBMS,spreadsheets do not provide shareability of models and lead to proliferation of multiple copies of the same spreadsheet.Furthermore,spreadsheets do not offer scalable computation.To solve the two problems,this paper proposes to automatically translate Excel computation into SQL.Users can import the data from RDBMS,define computation using familiar Excel formulas and then translate and store it as a SQL view.The Excel computation is then performed by the relational system.The experiments show that the method is feasible and effective.

Key words: relational database, Excel SQL, cell