Capítulo de livro Revisado por pares

The Script-Writer’s Dream: How to Write Great SQL in Your Own Language, and Be Sure It Will Succeed

2009; Springer Science+Business Media; Linguagem: Inglês

10.1007/978-3-642-03793-1_3

ISSN

1611-3349

Autores

Ezra Cooper,

Tópico(s)

Semantic Web and Ontologies

Resumo

We show how to translate expressions in a higher-order programming language into SQL queries. Somewhat surprisingly, we show that any suitable expression translates to a single SQL query, where the suitability is determined by a type-and-effect check. Thus, unlike in Hollywood where a script-writer can never be sure a movie sequel will be popular, we show how to be sure that your SQL—written in your own language—will succeed (in being translated).

Referência(s)