Quantcast
Channel: Alextv.net feed from krisrice.blogspot.com
Browsing latest articles
Browse All 25 View Live

Image may be NSFW.
Clik here to view.

Getting DDL for objects with sdsql

Getting ddl out for any object is quite simple.  You can just call dbms_metadata with something nice and easy like select dbms_metata.get_ddl('TABLE','EMP') from dual; SQL> select...

View Article


Image may be NSFW.
Clik here to view.

SDSQL's flux capacitor

  Writing sql or any code is an iterative process.  Most of the time that means to see what you have done say 5 minutes ago means how big is your undo buffer or better is if you are in SQL Developer...

View Article


Image may be NSFW.
Clik here to view.

What is SDSQL ?

  SQL Developer is now up to version 4.1 and has had many additions over the years to beef up the sqlplus compatibility.  This is used today by millions of users adding up to millions if not billions...

View Article

Image may be NSFW.
Clik here to view.

Aliases with sdsql and simpler CTAS

First, we just put up a new build of sdsql.  Go get it or the last thing here will not work.   SQL is a great and verbose language so there's many ways to shorten what we have to type.  As simple as a...

View Article

Image may be NSFW.
Clik here to view.

SDSQL - Pre and Post Commands

  This is in the process of evolving but should be enough for anyone to give it a whirl.  The idea is that for any given statement you may want to run something before and possible after.   Here's a...

View Article


Image may be NSFW.
Clik here to view.

SDSQL - Output Formats

   In SQL Developer, Jeff has shown in many tips & tricks talks and here on his blog how to get data from any select into a few formats.  The most common I would say is csv.   Nothing here has...

View Article

Image may be NSFW.
Clik here to view.

3 new things about sdsql

New Name ! The first is a new name this EA it's named sqlcl for sql command line.  However, the binary to start it up is simply sql.  Nothing is easier when you need to run some sql than typing 'sql'...

View Article

Image may be NSFW.
Clik here to view.

Repeating another SQLCL EA release

    It's been a month and a lot of bugs have been fixed in that time and new features added. That adds up to time for another EA for our new sqlcl.  The third sqlcl EA is out now and can be found here...

View Article


Image may be NSFW.
Clik here to view.

Logstash and Oracle Database

    For anyone that doesn't know what Logstash is head over to http://logstash.net/ and watch the video on the home page.  Mark Rittman has done a great blog post on the full ELK stack with OBIEE....

View Article


Image may be NSFW.
Clik here to view.

REST Data Services and SQL Developer

The database tools team released 3 new GA releases and an update to our SQLCL. Official Releases are here:    SQL Developer, Modeler, and Data Miner:...

View Article

Image may be NSFW.
Clik here to view.

Javascript Inside the Database

Where there's a will, there's a way. Not sure on the best use of this off hand but here it is. Javascript inside an Oracle Database. Since Javascript is included in java via the ScriptEngine framework....

View Article

Image may be NSFW.
Clik here to view.

ORDS - Auto REST table feature

Got a question on how easy it is to use ORDS to perform insert | update | delete on a table.  Here's the steps. 1) Install ORDS ( cmd line or there's a new wizard in sqldev ) 2) Enable the schema and...

View Article

Image may be NSFW.
Clik here to view.

SQLcl , yet again

By the Numbers There's a new SQLcl out for download.  In case, there are too many to keep track of the build numbers are quite easy to tell if you have the latest.  The build posted today is...

View Article


Image may be NSFW.
Clik here to view.

New Tools releases , now with Java

What's New   For the 90%+ of people using sqldev/modeler on windows, the JDK bundled versions are back.  So no more debating what to install or worrying about conflicting Java versions.   Lots of bug...

View Article

Image may be NSFW.
Clik here to view.

Connecting to DBaaS, did you know this trick?

SSHTunneling Trick The new command line is a must try, says 10 out of 10 people that built it.  The tool has sshtunneling of ports built in as described by Barry. This means you can script opening your...

View Article


Image may be NSFW.
Clik here to view.

Yet another CSV -> Table but with pipleline function

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...

View Article

Image may be NSFW.
Clik here to view.

SQLCL - More secure, now with REST !

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...

View Article


Image may be NSFW.
Clik here to view.

SQLcl - Oct 5th Edition

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,...

View Article

Image may be NSFW.
Clik here to view.

SQLcl - Oct 13th Edition

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...

View Article

Image may be NSFW.
Clik here to view.

SQLCL - Blob loading from a file

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...

View Article

Image may be NSFW.
Clik here to view.

AskTom's print_table - SQLCL version

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...

View Article


Image may be NSFW.
Clik here to view.

SQLCL - Blob loading ALL the files

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...

View Article


Image may be NSFW.
Clik here to view.

Carbonated SQLCL - aka SODA support

     Oracle Database 12.1.0.2 introduced JSON support.  This is supported in REST Data Services already and now in the latest SQLCL.  This means ORDS can serve up the access to client applications and...

View Article

Image may be NSFW.
Clik here to view.

Tuning SQL with Javascript in SQLCL

In case anyone missed it, #sqlcl has the ability to run javascript. This opens a lot of options.  Here's a simple example that shows how to using javascript. Open a new Database Connection Collect...

View Article

Image may be NSFW.
Clik here to view.

Putting SQL in the corner with Javascript in SQLCL

Here's a pretty small javascript file that allows for running sql in the background of your current sqlcl session.  This is a trivial example of a sql script that has a sleep in it to simulate...

View Article

Browsing latest articles
Browse All 25 View Live