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

Comments

Popular posts from this blog

Simple Example of Using Pipes with C#

Putting Files on the Rackspace File Cloud

Why I Hate Regular Expressions