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

Home -> Community -> Usenet -> c.d.o.server -> Re: How to do the equivalent of 'describe' with a SELECT?

Re: How to do the equivalent of 'describe' with a SELECT?

From: Vince <vinnyop_at_yahoo.com>
Date: 2 Apr 2007 07:46:15 -0700
Message-ID: <1175525175.456814.86700@p15g2000hsd.googlegroups.com>


On Mar 31, 7:50 am, "Ramon F Herrera" <r..._at_conexus.net> wrote:
> The SQL code that I need is for a Pro*C/C++ application. Before my
> compiled C program does its main thing, it should check the current
> sizes of the variables in the target table.
>
> I would like to be able to change the variables' sizes, for instance,
> from:
>
> VARCHAR(20);
>
> to
>
> VARCHAR(30);
>
> without having to recompile all my C programs. Or at least, reduce the
> impact of such resize.
>
> TIA,
>
> -Ramon

Ramon,
Try looking at the user_tab_columns table to see the columns's datatype, precision, etc. Received on Mon Apr 02 2007 - 09:46:15 CDT

Original text of this message

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