Re: [Orgmode] [Babel] How to pass variables to SQL blocks?

2010-11-30 Thread Eric Schulte
Hi Seb, Babel's sql support did not have any variable handling. I just copied over the variable support from ob-sqlite to ob-sql, so the following should now work (notice: my code block is different from yours) ** sql variables #+results: sql-param | table | valueTable0 | | column

[Orgmode] [Babel] How to pass variables to SQL blocks?

2010-11-29 Thread Sébastien Vauban
#+TITLE: How to pass variables to SQL code blocks? #+DATE: 2010-11-29 #+LANGUAGE: en * Abstract I'm trying to abstract similar blocks of SQL code, making use of variables passed to blocks. Though, I can't get any var passed to the SQL block -- maybe my mistake! While doing this