DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: Sequence Question

  1. #1
    Join Date
    Dec 2000
    Location
    Virginia, USA
    Posts
    455
    How do I create a sequence that gives me alpha numeric values. (can we do this?)

    Thanks in Advance.

  2. #2
    Join Date
    Nov 2000
    Posts
    212
    select
    chr( mod(test_seq.nextval, ascii('z')-ascii(A) )+ascii(A) )
    from dual



  3. #3
    Join Date
    Feb 2001
    Location
    Bangalore, India
    Posts
    109
    a sequence always gives a numeric value only. But when you are inserting values, you may concatenate this number with some alphabets and insert a alphanumeric string.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width