首页 | 本学科首页   官方微博 | 高级检索  
     


Using FP as a query language for relational data-bases
Authors:Annalisa Bossi  Carlo Ghezzi
Affiliation:1. Seminario Matematico, Università di Padova, via Belzoni, 7, 35100 Padova, Italy;2. Dipartimento di Elettronica, Politecnico di Milano, Piazza L. da Vinci, 32, 20133 Milano, Italy
Abstract:FP is the programming language defined by J. Backus to demonstrate the virtues of functional programming as opposed to conventional programming in Von Neumann-like languages.In this paper we investigate the use of FP in the framework of relational data bases. In particular, we show how the language can be used to define base relations, to derive views from a collection of relations, and to express complex database queries.The language provides all capabilities of pure algebraic relational languages, but is considerably more powerful. As such, it can be used as a formal specification language to describe the semantics of queries expressed in relational languages, such as Query-By-Example. In addition the algebra of FP programs allows one to formally prove properties of such queries.
Keywords:Functional programming  FP-system  Relational database  Query language  Specification language
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号