ORA-00942 querying V$ Data Dictionary views via Windows PowerShell (Doc ID 1596110.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Data Provider for .NET - Version 10.2.0.5 and later
Information in this document applies to any platform.

Symptoms

Querying a data dictionary view such as V$SESSION using Windows PowerShell, via the Oracle Data Provider for .NET (ODP.NET) results in ora-942.

    ORA-00942: table or view does not exist

Issuing the same query via SQLPlus succeeds, as well as issuing the same query via ODP.NET but without PowerShell, using Note 760958.1 for example

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms