List partitioning :
Using list partitioning ,you can control over the mapping of rows in the partition.
it allows different order of data and unrelated collection of rows to be grouped together very easily.
The statement below will create a list partition of table:
Code:
Create table students (student_id number(5),
Name varchar2(20),
Address varchar2(10,2),
City varchar2(20),
Fee_payment number(10,2))
Partition by list (city),
Partition north_India values (‘DELHI’,’CHANDIGARH’),
Partition east_India values (‘KOLKOTA’,’PATNA’),
Partition south_India values (‘HYDERABAD’,’BANGALORE’,’CHENNAI’),
Partition west India values (‘MUMBAI’,’GOA’);
Bookmarks