Since we dropped our beta out of SQLDeveloper 4.1
and announced SDSQL
, we've been busy getting some of the new things out to users. We support SQL*plus editing straight out of the box, but one thing that was always annoying was the time when you make a mistake and can't fix it to you have finished typing to go back and add a line like this.
This was always the way as console (more...)
Unshared worksheets are created to have a private connection to the database. When that unshared worksheet is closed, the connection and session for it should disappear as well.
This graphic shows what should happen!
So My macbook pro died the other day and much to my wife's amusement, my dell laptop died 30 minutes later with disk errors as I hadn't used in it in forever. She wasn't laughing long though cos I swiped her Macbook Air to get me out of a hole while the Apple store replace the magsafe card. (Don't worry, though, cos Lisa grabbed one of the kids laptops and now they are the only (more...)
This, the last part of a four part tutorial goes over the movement of data using files generated by Oracle SQL Developer.
Looking at the data move scripts that we generated in an earlier part. We need to zip up the files and copy them to the SQL Server machine (more...)
In part 1
we generated the offline capture scripts to take to the SQL Server machine, unloaded the metadata, zipped it up and copied it back to out local machine. In part 2
we used SQL Developer to create a migration project and load the capture files into SQL Developer. (more...)
Ok, Now we have the files as generated and moved in part 1
, we can now start SQL Developer to load the files. Start up SQL Developer and create a connection with the following privileges: CONNECT, RESOURCE and CREATE VIEW.
When the connection is opened, right click on it (more...)
Many people want to migrate their SQL Server databases and do not have direct network access to the database. In Oracle SQL Developer, we can migrate from SQL Developer to Oracle using a connection to SQL Server or using files to extract the metadata from SQL Server and convert it (more...)
Sometimes people want to connect to MySQL from Oracle and copy table data between the databases. You can do that with Oracle Hetrogenous Services via ODBC. This post will show how to create an odbc connection to your MySQL database which is the first part of this.
For my example, (more...)
I find myself installing and running mysql of different versions in different places for different reasons all the time (well often enough to do it and not remember the little things that cost time when setting up) Its with that in mind, I'm making notes for myself and you (more...)
Running lots of scripts in SQL*Plus is nice when they are working correctly. But what about when they fail? Its a pain to figure out what went wrong, unless you have a log file and even then, you have to hunt the errors down.
Well, I've had enough of that. (more...)
When you have a load of SQL*Plus scripts, they can be a pain to manage and just simply get around.
In the next version of SQL Developer, you'll be able to hold the ctrl key down and click on the file name and have it open up. This also works (more...)
Ok, Finally, we have got to part 3 of Application Migration. In Part 1
, we outlined a program which runs in Sybase through iSQL. We then followed this, in part 2
with 2 important pieces.
- Recognizers to identify the file types of the source we post
- Rules to identify items within the files and report on the them
In this part, We will take the rules we used for the previous part, and add some replacement rules. So, lets recap. Our recogniser is set for shell files as below.
<?xml version="1.0" encoding="UTF-8"?>
<rulesfile version="1.0" name="Shell (more...)
I was working through a bug the other day and using SQL*Plus, which for the most part doesn't annoy me too much. However, one of the things that does, is having to retype lots of stuff. (We dont have that problem in SQL Developer).
Having hunted around for a few minutes, I found rlwrap which is a GNU readline wrapper. All this means is that when we use it on SQL*Plus, it give us keyboard history and user defined completion. I've found a few posts about it too, which are referred to below, but I wanted to do this for our (more...)
For those of you who end up using the Oracle Developers Day VM for more that just demo's but playing with other things too, will find that at some point, you'll need more space. (Like I did) Today's post is about just that. We're going to add a new VMDK drive to our virtual machine and configure it so its available to you in the machine.
First thing we want to do is to have a list of the devices in your linux box. This will save you searching for it once you add it later.
[oracle@localhost ~]$ cd (more...)
The DBMS_SQLTUNE package is the interface for tuning SQL on demand. Its Doc pages are here
. Have a look. There is a lot of stuff to do to set a tuning task, run it, report on it and then get it to do something useful. We've wrapped all that into our SQL Tuning Advisor function which means you dont need to start writing plsql API calls to make this work. Stick in your dodgy query, click the advisor button and visualize the results.
Here's a look at how to do this. Firstly, we need to grant a few permissions to our user. I'm doing (more...)
One of the features exposed since SQL Developer 1.5 is the hierarchical profiler. There have been several blogs and things about this but none I think that really get into the detail of what you are seeing and how to do it.
The hierarchical profiler allows you to see what happens when your piece of PL/SQL is running. More specifically, it allows you to see where it is spending most of its time, which means you can concentrate on hammering that down, rather than wondering where to start.
For today, I'm using a really basic reference table with a few rows (more...)
As part of the development process, we all have to work out the bugs in our code. For all of us who use SQLDeveloper , we know how to debug with SQL Developer. Compile for Debug, breakpoint and go. However, People still get confused by what remote debugging is and how it works. At its most basic, it allows us to run a procedure in a session and debug if from another.
So, Lets say we have a simple procedure on employees table like this.
create or replace
ID IN NUMBER
) RETURN VARCHAR2 AS
We've done a number of posts on using the Oracle Developer Day VM's and this is an addition to it, showing how we can set up a subversion repository using apache web dav for access. I'll keep this really simple so the steps should doable, straight one after the other.
On the Oracle Developer Day image, we have installed SVN so we can use it as our source control system. Lets find our svn.
[oracle@localhost ~]$ which svn
We can check if we have the right modules installed for apache, which in this case is mod_dav_svn.
In our previous post, Application Migration -Part 1
, we introduced application migration for change of database. In the examples, we cited Sybase to Oracle. In this post, we will introduce the way we can scan the application for items of interest and report on those with Oracle SQLDeveloper
. In our third post, we will replace and translate the items found so we can run the application in Oracle.
Since SQL Developer 3.1 we have had the ability to scan source files and replace the items we find with appropriate changes.
The application migration functionality uses XML rules to define the type of (more...)