[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
RE: [sqr-users] Number to Character
- Subject: RE: [sqr-users] Number to Character
- From: "Don Duwe" <dduwe@nookind.com>
- Date: Wed, 4 Oct 2006 11:11:16 -0400
- Delivery-date: Wed, 04 Oct 2006 11:15:17 -0400
- Importance: Normal
- In-reply-to: <s523a206.024@mailhost.vac-acc.gc.ca>
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
MOVE ?? TO $?? 999
-----Original Message-----
From: sqr-users-bounces+dduwe=nookind.com@sqrug.org
[mailto:sqr-users-bounces+dduwe=nookind.com@sqrug.org]On Behalf Of
PeterG Clark
Sent: Wednesday, October 04, 2006 10:58 AM
To: sqr-users@sqrug.org
Subject: [sqr-users] Number to Character
Hi folks,
Normally, this would be the sort of thing I would like to play with until I
got it working, but I am pressed for time and turning to the tremendous
knowledge base on this list :-)
I have a Number(25) field on a table (Oracle) that I know will never contain
more than three significant digits (i.e. 999) and I need to get it into a 3
character field on a flatfile ... i.e. if the column contains 7, I need to
put 007 in the flatfile field, if it contains 29, I need 029 to be in the
flatfile field, 0 needs to be 000, 567 needs to be 567, etc.
Anything I've tried with edits, to_char's, pads and trims isn't working ...
or at least I am not hitting the right combination.
Thanks in advance.
_______________________________________________
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