Solved

read oracle database

Posted on 2014-01-21
3
250 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
  • 2
3 Comments
 
LVL 29

Expert Comment

by:MikeOM_DBA
Comment Utility
What error do you get?
0
 
LVL 1

Accepted Solution

by:
Anthony Matovu earned 0 total points
Comment Utility
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
Comment Utility
I downloaded the oracle dataprovider for .net 64 bit and I installed it and it worked
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

743 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now