Generating Table DDL via SQLcl, with and without Storage Clauses
We’re getting much closer to having Oracle SQL Developer version 4.1 ready for release – which includes SQLcl, our new command-line interface for Oracle Database. Just a quick reminder in case you’re...
View ArticleSQLcl: Run a Query Over and Over, Refresh the Screen
I was going to talk about our new IMPORT command in SQLcl. This will allow you to feed a delimited text file of data to our command line interface and have it automatically imported to a table. But...
View ArticleTailing the Alert Log with SQLcl
Hopefully you’ve heard about the new SQL*Plus we’re building. And hopefully you’ve heard about the new REPEAT command we put into it yesterday. Here’s a quick example of how to build a little ‘monitor’...
View ArticleSetting Default Script Execution Directory in SQLcl
We have a script execution directory setting in SQL Developer…but what about our new SQLcl command line utility? That was a question posed to me this morning. My answer was..well, let me show you my...
View ArticleUpdated SQLcl: nicer inline editing and column completion
We updated the Early Adopter offering of SQLcl today. Go get it. But first, I’m assuming you’ve heard of SQLcl? If not – Read the slidedeck, watch the movie. We’ve put in a ton of enhancements and even...
View ArticleSQLcl: Using the new CTAS Command
How often do you need to build a new table to test something out? How often have you typed CREATE TABLE AS SELECT… If the answer to both of those question is ‘quite a bit Jeff!,’ then continue reading....
View ArticleThe SQL*Plus Stuff You Like and Love Lives On in SQLcl
When demonstrating SQLcl, I get the feeling that half of the audience is filled with dread. Yes, they love everything that I’m showing them. But deep, deep down they are scared that the things they...
View ArticleCYGWIN 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...
View ArticleSET PAUSE ON
This has been around for a loooooong time. But after a short chat with @oraclebase AKA Tim Hall yesterday, I thought I’d make sure we’re doing things right in the SQLDev tooling. Tim uses it to make...
View ArticleKeyboard Shortcuts Cheat Sheet
Remember back when Corel first released WordPerfect? Remember how it had like a bazillion keyboard shortcuts, and you needed help remembering them all? No? You probably also don’t remember a world sans...
View ArticleObject Search in SQLcl?
I’m always looking for things. I love the ALT+G trick in SQL Developer. But what about the command-line? One of the really nice things about SQLcl is that if you can’t do what you want with the...
View ArticleClick vs Type…Again.
This might sound preachy, but it’s mostly not intentional, mostly. You might really enjoy the flexibility of the PL/SQL APIs the database provides for things like Resource management, the Scheduler,...
View ArticleYour Definitive Guide to SQL History
I went to link to this post earlier today, and was shocked to discover I hadn’t actually written it yet. What’s the opposite of ‘bazinga!’ ? SQL Developer stores every query AND script you execute in a...
View ArticleSQLcl: Optimizing Your History Lists
Since SQLcl is a command line tool, it’s not super helpful to have a huge command history list. How do I mean? Well, in the SQL Developer GUI, we have a History panel. It allows for sorting, filtering,...
View ArticleFormatting Code in SQLcl
Ever get a SQL statement from someone desperate for help? There’s 2 things these people do that drive me nuts: they send a SCREENSHOT of their code they send the Query as a single line of text If I’m...
View ArticleMore SET SQLFORMAT fun in SQLcl
DELIMITED text files are popular ways of passing data around. CSV anyone? The C stands for ‘Comma’ – regardless of what your smug European friends may have told you #TonguePlantedFIRMLYInCheek Anyways,...
View ArticleGet Help, Just Hit TAB
You’re at the command-line, you need to add a data file to your tablespace. You get most of the way through it, and you forget what’s next, doh! In SQLcl, you can just hit the TAB key, and we’ll help...
View ArticleGetting Your Plans via SQL_ID
@thatjeffsmith hi Jeff, is it possible to see execution plan just by passing sql_id somehow,i dont think so as it just show running sql plan — Mayank (@mayankeurope) February 15, 2016 So of course you...
View ArticleSQLcl Updated: Bug Fixes
There’s an update available for SQLcl on OTN, go get it now. We’re closing bugs left & right, and we’re super close to 100% SQL*Plus support now. As an example, we now support SET PAGESIZE 0…which...
View ArticleWhy DESC When You Can INFO in Oracle SQLcl?
INFORMATION is a new command available in SQLcl, a command-line interface to Oracle Database. HR@orcl >help information INFORMATION -------- This command IS LIKE DESCRIBE but WITH more details...
View Article