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

2010-12-13 Thread Eric Schulte
Sébastien Vauban wxhgmqzgw...@spammotel.com writes: (I thought this feature would be implemented using real SQL vars, hence my @ prefix. But viewing the code shows the replacement is made outside of the SQL snippet's knowledge.) I agree that using real SQL variables would be preferable. If

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

2010-12-13 Thread Sébastien Vauban
Hi Eric, Eric Schulte wrote: Sébastien Vauban wxhgmqzgw...@spammotel.com writes: (I thought this feature would be implemented using real SQL vars, hence my @ prefix. But viewing the code shows the replacement is made outside of the SQL snippet's knowledge.) I agree that using real SQL

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

2010-12-01 Thread Sébastien Vauban
Hi Eric, Eric Schulte wrote: Sébastien Vauban wxhgmqzgw...@spammotel.com writes: 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