Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > Oracle
| Search | Today's Posts | Mark Forums Read
Oracle General Oracle database discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Oracle section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 4th, 2007, 10:20 AM
Registered User
 
Join Date: Jan 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Display all NULL columns

Hi,

I have a doubt how to get the following output in PL/SQL.

There are 100 columns in a table display all NULL columns of row.

 
Old January 4th, 2007, 10:41 AM
Friend of Wrox
Points: 793, Level: 10
Points: 793, Level: 10 Points: 793, Level: 10 Points: 793, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2005
Location: OKC, OK, USA.
Posts: 227
Thanks: 1
Thanked 7 Times in 7 Posts
Default

hm_naveen:
You will have to loop thru each column in each row and test for "if NULL exist". The loop is iterated after the defined CURSOR has selected the table.

Hope this helps.
 
Old January 5th, 2007, 09:50 AM
Registered User
 
Join Date: Jan 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you very much for your response.

But how to get the number of columns in a table(dynamically)






Similar Threads
Thread Thread Starter Forum Replies Last Post
display Null or Not an object error kishy449 Classic ASP Professional 1 September 4th, 2007 01:21 PM
Avoid null display ajaidass ADO.NET 2 January 17th, 2007 03:54 PM
display no heading if null oleafo ASP.NET 1.0 and 1.1 Basics 1 January 8th, 2007 06:23 PM
How to set Not Null constraint to Null Columns arasu Oracle 1 August 22nd, 2005 10:09 AM
behaviour of NULL value in date type columns kasanar SQL Server 2000 2 July 7th, 2005 04:40 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.