|
-
Apr 5th, 2007, 04:21 AM
#1
Thread Starter
Addicted Member
[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
-
Apr 5th, 2007, 04:42 AM
#2
Re: [2005] get the details of the Oracle10g
Call the GetSchema method of your connection object, whatever type it may be.
-
Apr 5th, 2007, 06:28 AM
#3
Thread Starter
Addicted Member
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
-
Apr 5th, 2007, 06:29 AM
#4
Thread Starter
Addicted Member
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
-
Apr 5th, 2007, 08:13 AM
#5
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|