« Systematic Oracle Performance Tuning | Main | Using _spin_count to reduce latch contention in 11g »

January 28, 2008

Comments

SeetaRamayya

Above posting was excelent. I have started working on powershell from last two days. I am able to connect to 10g but the same is not working with oracle 9i. Can you please suggest something here?

wasabi

I've been trying to use the dlls from the instant client but i can't seem to get it working. do you have any tips regarding powershell and oracle instant client?

Mario

Hi!

I try your code but i have this error... with the good path

C:\WebCheck> [Reflection.Assembly]::LoadFile("C:\Ora11g_Client\product\11.1.0\client_1\ODP.NET\bin\2.x\Oracle.DataAccess.dll")

I try to found a solution on google but... see nothing.

Exception calling "LoadFile" with "1" argument(s): "Could not load file or assembly 'Oracle.DataAccess, Version=2.111.7.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. An attempt was
made to load a program with an incorrect format."

If i use 1.x, no error but the rest of code not running...

Can you help me?

Mario

oups...
see the result with the 1.x
GAC Version Location --- ------- --------True v1.0.3705 C:\WINDOWS\assembly\GAC\Oracle.DataAccess\1.111.7.0__89b483f429c47342\Oracle.DataAccess.dll

תנור מעבדה

Excellent post shared by you here regarding oracle and powershell. It's really helpful to me and workout for me. I will access oracle data from powershell definitely in next sessions.

Rob

Hi all,

My query works unless I add a WHERE Clause. Any suggestions?

WORKS: "SELECT * from dba_jobs;"
DOES NOT WORK: "SELECT * from dba_jobs WHERE JOB = 1;"
DOES NOT WORK: "SELECT * from dba_jobs WHERE LOG_USER = 'SYS';"

BOTH NON WORKING GIVE ERROR:

Exception calling "Fill" with "1" argument(s): "ORA-00911: invalid character"

מנהלי חשבונות

Thanks for sharing technical post. I check out the link of GUI to dabble in powershell. It's very informative I read this blog deeply.

The comments to this entry are closed.

My Photo
Blog powered by Typepad