I tried that but it didn't work. Oracle is just using the first column to
determine the partition.

Prakash

-----Original Message-----
Sent: Friday, July 06, 2001 1:33 PM
To: Multiple recipients of list ORACLE-L


Can't you use a composed range key.

 --- "Bala, Prakash" <[EMAIL PROTECTED]> a
écrit : > Hello,
> 
> Oracle 8.1.7 on Sun Solaris
> 
> Scenario: We have a table where we store the
> consolidated weekly numbers on
> the number of disconnects, reconnects, transfers
> etc. Our business week is
> from Wednesday to Tuesday and so each week has a
> number assigned to it.
> Also, the week doesn't span across months. So we
> have a total of 63 weeks
> for 2001. The table stucture is as follows:
> 
>  activity_year                  number(4),
>  week_num                       number(2),
>  company_code                   varchar2(10),
>  channel_code                   varchar2(20),
>  spectrum_code                  varchar2(4),
>  subscriber_code                varchar2(6),
>  bop                            number(10),
>  initial_add                    number(10),
>  volun_disc                     number(10),
>  involun_disc                   number(10).....
> 
> I need to partition this table in such a way that
> the data for a given year
> and week number should go to a specific partition.
> Searched Metalink and
> Oracle docs but didn't get an answer.
> 
> Is there a way to accomplish this without adding a
> date column to this
> table?
> 
> TIA
> 
> Prakash
> -- 
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> -- 
> Author: Bala, Prakash
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- (858) 538-5051  FAX:
> (858) 538-5051
> San Diego, California        -- Public Internet
> access / Mailing Lists
>
--------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from).  You may
> also send the HELP command for other information
> (like subscribing). 

=====
Stéphane Paquette
DBA Oracle, consultant entrepôt de données
Oracle DBA, datawarehouse consultant
[EMAIL PROTECTED]

___________________________________________________________
Do You Yahoo!? -- Pour faire vos courses sur le Net, 
Yahoo! Shopping : http://fr.shopping.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: =?iso-8859-1?q?paquette=20stephane?=
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Bala, Prakash
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to