Issue with isql for Sybase
Posted on 2006-11-02
I am facing a problem with isql. There are some scripts(Windows NT) which use isql for both SQL Server and Sybase.
I am trying to execute a query directly when isql is started
In the case of isql with SQL Server
isql -Usa -Paaa -Sabc -Q "Select * from employee"
Its working fine...I am trying to do the same with Sybase..isql for sybase doesn't have any option to. I have seen a solution for Unix(Using redirection)..but not for Windows...Any ideas?
Also is there a solution other than using -i <input file> option