Skip to content

Instantly share code, notes, and snippets.

@thomaswitt
Created November 6, 2013 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomaswitt/7333940 to your computer and use it in GitHub Desktop.
Save thomaswitt/7333940 to your computer and use it in GitHub Desktop.
Check Oracle One Liner Ruby
ruby -r oci8 -e "OCI8.new('xms01','R1launch','//my.cool.host:1521/ORACM.BLA').exec('select sysdate from dual') do |r| puts r.join(','); end"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment