Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
DESCRIBE?

DESCRIBE?

2005-03-28       - By Graeme St. Clair

Reply:     1     2     3     4     5     6     7     8     9     10  

Thanks to all responders, particularly Jonathan.  The first para of his
first citation is:-

QUOTE

You've just taken on responsibility for a new database. New to you, that is
-- the database has actually been running for some years. What's the first
thing you want to do? If you're like me, you probably want to get a handle
on just what it is that you have. What's in the database? How big is it? Who
are the users and how many of them are there? The answers to all of these
questions lie in the Oracle data dictionary.

UNQUOTE

How truly deeply true...

Tx & rgds, GStC.


-- --Original Message-- --
From: Jonathan Gennick [mailto:jonathan@(protected)]
Sent: Monday, March 28, 2005 2:00 PM
To: Graeme St. Clair
Cc: oracle-l@(protected)
Subject: Re: DESCRIBE?

Hello Graeme,

DESCRIBE is a command that has meaning only to Oracle's interactive query
utility called "SQL*Plus".

To get information about a database from a Perl script, you can use the data
dictionary tables. You might find the following article
helpful:

http://www.oreillynet.com/pub/a/network/2002/10/28/data_dictionary.html

You can also got to otn.oracle.com, dig for the Oracle documentation, and
then for the "Oracle Database Reference" manual, and in that you will find
comprehensive descriptions of all the data dictionary tables and columns.

Best regards,

Jonathan Gennick --- Brighten the corner where you are http://Gennick.com *
906.387.1698 * mailto:jonathan@(protected)

Join the Oracle-article list and receive one article on Oracle technologies
per month by email. To join, visit
http://five.pairlist.net/mailman/listinfo/oracle-article,
or send email to Oracle-article-request@(protected) and include the word
"subscribe" in either the subject or body.


Monday, March 28, 2005, 11:48:12 AM, Graeme St. Clair
(Graeme.St.Clair@(protected)) wrote:
GSC> I understand there is a "DESCRIBE my_data_base" command in Oracle
GSC> SQL, and I assume it will return material describing the d-b in
GSC> question.  Right so far?  If so, is it restricted in some way?  I'm
GSC> finding I can issue SELECT from a Perl script but not DESCRIBE - I
GSC> get ORA-00900 (See ORA-00900.ora-code.com): invalid SQL statement
GSC> (DBD: error possibly near <*> indicator at char 1 in '<*>DESCRIBE
GSC> my_data_base').

GSC> Rgds, GStC.



GSC> --
GSC> http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l