Educating developers on what Oracle tools and products our team makes, hopefully.
Updated: 15 hours 10 min ago
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
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.
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
A new SQLCL build was just posted go grab it and kick the tires. There are well over 100 bug fixes in there so it's better than ever. Also there's some new things. More Secure Imagine you have an api that is called and a password or something is used in the parameters. We use exec MY_API(...) and it works just fine. However consider if someone with access to v$sql they just got
Here's just one more variation on how to get a CSV into a table format. It could have been done before but my google-fu couldn't find it anywhere. First to get some sample data using the /*csv*/ hint in sqldev. Then the results of putting it back to a table. The inline plsql is just to convert the text into a CLOB. Now the details. The csv parsing is completely borrowed(stolen) from