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.
Written by Marcello Barnaba
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Text
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#