xltw6g
Last Updated: February 25, 2016
·
919
· vjt

Extract a stored procedure text off a Sybase DB from the command line

Download this script: https://gist.github.com/vjt/5920790. Requires sqsh and GNU sed.

Run it like:

./extract_sproc.sh procname -S servername -U username -P password -D dbname

You'll get the sproc text on standard output.