Hi there,

I wonder if one can copy a query result into stdout and redirect it to a file?

I've tried:
mclient.bat -u monetdb -d somedb -s "copy select * from sometable into stdout" - > .\somefile.csv

But, only the table header is saved in somefile.csv...


P.S. 'select * from sometable' shows all data rows as expected.
I am using MonetDB v11.21.11 (Jul2015-SP1) on Windows.

Thank you,
Anton