Results 1 to 5 of 5

Thread: [2005] get the details of the Oracle10g

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2007
    Posts
    153

    [2005] get the details of the Oracle10g

    hi to all,
    i need to find the details of the table(column name and the datatype). how can i find that?. plz help me to solve the problem .i am using Oledb Connection for oracle. when i am using the oracle connection, it giving the error "ORA-12154 TNS: could not resolve the connect identifier specified".
    thank u

    with thanks and regards
    mmary

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2005] get the details of the Oracle10g

    Call the GetSchema method of your connection object, whatever type it may be.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Feb 2007
    Posts
    153

    Re: [2005] get the details of the Oracle10g

    hi to all, plz somebody help me to solve the problem in getting the details of the Oracle table and also help me to solve the establishing the oracleconnection. plz somebody help me.

    thank u.
    with thanks and regards
    mmary

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Feb 2007
    Posts
    153

    Re: [2005] get the details of the Oracle10g

    thank u for ur kind reply. plz somebody help me solve these problems

    with thanks and regards
    mmary

  5. #5
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: [2005] get the details of the Oracle10g

    Acouple of thngs here. First Orcle client software must be installed on the machine (If the DB was installed ther then client was also installed.). Next an entry in the TNSNames file must be made for the database. This can be con manually but I would not recommed this if you are not compltely fluent (please forgive my spelling), use then tools installed with the client installation (the net configuration assisant).

    Next look at this the database section FAQ's for a post I made about Orqcle and VB (both 6 and .Net the thread is : http://www.vbforums.com/showthread.php?t=393457)

    Next Look at post in thread http://www.vbforums.com/showthread.php?t=459103 Look at post number 18 I supplied a method for getting table information to you in that thead. I also sent you a PM about it.
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width