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

Numeric check in Varchar column


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

New User


Joined: 27 Jan 2010
Posts: 37
Location: chennai

PostPosted: Thu Dec 22, 2011 6:04 pm
Reply with quote

How can we check whether the value in varchar column is Numeric Or Non-Numeric?
Is there any function?
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1787
Location: Bloomington, IL

PostPosted: Thu Dec 22, 2011 6:11 pm
Reply with quote

Ragav86 wrote:
How can we check whether the value in varchar column is Numeric Or Non-Numeric?
Is there any function?

Yes. Try CAST and check for errors.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Converting VARCHAR to XML DB2 1
No new posts Extract ISPF table column headings CLIST & REXX 2
No new posts Using Multiple IFTHEN and WHEN condit... SYNCSORT 12
No new posts Check if CICS is online in JCL CICS 10
No new posts ISPF Table to add a new column TSO/ISPF 1
Search our Forums:


Back to Top