Home » SQL & PL/SQL » SQL & PL/SQL » Creation of new partitions by increasing the sequence number (oracle 12C)
Creation of new partitions by increasing the sequence number [message #680415] Wed, 13 May 2020 13:38 Go to next message
chavva.kiru@gmail.com
Messages: 22
Registered: April 2012
Location: hyderabad
Junior Member
Hi,

I have a requirement in such a way that New partition to be created by increasing every sequence number.

how can i create a table by this requirement


regards,
kiran chavva

[Updated on: Wed, 13 May 2020 13:39]

Report message to a moderator

Re: Creation of new partitions by increasing the sequence number [message #680416 is a reply to message #680415] Wed, 13 May 2020 13:43 Go to previous messageGo to next message
John Watson
Messages: 8344
Registered: January 2010
Location: Global Village
Senior Member
You seem to be describing Interval Partitioning. Though it is not clear whether you want it to be list or range partitions.
Re: Creation of new partitions by increasing the sequence number [message #680418 is a reply to message #680416] Wed, 13 May 2020 13:57 Go to previous messageGo to next message
chavva.kiru@gmail.com
Messages: 22
Registered: April 2012
Location: hyderabad
Junior Member
Interval partition is time based partition
Range partition is with in range otherwise default
List is within the list otherwise default

But my requirement when ever a sequence number is increased i want to create a new partition
Re: Creation of new partitions by increasing the sequence number [message #680422 is a reply to message #680418] Wed, 13 May 2020 14:01 Go to previous messageGo to next message
John Watson
Messages: 8344
Registered: January 2010
Location: Global Village
Senior Member
chavva.kiru@gmail.com wrote on Wed, 13 May 2020 19:57
Interval partition is time based partition
Range partition is with in range otherwise default
List is within the list otherwise default

But my requirement when ever a sequence number is increased i want to create a new partition
Interval partitioning can be applied to any range partitioning structure, it is not limited to time based. List partitioning can be based on anything, including values derived from a sequence. You need to do a bit more studying before you reject suggestions for spurious reasons.
Re: Creation of new partitions by increasing the sequence number [message #680425 is a reply to message #680415] Wed, 13 May 2020 14:20 Go to previous messageGo to next message
Michel Cadot
Messages: 67363
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Michel Cadot wrote on Wed, 13 May 2020 21:19
From one of your previous topics:

Michel Cadot wrote on Tue, 22 October 2019 21:34

From your previous topics:

Michel Cadot wrote on Tue, 01 October 2019 20:09

From your previous topic:

Michel Cadot wrote on Wed, 25 September 2019 08:04

From your previous topics:

Michel Cadot wrote on Wed, 25 September 2019 08:03
Michel Cadot wrote on Thu, 06 October 2016 07:30

From your previous topic:

Michel Cadot wrote on Mon, 19 January 2015 07:22

From your previous topic:

Michel Cadot wrote on Thu, 16 August 2012 16:20
From your previous topics:

BlackSwan wrote on Wed, 11 April 2012 16:43
Please read and follow the forum guidelines, to enable us to help you:

http://www.orafaq.com/forum/t/88153/0/
BlackSwan wrote on Wed, 11 April 2012 20:29
...
READ & FOLLOW the Posting Guidelines! http://www.orafaq.com/forum/t/88153/0/
With any SQL question, Post a working Test case: create table and insert statements along with the result you want with these data then we will be able work with your table and data. Explain with words and sentences the rules that lead to this result.

Before, Please read OraFAQ Forum Guide and How to use [code] tags and make your code easier to read.
Make sure that lines of code do not exceed 80 characters when you format.
Indent the code, use code tags and align the columns in result.
Use the "Preview Message" button to verify.
Also always post your Oracle version, with 4 decimals.

Regards
Michel
In addition, Barbara helped you so much in your previous topics providing you codes and examples and you did never feedback and thank her.
Are you the kind of parasite we saw too much in these days?
Or are you a valuable person who deserves to be helped?
Re: Creation of new partitions by increasing the sequence number [message #680428 is a reply to message #680422] Wed, 13 May 2020 23:32 Go to previous message
chavva.kiru@gmail.com
Messages: 22
Registered: April 2012
Location: hyderabad
Junior Member
thanks for your help
Previous Topic: Stored Procedure - not able to display no data found message
Next Topic: Procedure creation help
Goto Forum:
  


Current Time: Fri Sep 18 03:47:51 CDT 2020