?
Solved

read oracle database

Posted on 2014-01-21
3
Medium Priority
?
263 Views
Last Modified: 2014-01-26
This my first time to try out this.

I have opened the connection to an oracle database using the code below.

  Dim oradb As String = "Data Source=(DESCRIPTION=" _
               + "(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxx)(PORT=1521)))" _
               + "(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=yyyy)));" _
               + "User Id=uname;Password=pw;"
        Dim conn As New OracleConnection(oradb) ' VB.NET
        conn.Open()

and it is successful.

I want to read the views. but I have no idea.

I have been using like the code below to read data in the PLSQL. where I am told  "mim_ADHOC" is a schema.


select * from mim_ADHOC.vw_marketing_datamart where smonth = 201312;

Help and thank you

Anthony
0
Comment
Question by:Anthony Matovu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 29

Expert Comment

by:MikeOM_DBA
ID: 39797734
What error do you get?
0
 
LVL 1

Accepted Solution

by:
Anthony Matovu earned 0 total points
ID: 39797777
Thank you MikeOM_DBA.

I downloaded the oracle dataprovider for .net 64 bit and I installed it and it worked

Anthony
0
 
LVL 1

Author Closing Comment

by:Anthony Matovu
ID: 39809830
I downloaded the oracle dataprovider for .net 64 bit and I installed it and it worked
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question