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: finding blank columns

Re: finding blank columns

From: DA Morgan <damorgan_at_psoug.org>
Date: Wed, 03 May 2006 10:09:55 -0700
Message-ID: <1146676197.472106@jetspin.drizzle.com>


gpanda28_at_gmail.com wrote:
> Hi all
>
> I want to find out tables having blank columns,
> is there any easy way to finding them.
>
> pl. help
>
>
> thanks
>
> GP

exec dbms_stats.gather_schema_stats('<schema_name>');

SELECT column_name, num_nulls
FROM user_tab_columns
WHERE table_name = <table_name>;

Daniel Morgan
www.psoug.org Received on Wed May 03 2006 - 12:09:55 CDT

Original text of this message

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