How to search the dictionary of data for the partitions of the interval?

Oracle 11.2.0.3

When I have a DBA_PART_TABLES request. PARTITIONING_TYPE he says "beach". I want to be able to differential an interval of other partitions of range based in the data dictionary?


used this example. Watch "range".

http://www.rittmanmead.com/2008/09/investigating-Oracle-11g-interval-partitioning/

Oracle Docs list 'SYSTEM' as a partitioning_type that I thought would be intervals.

ALL_PART_TABLES

[code]

1 CREATE TABLE interval_sales

2 (prod_id NUMBER (6))

3, cust_id NUMBER

4, time_id DATE

5, channel_id char (1)

6, promo_id NUMBER (6)

7, quantity_sold NUMBER (3)

8, amount_sold NUMBER (10.2)

9          )

10 PARTITION BY RANGE (time_id)

INTERVAL OF 11 (NUMTOYMINTERVAL (1, 'MONTH'))

12 (PARTITION p0 VALUES LESS THAN (TO_DATE (' 01/01/2005 ',' DD-MM-YYYY "")),)

13 PARTITION p1 VALUES LESS THAN (TO_DATE (' 01/01/2006 ',' DD-MM-YYYY ""));

14 p2 PARTITION VALUES LESS THAN (TO_DATE (' 07/01/2006 ',' DD-MM-YYYY ""));

15 * PARTITION p3 VALUES LESS THAN (TO_DATE (' 01/01/2007 ',' DD-MM-YYYY "")))

SQL > /.

Table created.

Elapsed time: 00:00:00.01

SQL > select partitioning_type from the user_part_tables where table_name = 'INTERVAL_SALES ';

PARTITION

---------

RANGE

[/ code]

CREATE TABLE junk1
   ( id         NUMBER )
   PARTITION BY RANGE (id)
   INTERVAL(5)
     ( PARTITION p0 VALUES LESS THAN (5),
       PARTITION p1 VALUES LESS THAN (10),
       PARTITION p2 VALUES LESS THAN (15),
       PARTITION p3 VALUES LESS THAN (20) )
/

CREATE TABLE junk2
   ( id         NUMBER )
   PARTITION BY RANGE (id)
     ( PARTITION p0 VALUES LESS THAN (5),
       PARTITION p1 VALUES LESS THAN (10),
       PARTITION p2 VALUES LESS THAN (15),
       PARTITION p3 VALUES LESS THAN (20) )
/

select owner, table_name, partitioning_type, interval
  from dba_part_tables
 where table_name in ('JUNK1', 'JUNK2')
/

TABLE_NAME OWNER PARTITIONING_TYPE INTERVAL

------------------------------ ------------------------------ ----------------- --------------------

GREGS                          JUNK1                          RANGE             5

GREGS JUNK2 RANGE

2 selected lines.

Tags: Database

Similar Questions

  • How to search the data in special characters

    Hi all

    How to recover the data, if it has some special characters.

    examples of data
     
                           NO                Name
                             1                 J-O-H-N
                              2                 J*O*H*N
                              3                  JOHN BOSCO
                             4                  JOHN   K
               
    It's like this. If I pass JOHN as keyword query should return all rows. I'm using the version of oracle 10g. Please let me know how to achieve this.



    Kind regards
    Rajasekhar

    You can also use TRANSLATE to get rid of the unwanted characters:

    SQL> with samples as (select 'J-O-H-N' c from dual union all
      2                   select 'J*O*H*N' c from dual union all
      3                   select 'J!O!H!N' c from dual union all
      4                   select 'JOHN BOSCO' c from dual union all
      5                   select 'JOHN   K' c from dual
      6                  )
      7  select *
      8  from   samples
      9  where  upper(translate(c, 'X-*','X')) like '%JOHN%';
    
    C
    ----------
    J-O-H-N
    J*O*H*N
    JOHN BOSCO
    JOHN   K
    

    Note that I added a line to your test data which failed the test voluntarily.

  • How to search the file using the keyword under Windows 7?

    I search the file with ABC as a keyword in the file name in the D: drive and would like to know how to search on Windows 7.

    Does anyone have any suggestions?

    Thanks in advance for your suggestions :>

    Maybe all you want to do is to go in drive D itself (click here to open a window for her) and access the white search in the upper right of this window, where there is a small magnifying glass showing.  To limit the search file name, you can enter:

    name: abc

    If you want to search independently incorporated between the other letters abc, enter:

    name: ~ = abc

  • How to search the discussion?

    A new look for discussions?

    Where is the search field?

    (I'm obviously not looking to see if the question was already asked.)

    The forum has been updated on the weekend and searching the forum is not available at this time. As a temporary workaround, you can use Google and search to the merger with site: communities.vmware.com everything-you-are-at the research-for example

    André

  • How to set the interval of validation after n lines when generating insert statements?

    Hello

    I'm trying to script sql insert with a few lines of million using SQL Developer 1.5.4.

    I can generate scripts insert ok, but can not see anywhere to set the interval of validation.

    In the form of preferences in respect of migration, I see that you can set the interval of validation under data move options, but I guess that's something different.

    I know we could use sql loader, but this insert is part of the deployment package that has a series of sql scripts that we run together. So I don't want to run a series of sql scripts, and then run sql loader and then go back to sql scripts.

    Am I missing something, or is it simply not possible with SQL Developer?

    Thanks in advance for your help,

    Pete

    Assuming that you create the insert using the export as Insert feature script, so no way to to do.

    However, once you have generated the SQL to insert script, it is quite easy to add a line at the top that says "set autocommit ", who will then commit automatically after the DML statements successfully . It would probably have a commit and disable autocommit at the end of the script, in the case where the following script awaits undertakes to behave differently.

    theFurryOne

  • How to create the INTERVAL partitioning using EM?

    Hi guys

    I'm still not able to use the INTERVAL partitioning using EM. Is it possible to do?

    Oracle 11 g 2 on Linux

    Thank you

    John

    Hi John,.

    I don't think it's possible, that the option of partition of the range seems to have things that make you think of it would generate the definition as the partitioning interval but it doesn't.

    I'm on 12.1.0.3 of the SGC and 12.1.0.5 DB plugin so I'm sure it's 'missing' features for the moment.

    See you soon,.

    Rich

  • Vn.3.0.17 Firefox: How to search the Internet (which I did on a daily basis) for websites containing a specified word or phrase?

    For the first time ever (after a few years of use) when I try to search for a word or an expression on the Net, I get a message (on a tab saying: "Error 403 (refused)!) 1 ") saying:"403 it's a mistake,"followed by"your client has no permission to obtain the URL", followed by a very long URLS (more than 300 characters), and finally,"it is as far as we know."! This happens for any word or phrase of entry. However, if I type a URL (for example, www.jajah.com) in the 'Search' box, I get the site without any problems.

    I have the same problem but only when the search request is displayed in the search box of Mint.
    Google in the upper right box works well, like konqueror...
    Something to do with an upgrade of mint?

  • How to search the folder hierarchy by the parties of a folder name. Is there a library similar to library bookmark folder to facilitate the Organization of record?

    How can I search by folder for the email account names and names of folder of bookmarks by keywords or parts of the name of the folder? Is there a way to enter and to associate keywords to send/benchmark folder names?

    We put all our transactions in messaging and bookmarks in a reversed under the account name and appropriate ISP user tree structure, but often end up with double taxonomic entries under multiple ISP accounts such as Roadrunner or Google-mail address for the same Windows user account and the name. Sometimes I create a same folder in both accounts. Be able to search by folder_name in all e-mail accounts in the same Windows user name would be wonderful to correct the bifurcations in taxonomy of folder name.

    What I do not right - please?

    Please - Chris

    I use the add-on for quick folder move - it has a MRU list and a box of text in which you can type a folder name, with an incremental search phase.

    https://addons.Mozilla.org/en-us/Thunderbird/addon/quick-folder-move/?src=API

    You my also find the QuickFolders useful add-on.

    I also wonder if your deposit under the ISP account is the best way to go. I would look of combining messages from accounts under local folders into an independent style of the account.

  • How to search the table with margins?

    Hello!

    I have a signal that I admire from a PXI-5600 and store it in a table. What I want to do is to find the top of the signal (which I did successfully) and then calculate the bandwidth.

    What I do now, is to take the peak value and calculate 20 dB, so I use the "search of table 1 d' but I get index - 1. My guess is that this is happening because of this doesnat table contain EXACTLY the calculated value.

    Can I search somehow in the table for the values around one calculated?  For example; If I calculated the 10.08 value I want to search all between 9, 9 - 10.1.

    so I wonder how I can trace these points whith a line between them in my diet already spectrum


  • How to search the content of the file to open a file from an application?

    For example, most of the Windows applications, if I open a file in this application, I type the exact filename for character character in order to open this file. How can I set my computer to find just what I type, whether it's the file name, or a Word document? You will notice in my picture I typed QZ04, which is actually the name of a file that is not supported, but then I tried looking for a supported file and got the same dialog box. Is this a problem with the functionality of the application or the computer has itself?

    I use a HP with Windows 7 p6325a computer if that helps. Thanks in advance

    This is the program.  The box of files of type down below is actually a display filter. If the programmer who built allows it, you can change this to "all files" instead.  But it is the one who built the program.

    But yes - you must type a name of file right here.  The person who wrote the program that you are using has not provided to you with a search box.  If they had, you would have seen this instead:

  • How to search messages in my Inbox for a specific sender?

    I tried to enter in the box "Search" at the top of the page, the name of the sender whose messages I'm looking for, but this refers to what appears to be a random selection of messages. I'm hoping that it would be possible to enter a sender name and get a list of all their messages, preferably in the order that their arrival.

    It looks like index you global could be a little messed up. Could also explain why you think that the search returns random entries.

    Menu (Alt_H) help > troubleshooting information.
    Click the display folder in the profile section.
    Close Thunderbird.
    Remove global message - db.sqlite
    Restart Thunderbird and let re-index. Search results will be non-existent at the beginning and can take 12 hours or more for all index.

  • How to search the selected text with a default search engine?

    Hello

    Before the recent update of the search bar, you can select your 'current' search engine, and a search for the selected text (right click on the selection) would use this engine.

    Now, it seems that you can only search for the selected text using the default engine. If that is correct, it's a big step backwards for me. For example, I can't have Google as my default search engine and the search for a text selected on eBay!

    Or am I missing something?

    Thank you!

    R.

    I find this extension very useful for selected items in the web pages. It offers all your search engines with select > right click.
    https://addons.Mozilla.org/en-us/Firefox/addon/context-search/?src=search

  • How to search the Forums

    Hello

    There are thousands of posts on the forums, covering a variety of topics.  Often, you can find the answers you are looking for, by searching just what was posted in the past.

    This video gives some tips and tricks that can help you find the answer to your question you are looking for.

    Good luck!

    You can find many more official HP videos on our official Support YouTube channel.

  • How to search the string when you enter?

    Hi all

    I have a search box, and I don't are populated in the list box data, data are name, ph num, identification of email, when I have my type in the search box, the list needs to be filled, example if I type the letter 'a' and select crieteria is the name, then list must fill with all the names with a letter 'a' and if I type "ab". , the list must fill out with the name that has "ab" in the string (anywhere he can have no order in name), it's very urgent please help me.

    Thank you

    Balu-

    Just Google "Flex Autocomplete" and you should find a lot of solutions

  • How to search the database of error message?

    Is there a way in a text editor or another tool to find the Essbase.mdb?
    I need to check user error messages.
    Thanks for your help!

    The best place to find error messages in the Arborpath\api\include directory. searches for a file called message.txt

Maybe you are looking for