Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to do a dynamic seq count in Roman numerals? 1

Status
Not open for further replies.

foru11

MIS
Aug 25, 2011
38
MY
Hi all,

I am using CR 10, Oracle 10g database.

I have use the Running Total to do a dynamic seqno count but it is in normal numeric form (1, 2, 3...). But user wants the seqno to be in Roman numerals form (I, II, III....). How can I do this?

Thanks in advanced for help.
 
How high do you have to go? You probably need to do a crosswalk like this:

select {#rt}
case 1 : "I"
case 2 : "II"
case 3 : "III"
case 4 : "IV"
case 5 : "V"

//etc.

-LB
 
Oh, it won't go to very high.

It works perfectly!! Thanks a lot LB.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top