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: Ramon F Herrera <ramon_at_conexus.net>
Date: 1 Apr 2007 13:59:26 -0700
Message-ID: <1175461166.731338.182650@p77g2000hsh.googlegroups.com>


On Mar 31, 9: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

Dear Self:

The OCI Demo programs include one, aptly called 'descr.c', which does what you asked for.

-Ramon Received on Sun Apr 01 2007 - 15:59:26 CDT

Original text of this message

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