Created
November 6, 2013 10:29
-
-
Save thomaswitt/7333940 to your computer and use it in GitHub Desktop.
Check Oracle One Liner Ruby
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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