IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Query to find out junk values in table


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Jeevankumar.Pochammala

New User


Joined: 04 May 2011
Posts: 7
Location: INDIA

PostPosted: Sun Jun 12, 2011 1:41 pm
Reply with quote

Hello All,

Can any one please let me know the query which can give all junk values from all columns of the table.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sun Jun 12, 2011 2:30 pm
Reply with quote

Define "JUNK" values
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Jun 12, 2011 5:46 pm
Reply with quote

Hello,

Every byte in a table may contain a value from x'00' thru x'FF'. NONE of these are junk. Some may not be what you expect/want, but they are not junk.

If you post a more descriptive explanation of what you want to accomplish, someone may have a suggestion. Show a sample table definition including good and bad data and what you want your query to accomplish when it runs.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Sun Jun 12, 2011 6:09 pm
Reply with quote

Quote:
the query which can give all junk values from all columns of the table.
This is a VERY poorly worded and thought-out post. For example, one column of the table is phone number. A "junk value" for this column could be "John Smith". Yet, the very next column of the table is emergency contact, for which "John Smith" is perfectly valid yet "(404) 555-1234" would be a "junk value".

One column's "junk value" is another column's valuable data.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Load new table with Old unload - DB2 DB2 6
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
Search our Forums:

Back to Top