Some aspect of security is in every database system, whether you recognize it or not. And if you are building a business database, you want it to grow! What will happen when fourteen users becomes 140 or 14,000?
The github repo for all the things the DB Tools team does will be posted here https://github.com/oracle/Oracle_DB_Tools This will include sqlcl , sqldev, modeler, ords , and who knows what other things we have up our sleeves to post. This repo is going to be made up of examples and getting started things like a new extention for sqldev, custom transformation for modeler, ords integration with
Lots of users have been head scratching as to which tnsnames.ora is being found and used when connecting to the database with SQLDeveloper and with SQLcl.
In the latest release we've added another new command.
What this will do is walk the locations where we look for tnsnames.ora and list these out in order. Then it will tell you which one the tool will actually use and list the entries for you.
There was an idea logged over on community.oracle.com to add AskTom style print_table to sqlcl.
Here's how easy it is now that there's scripting in sqlcl. This is a simple js file that loops over the rows and columns and prints them. When using the executeReturnListofList the first row is the name of the columns for reference. With that data there it's quite simple to customize any output.
There is a ton of ways having new scripting in sqlcl can help. One example is a simpler way to load a local file into a BLOB in a column.
Prior to this the only options I know of would be to write custom code or move the files to the server and use utl_file or xdb or some combination of things like this.
Here's a simple script which loads a local file
Another build of SQLCL is out. This one has lots of great things in it. There's fix in there to work with Cygwin for the unlucky people that are still on windows.
Now the new stuff: SCRIPT
This new command can radically change things you can do in the tool. The script command runs a script that can be any language that is JSR-223 enabled. The best list I can find is here: https://
It was time for another push of the new sql command line , sqlcl. Here's the changes in the latest build. There are a number of bugs fixed relating to connecting to idle databases, alias feedback, and picking up the $ORACLE_HOME's jdbc driver when available. There is only a couple functional changes.
First is that now the jdbc connect string itself can be specified. This opens up a number