Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Accessing Microsoft SQL Server from Linux using DBD::Sybase

by enky123 (Initiate)
on Feb 28, 2014 at 09:59 UTC ( #1076510=note: print w/replies, xml ) Need Help??


in reply to Re^2: Accessing Microsoft SQL Server from Linux using DBD::Sybase
in thread Accessing Microsoft SQL Server from Linux using DBD::Sybase

Hi, I have tried passing arguments as a Query & an Output file. But that's not working. Please take a look below. see below syntax, (This works !!!!!) /usr/local/freetds/bin/tsql -S sql1 -U sqluser -P sqlpassword. But the below command doesnt work. /usr/local/freetds/bin/tsql -S sql1 -U sqluser -P sqlpassword -I Query -o Outputfile.
  • Comment on Re^3: Accessing Microsoft SQL Server from Linux using DBD::Sybase

Replies are listed 'Best First'.
Re^4: Accessing Microsoft SQL Server from Linux using DBD::Sybase
by Anonymous Monk on Feb 28, 2014 at 10:06 UTC

    Hi, I have tried passing arguments as a Query & an Output file. But that's not working.

    um, ok, but that is not perl code ...

    https://wiki.apache.org/tajo/tsql doesn't show any -I or -o options

    so check the documentation for whatever tsql program you have

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1076510]
help
Chatterbox?
[erix]: yes, very handy that. I always use the one-page html version (dumped a local copy of it)
[erix]: (easier for searching)
choroba tries to grep -i choroba absg.html
[erix]: I count 3 (+1 in the list)-- wel done :)
[choroba]: I've read it body to /body and experimented a lot...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2017-11-24 11:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (348 votes). Check out past polls.

    Notices?