Given a shell script containing a bunch of SQL statements, is there an option to redirect just the SQL statements to stdout/file?
We\'re using named pipes with Sybase bcp so that we can compress output on-the-fly. The Sybase bcp utility does not return much information in its exit code.