SQSH 2.1.3: Passing SQL as an arg (-C)
"Rick Frink" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase |
|---|---|
| Organization | The Occam Group |
| Message-ID | <[email protected]> |
Hello, I am trying to pass an SQL statement to SQSH from another script. SQSH does not like the '-C <sql' syntax that I am using. I thought that I should simply double-quote the sql statement. I have tried many formats, with no success. Reading from a file (aka "-i") works fine. I am using freetds 0.63 as the driver/library. Anybody had success with this option ? I know that 2.0 was supposed to resolve an issue with '-C'. Thanks, in advance. Rick ----------------------------- Rick Frink, Senior Consultant The Occam Group of Professional Computers Services Organization 1919 Birchwood Dr Troy, MI 48083 614.554.7405 (Cell) 248.528.3770 (Office) 248.528.3573 (Fax)