?
Solved

read oracle database

Posted on 2014-01-21
3
Medium Priority
?
261 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

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

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and theā€¦
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.
Suggested Courses

762 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