emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] sql can't export an empty table, gives error


From: Gary Oberbrunner
Subject: [O] sql can't export an empty table, gives error
Date: Tue, 23 Dec 2014 17:34:09 -0500

If you try to export this document:

#+BEGIN_SRC sql :exports both
 select 1 limit 0;
#+END_SRC

It fails to export with an error in *Messages*:
 user-error: Empty table - created default table
It also stops processing the document at that point.
(That SQL code produces no output but is not a SQL error.)

I'd prefer if it would just leave that empty (missing) table out, and keep going.  Is there any way to do that?

--
Gary

reply via email to

[Prev in Thread] Current Thread [Next in Thread]