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

Clause that can define a field as NOT ZERO


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Lord.of.Wind

New User


Joined: 17 Nov 2005
Posts: 60

PostPosted: Mon Nov 27, 2006 9:05 am
Reply with quote

Hi, all:

Is there a clause that can define a field NOT ZERO, if it is numeric ?

For example,
N_UPDATE_COUNTER SMALLINT NOT ZERO

If you know about this question, please kindly teach me, many thanks!
Back to top
View user's profile Send private message
khannay2k

New User


Joined: 24 Feb 2005
Posts: 28
Location: Bangalore

PostPosted: Mon Nov 27, 2006 2:38 pm
Reply with quote

Lord.of.Wind,

Instead you can go for comparing the value in the field N_UPDATE_COUNTER SMALLINT with zeros, and if it yeilds it would satisfy your requirement.

A simple logic like N_UPDATE_COUNTER SMALLINT = Zeros.

Regrads.
Rajesh
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 Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts Join 2 files according to one key field. JCL & VSAM 3
No new posts How to move the first field of each r... DFSORT/ICETOOL 5
No new posts To search DB2 table based on Conditio... DB2 1
Search our Forums:

Back to Top