Shell Command for executing query
Dear Experts,
Is that anyway i can write my query resultset to excel file with field alignments.
I came across the command,
mysql -u <username> -h <hostname> -p -e " SELECT FIELD1,FIELD2 FROM TABLE" > /var/www/test.xls
I got the result in excel but the field values are aligned automatically, is that any way i can assign field values alignment like 'Left' ,' Right' or 'Justify'.
Help me in this..
Thanks,
Murali.V
Subject
Written By
Posted
Shell Command for executing query
December 05, 2014 03:17AM
December 05, 2014 12:08PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.