Quantcast
Viewing all articles
Browse latest Browse all 125

CYGWIN and SQLcl

For those Windows users out there who want both a BASH shell AND a really cool command line interface to Oracle Database – I have good news!

We updated SQLcl yesterday to include support for CYGWIN.

I have Cygwin64 and Windows 7.

Image may be NSFW.
Clik here to view.
it's a UNIX system! #JurassicParkJoke

it’s a UNIX system! #JurassicParkJoke

We also added a new command, SHOW TNS.

This will help you figure out how and where we’re finding your TNSNAMES* files.

SQL> show tns
 
TNS Lookup locations
--------------------
1.  USER Home dir
    C:\Users\jdsmith
2.  TNS_ADMIN
    D:\
 
Location used:
-------------
        C:\Users\jdsmith
 
Available TNS Entries
---------------------
DevDay11
DevDay12CDB
DevDay12PDB
SQL>

So we’ll look in your home directory, your TNS_ADMIN space, and your $ORACLE_HOME\network\admin space..and I think we peak into your registry as well…anyways, you’ll be able to troublehshoot now why you’re entry isn’t coming up.

You can also run a TNSPING on your TNS entry as well.

If you think this is cool, then it’s really not even the tip of the iceberg. Kris talks about yesterday’s BIG news here – you can now do client-side javascript scripting in SQLcl. Really opens up all what you can do with the tool…example, loading a BLOB from a file

Image may be NSFW.
Clik here to view.
script load blog with javascript sqlcl oracle


Viewing all articles
Browse latest Browse all 125

Trending Articles