Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8745373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:59:54+00:00 2026-06-13T11:59:54+00:00

Possible Duplicate: How can I get all the information about a table in Oracle?

  • 0

Possible Duplicate:
How can I get all the information about a table in Oracle?

I need to add partitions into existing tables, we dont have production database access and we need to send sql queries to find details regarding existing partitions, I tried

desc <table-name>;

but it gives only info regarding table structure, we need table strucuture along with partition details.

Database is oracle 10g

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T11:59:55+00:00Added an answer on June 13, 2026 at 11:59 am

    get_ddl function of dbms_metadata package will give you such information:

    SQL> create table Tb_Test(
      2    id number primary key
      3  )
      4  partition by range(id)(
      5    partition part1 values less than (100),
      6    partition part2 values less than (300),
      7    partition part3 values less than (maxvalue)
      8  )
      9  ;
    
    Table created 
    
    SQL> select dbms_metadata.get_ddl('TABLE', 'TB_TEST')
      2    from dual
      3  ;
    
    DBMS_METADATA.GET_DDL('TABLE',
    --------------------------------------------------------------------------------
    
      CREATE TABLE "BUDGET2011"."TB_TEST"
       (    "ID" NUMBER,
    
         PRIMARY KEY ("ID")
    
      USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS"  ENABLE
       ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
      STORAGE(
      BUFFER_POOL DEFAULT)
      TABLESPACE "USERS"
      PARTITION BY RANGE ("ID")
     (PARTITION "PART1"  VALUES LESS THAN (100)
      PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS" NOCOMPRESS ,
     PARTITION "PART2"  VALUES LESS THAN (300)
      PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS" NOCOMPRESS ,
     PARTITION "PART3"  VALUES LESS THAN (MAXVALUE)
      PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS" NOCOMPRESS )
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: How can I get a list of all the defined variables in
Possible Duplicate: How to get all of the IDs with jQuery? How can i
Possible Duplicate: Where can I get a list of all countries/cities to populate a
Possible Duplicate: get all available fonts from google font api How we can retrieve
Possible Duplicate: Can I get the names of all the domains a Linux computer
Possible Duplicate: Where can I get a list of all countries/cities to populate a
Possible Duplicate: PHP get all arguments as array? Well, In java I can do
Possible Duplicate: Can I get all methods of a class? Is there a way
Possible Duplicate: How can I get a reference to a node directly after it
Possible Duplicate: CSS - percentage height I can't get the middle div of 3

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.