When I execute the below command on command line, it shows all the stored procedures and tables in the sybase DB.
printf \'sp_help\\ngo\\n\' | isql -Uxx -Pxxxx -
Several things come to mind:
isql
can't be found)../isql
instead.sh -c "foo | bar"
. Otherwise the | isql ...
part is passed as argument to printf
as well.