[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
RE: [sqr-users] How to check 'CHAR' field to find out if itcontainsall Numeric?
- Subject: RE: [sqr-users] How to check 'CHAR' field to find out if itcontainsall Numeric?
- From: "Tajinder Chahal" <Tchaha@Roushind.com>
- Date: Thu, 14 Oct 2004 16:48:38 -0400
- Cc: sqr-users@sqrug.org
- Delivery-date: Thu, 14 Oct 2004 15:49:49 -0500
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
Thanks a lot Kevin.
I found out that it is other way around
if $string <> '' and translate($string, '','0123456789') = ''
>>> kevin.reschenberg@sparkpath.com 10/14/04 04:34PM >>>
if $string <> '' and translate($string, '0123456789', '') = ''
! It contains all numerics
else
! It doesn't
Kevin Reschenberg
SparkPath Technologies, Inc.
www.sparkpath.com
-------- Original Message --------
Subject: [sqr-users] How to check 'CHAR' field to find out if it
contains all Numeric?
From: "Tajinder Chahal" <Tchaha@Roushind.com>
Date: Thu, October 14, 2004 1:16 pm
To: sqr-users@sqrug.org
Hello Everyone,
We are on DB2 database.
I need to find out if a 'CHAR' field contains all 'Numerics' or not?
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users