xltw6g
Last Updated: February 25, 2016
·
820
· vjt
B9896d170716175a070c8c03cda3b97f

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.

Say Thanks
Respond