Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Range-List Composite partitioning table

Posted on 2004-10-11
6
849 Views
Last Modified: 2008-01-09
I am trying to create Range-List Composite partitioning table.

I am getting the following error:

create table sales_summary
(bill_dt      char(8) not null,
inv_num            char(8) not null,
bill_year      varchar2(4),
bill_month      number(2),
trans_title_key      number(20),
sales_units      number,
sales_dollars      number,
return_units      number,
return_dollars      number)
partition by range (bill_year)
subpartition by list(bill_month)
subpartition template(
subpartition jfm values(1,2,3),
subpartition amj values(4,5,6),
subpartition jas values(7,8,9),
subpartition ond values(10,11,12))
(partition y2001 values less than('2001'),
partition y2001 values less than('2002'),
partition y2001 values less than('2003'),
partition y2001 values less than('2004'),
partition y2001 values less than('2005'));

SQL>
create table product_sales_summary
*
ERROR at line 1:
ORA-00406: COMPATIBLE parameter needs to be 9.2.0.0.0 or greater
=======================

My version of oracle is:

once i connect to oracle i get the following version displayed:

SQL*Plus: Release 8.1.6.0.0 - Production on Mon Oct 11 10:52:18 2004

(c) Copyright 1999 Oracle Corporation.  All rights reserved.


Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production

----------------------------------------------
As per the Error my version is greater than 9.2.0.0.0 but still i am not able
to create.

0
Comment
Question by:UMESHNC
  • 2
  • 2
6 Comments
 
LVL 12

Accepted Solution

by:
catchmeifuwant earned 250 total points
ID: 12274584
ORA-00406 COMPATIBLE parameter needs to be string or greater

Cause: The value of the COMPATIBLE initialization parameter is not high enough to allow the operation. Allowing the command would make the database incompatible with the release specified by the current COMPATIBLE parameter.

Action: Shut down and restart with a higher compatibility setting.
---------------------------
In your inti<sid>.ora file, check whats the value of compatible parameter?Change it to as below:

compatible='9.2.0.0.0'

0
 

Author Comment

by:UMESHNC
ID: 12274767
Great Thanks Worked..!
0
 
LVL 23

Expert Comment

by:seazodiac
ID: 12276197
UMESHNC:

please close your posts provided that you think you are offered a solution
0
 
LVL 12

Expert Comment

by:catchmeifuwant
ID: 12284076
Umeshnc - you have accepted the wrong answer !!!
0
 
LVL 23

Expert Comment

by:seazodiac
ID: 12287339
Oops! I am sure UMESHNC click wrong box...
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Query to identify changes between rows of two tables 8 55
passing parameters to sql script oracle 4 60
Problem with duplicate records in Oracle query 16 40
Procedure syntax 5 38
Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question