Solved

Range-List Composite partitioning table

Posted on 2004-10-11
6
837 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now