Showing posts from June, 2010

Setting the default oracle database using the commandline

I am only blogging this piece because I always forget how to do it.   

If you have multiple Oracle databases in your box and you want to run against the default database, it can sometimes be a challenge.  To set the default database from the command line enter the following command

C:\>set db=mydatabase