Re: ob-sql.el: org-babel-process-file-name for MSSQL

2020-09-04 Thread Bastien
Hi Johan, thanks for reporting this. Johan W. Klüwer writes: > I'm not sure of the best way to submit this. The following change to > ob-sql.el works for me, but maybe it wouldn't in other setups with Sql > Server. > >(`mssql (format "sqlcmd %s -s \"\t\" %s -i \"%s\" -o \"%s\"" >(or cmd

ob-sql.el: org-babel-process-file-name for MSSQL

2020-03-10 Thread Johan W . Klüwer
I need to query MS Sql Server (running in Docker, Ubuntu) from org-babel. The file name for temporary files that ob-sql assembles doesn't work -- we get, e.g., c\:/tmp/babel-Pey8i9/sql-in-dhrGdF which produces the error Sqlcmd: Error: Error occurred while opening or operating on file c: (Rea