CREATE TABLE t_cemal (t_no NUMBER NOT NULL, t_date DATE NOT NULL, t_comments VARCHAR2(100)) PARTITION BY RANGE (t_no) (PARTITION t_no4 VALUES LESS THAN (5) );But I want:
PARTITION BY RANGE (t_no) (PARTITION t_no4 VALUES EQUAL 5);What is correct syntax?
Why not create two partitions? The first partition will have all values less than 5. The second partition will...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
have all values less than 6. This second parition can only contain the value five since all values less than five will be in the other partition.
Alternatively, you can look at List Partitioning. With list partitioning, you can have the first partition contains the values "1,2,3,4" and the second partition contain the values "5".
Dig Deeper on Oracle database design and architecture
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.