473,216 Members | 1,308 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,216 software developers and data experts.

Catalog query

Hello, How can I identity the list of columns (with the table in which
it is located) present in a database which has
[1] A blank or NULL value for ALL rows ( if the column is CHAR)
[2] A zero (0) for ALL the rows (if it is a numeric column)

Is there is any system.catalog entry which I can query to find out ?

Thanks, Sam

Nov 27 '06 #1
1 1711
Ian
Sam Durai wrote:
Hello, How can I identity the list of columns (with the table in which
it is located) present in a database which has
[1] A blank or NULL value for ALL rows ( if the column is CHAR)
[2] A zero (0) for ALL the rows (if it is a numeric column)

Is there is any system.catalog entry which I can query to find out ?
No. You must query the actual tables to get accurate results.

However, if you've have recent statistics on the tables, you may be
able to get a rough idea by looking at syscat.tables (CARD) and
syscat.columns (COLCARD, HIGH2KEY, LOW2KEY, NUMNULLS, ...)
Nov 27 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jefferis NoSpamme | last post by:
I am looking at an old query and I cannot remember or figure out what this part of the query means: `Catalog`.item like '%A\-%' It is the like '%A\-%' I cannot figure out. Then entire...
0
by: Roisin | last post by:
Hi folks, I'm running IIS5 and need to specify the Catalog I'm using in an ASP query. I can so far only find instructions for this which pertain to IIS2, this didn't behave properly when I...
5
by: Travis Pupkin | last post by:
Hey, I've done a number of product catalogs/galleries with one or two category levels (Category > Subcategory). The straightforward way to do this, of course, is to use database fields for...
0
by: Denise | last post by:
Hi I have set up a full text index on one of my database tables and created a catalog. Then I started a full population on my catalog and got a message "Population of full text index started...
0
by: Vasantha peddireddy | last post by:
Hi, I am using Microsoft's indexing service to search for content in my website. How can I query against remote server catalog? What is the path I need to use? I need to call a catalog which is...
3
by: maricel | last post by:
Could somebody confirm the behavior of UNCATALOG & CATALOG command based on the following situation: There are two NODES on DB2 UDB v8.1, MYNODEA & MYNODEB. MYNODEA has two databases proda &...
4
by: Uttam | last post by:
Hello, Could someone point me to the syntax required to detected whether a particular table (say tbl1) and a particular Query (Qry1) exists in the catalog? Thank you in advance. Cheers!
3
by: mike | last post by:
On DB2 EEE v8.2 on Linux/Windows/Unix, is there any catalog view that I can query with SQL to find tablespace-state? The state is not visible via SYSCAT.TABLESPACES. The state is visible by...
0
by: berandor | last post by:
I am attempting to use the "Catalog Library List" feature of the IBMDA400 oledb provider. My connection string is as follows: new OleDbConnection("Provider=IBMDA400.DataSource.1;Data...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.