Solved

read oracle database

Posted on 2014-01-21
3
253 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
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error handling in asp.net site 5 29
JQuery JavaScripot loop though RadioButtonList 4 26
ASP/VB email question 4 35
SQL Workhours Count beetween Workhours 3 18
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

821 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