sybase asa - How to collect column headers and data using dbisqlc.exe command -
i trying query sybase asa database using dbisqlc.exe
command-line on windows system , collect column headers along associated table data.
example:
dbisqlc.exe -nogui -c "eng=mydb;dbn=dbname;uid=dba;pwd=mypwd;commlinks=tcpip{port=12345}" select * mytable; output c:\outputfile.txt
i prefer if command wrote stdout
not appear option aside using dbisql.exe
not available in environment in.
when run in format header , data generated in unparsable format.
any assistance appreciated.
try adding 'format sql' clause output statement. give select statement containing column names data.
Comments
Post a Comment