Partitioning by first digit of VARCHAR column data

  • From: Surendra.Tirumala@xxxxxx
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Thu, 26 Aug 2004 13:01:54 -0400

Hi, 

I have a table with several columns which include a NUMBER(year) and a
VARCHAR(some code) columns. The VARCHAR column has values that start with
either 1 or 2 or 3 or 4. I would like to have composite range partition key
based on YEAR and the first digit of the VARCHAR column. Is there any way I
can accomplish this? Can I use some function like SUBSTR to partition the
table based on first digit of VARCHAR column data? 

Thanks for your help. 
Surendra 
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: