• Home
  • About

Perigee Consulting Blog

Focus. Value. Results

Feeds:
Posts
Comments
« Updating a TFS Work item template with WITIMPORT command
Interesting Link »

Files Required to use Oracle SQL Plus

April 21, 2010 by Jim Brown

We need to use Sqlplus.exe for our database build process, but depending on which version of the Oracle client that is installed, the required files can be in a number of different directories.

To have a consistent build script, we want to place SQLPlus.exe in a well know directory on each of the build servers, no matter how the Oracle client was installed. To do this, we simply copy SQLPlus.exe and the supporting files to a well known directory where our build tools can execute it.

The tricky part is to get the correct supporting files deployed as well. To find the required supporting files:

1.) Start Sqlplus.exe from the normal Oracle client directory – where ever that is base on the Oracle install.

2.) Use Sysinternals Procmon.exe to view the SQLPlus.exe executable process and provide the associated dlls.

3.) The list of supporting dlls is:

  • oci.dll
  • oraocci11.dll
  • oraociei11.dll
  • orasqlplusic11.dll
  • msvcr71.dll

By coping Sqlplus.exe and the dll’s listed above to a well known directory, we can reliably exeucte SQLPlus.exe from our build script – no matter how the oracle client was installed.

Advertisement

Like this:

Like
Be the first to like this post.

Posted in Uncategorized | Tagged Build, Oracle | Leave a Comment

  • Archives

    • November 2010 (1)
    • April 2010 (3)
    • June 2009 (4)
    • April 2009 (6)
    • March 2009 (7)
    • January 2009 (7)
    • October 2008 (1)
    • March 2007 (1)
  • Categories

    • Agile Development Techniques (3)
    • Agile Project Management (2)
    • Scrum (4)
    • Software Development (13)
    • Structured Analysis and Decision Making (3)
    • Team System (2)
    • Uncategorized (9)
    • Visual Studio (2)
  • Pages

    • About

Blog at WordPress.com.

Theme: MistyLook by Sadish.


Follow

Get every new post delivered to your Inbox.

Powered by WordPress.com