Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: 'bug' with describe command

Re: 'bug' with describe command

From: <tday6_at_csc.com>
Date: Fri, 11 Jan 2002 07:30:02 -0800
Message-ID: <F001.003ED9E7.20020111052528@fatcity.com>

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        <ORACLE-L_at_fatcity.com>                        
    
                                         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 <ORACLE-L_at_fatcity.com>
                    <smcclure_at_ussc       cc:
                    ript.com>            Subject:     'bug' with describe
command
                    Sent by:
                    root_at_fatcity.c
                    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: smcclure_at_usscript.com

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: ListGuru_at_fatcity.com (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: Jared.Still_at_radisys.com

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: ListGuru_at_fatcity.com (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: tday6_at_csc.com

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: ListGuru_at_fatcity.com (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). Received on Fri Jan 11 2002 - 09:30:02 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US