TO "get around" the 8.x->7.x database link I wrote:
/*
produces output similar to the 'desc' command over a db_link
takes two parameters
1. the table to be described
2. the name of the db_link (with @ sign)
*/
-- t. day 9-25-01
set verify off
select column_name, data_type, data_length from sys.dba_tab_COLUMNS&&2
where table_name = upper('&&1') order by 1
/
set verify on
You may want to pretty up the output to overcome the 200 character
column_name and gather other information from dba_tab_columns, but it's a
beginning.
Jared.Still
@radisys.com To: Multiple recipients of list ORACLE-L
Sent by: root <[EMAIL PROTECTED]>
cc:
Subject: Re: 'bug' with describe command
01/10/2002
06:35 PM
Please
respond to
ORACLE-L
Sorry Steve, you'll have to live with it.
Oracle has never had any intention of fixing this seemingly simple
yet enormously annoying bug.
Wait til you try to do a describe across a 8.x->7.x database link.
That won't work at all.
Jared
"Steve
McClure" To: Multiple recipients of
list ORACLE-L <[EMAIL PROTECTED]>
<smcclure@ussc cc:
ript.com> Subject: 'bug' with describe
command
Sent by:
[EMAIL PROTECTED]
om
01/10/02 02:00
PM
Please respond
to ORACLE-L
I have recently converted from 7.3.4 to 8i. The conversion went well, but
I
have finally gotten around to dealing with an annoying problem. The
problem
is that since the 8 conversion my sqlplus session returns the output from
describe in a strange manner. The Name column for example is close to 200
characters long. I can control this by setting my sqlplus linesize to
something more pedestrian than the 500 characters I have set in my
login.sql.
The output of the describe command when describing a package is as
expected, regardless of linesize. So in my opinion this is not a feature.
Any chance any of you have run across this in the past? I am hoping a
patch
exists, because 8.1.6 is the final release for my OS platform.
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Steve McClure
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).