How to get the list of tables having index in particular tablespace

HI
can anyone help me with this
i need to display the list of tables that are having indexes in a particular tablespace(let it be A)
and the list of tables that are not having indexes in tablespace A.
thanks in advance...

user8884944 wrote:
HI
can anyone help me with this
i need to display the list of tables that are having indexes in a particular tablespace(let it be A)
and the list of tables that are not having indexes in tablespace A.
thanks in advance...Use TABLESPACE_NAME, INDEX_NAME and TABLE_NAME columns of DBA_INDEXES view
[Kamran Agayev A. |http://kamranagayev.wordpress.com] (OCP 9i/10g)
Author of the upcoming book - *"Oracle Backup & Recovery: Expert secrets for using RMAN and Data Pump"*
http://www.rampant-books.com/book_1002_rman_backup_recovery.htm

Similar Messages

  • How to get the list of tables having referential integrity connection

    Hi,
    I need to know the tables list of having foreign key relationship
    means
    I've table t1 and t2 and they have foreign key relation and t2 and t3 also having the same like i've almost 20 tables in connection...
    So please help me the script to find like above....
    Please let me know if i'm not clear

    Thank you for support and i'll try...
    And that is:
    create table log_table1
        (       theKey  int primary key,
                theKey1  int ,
                effDate date );
    create table log_table2
        (       theKey  int primary key,
                theKey1  references log_table1(theKey) ,
                effDate date );
    create table log_table3
        (       theKey  int primary key,
                theKey1  references log_table2(theKey) ,
                effDate date );     and tried the following query:
    select table_name
    from user_constraints
    where constraint_type='R'
    and r_constraint_name in
      (select constraint_name
      from all_constraints
      where constraint_type in ('P','U')
      and table_name='LOG_TABLE1');but getting
    TABLE_NAME
    LOG_TABLE2but i need to get the output LOG_TABLE2 & LOG_TABLE3 also

  • How to get the list of tables?

    How can I get the list of tables in database using SQL/PLSQL?
    Thank you.

    It depends what Data Dictionary views you have access to.
    SELECT table_name
    FROM user_tables
    will tell you all the tables in your schema.
    SELECT table_name
    FROM all_tables
    WHERE owner = 'XXX'
    will tell you all the tables that you have some kind of access to. You may be able to get similar information from
    SELECT table_name
    FROM dba_tables
    WHERE owner = 'XXX'
    Leave out the WHERE clause if you're not interested in restricting by owner
    You may need to get your DBA to grant access to ALL_TABLES and DBA_TABLES.
    Define these as (parameterised) Cursors if you want to do this work in PL/SQL. Return the results into a PL/SQL table (of xxx_tables.table_name%ROWTYPE) if you want return the list as a parameter. Bulk Collect the results into the PL/SQL table if you're using Oracle 8i.

  • How to get the list of collaboration rooms for a particular user??

    Hello Experts,
    I have a requirement to get the list of all the collaboration rooms for a given user. I have started developing the Web Dynpro application by reusing necessary jars required to the web dynpro application.
    on some action I am trying to execute the below code:
    IRooms roomsAPI = (IRooms) PortalRuntime.getRuntimeResources().getService(IRooms.PORTAL_SERVICE_ID);
    which I have got from help.sap.com
    But, there's some exception being raised and not able to retrieve the list of rooms.
    Could somebody tell me what am I doing wrong.
    Regards,
    Raghu.

    Hi,
    the below is the code that I have used to get the list of rooms. But I'm getting into the NullPointerException .
    I have added the catch block for time being, but could you please let me know the reason for NullPointerException?
    public void onActiongetRooms(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActiongetRooms(ServerEvent)
         IWDMessageManager msgMgr = wdComponentAPI.getMessageManager();
         try{
              IService service = PortalRuntime.getRuntimeResources().getService(IRooms.KM_SERVICE_ID);
              IRooms roomsAPI = (IRooms) service;
              String roomID = "00bd6231-fdca-2c10-919c-97bf74054b7d";
              IRoom room = roomsAPI.getRoom(roomID);
              String roomname = room.getName();
              msgMgr.reportSuccess(roomname);
         } catch (NullPointerException e) {
              // TODO: handle exception
              msgMgr.reportException("Null Error:"+e.getMessage(), true);
         catch (RoomInstantiationException e) {
              // TODO: handle exception
              msgMgr.reportException("Error :"+e.getMessage(), true);
        //@@end
    Any thoughts are much appreciated.
    Thanks in advance.
    Raghu

  • How to get the list of tables in a schemata

    hello. how can i get all the names of the tables in a schemata? i am using mysql. is it possible? i have written a code in jsp and it doesn't work.
    please give me an idea. thanks

    What code have you written?
    Most often java code should be written in a servlet/bean rather than in scriptlet in a JSP.
    Anyway, check out the methods in the class java.sql.DatabaseMetaData. It has a getTables() method.
    Good luck,
    evnafets

  • How to get the list of database Views modifying the DB tools list tables.vi

    Hi,
    I have a problem, I just started using LabVIEW and in particular the LabVIEW connectivity toolkit and I am lookig fgor suggestion regarding how to get the list of database Views modifying the DB tools list tables.vi...
    Thanks in advance,
    Michela

    Hi Michela,
    since the VI you want to modify is part of a Toolkit, I suggest you to copy the whole block diagram in a new VI and then save it in a new location.
    Place the DB List Tables.vi on a block diagram, double click on it and go to the tab "Window -> Show Block Diagram "
    Select "Edit -> Select All" to select the whole block diagram and select "Edit -> Copy"
    Open a new VI and select "Edit -> Paste"
    Save the new VI
    In this way you can modify everything you want without overwriting the Toolkits VIs.
    Hope this can help.
    Regards, 
    Andrea N.
    Systems Engineer ATE & RF - Mediterranean Region
    National Instruments Italy

  • How to get the list of top 10 tables grown last week or last few days

    Hi All,
    Please let me know, how to get the list of top 10 tables grown last week or last few days
    Thanks

    Please let me know, how to get the list of top 10 tables grown last week or last few days1.Oracle Version and OS info please ... ALWAYS
    2.Do you have licensing options (Tuning and/or Diagnostics Pack) ?
    3.Have you ran AWR/Statspack in last week or last few days
    1.Because Oracle do not store auto tack the history of tables growth. See below link where one user has showed the possible way of manual track of table(s) growth :
    Re: oracle tables growth
    2.MOS Note for How To Get Table Growth History Information? [ID 1395195.1]
    3.If you are in 10g than EM of 10g has something called Segmnet Statistics which can show you the growth of your table.
    4.Other clue :
    SQL> select * from table (dbms_space.object_growth_trend('SCOTT','EMP','TABLE'));
    TIMEPOINT                                                                   SPACE_USAGE SPACE_ALLOC QUALITY
    17-SEP-12 11.06.20.228000 AM                                                       1593       65536 GOOD5.A good script by Mice Ault for historical growth of segments within AWR:
    http://www.dba-oracle.com/t_table_growth_reports.htm
    Regards
    Girish Sharma

  • How to get the list of materials from Sap r/3

    Hi Experts,
    I have one doubt, here iam implementing
    HTTP TO RFC scenario.
    My doubts are------
    1. Should we create DT MT MI and all (OR) not
    2.In Request DT how the message structure wil be to get the list of materials from sap r/3 system as Response(Ex: Fields in the source structure).
    3.Or the second thing is how to get the list of materials start with some alphabate.
    Please reply me for each and every questions mentioned above. Please clarify me.
    Helpful answers wil be rewarded.
    Reagards
    khanna

    Hi Khanna,
    <i> 1. Should we create DT MT MI and all (OR) not</i>
        Yes U need to create for HTTP site...for RFC U need to import..
    <i>2.In Request DT how the message structure wil be to get the list of materials from sap r/3 system as Response(Ex: Fields in the source structure).</i>
        You create your own structres for Request and respoce.. and Map it with RFC..
    <i>3.Or the second thing is how to get the list of materials start with some alphabate.</i>
        I think it will come with acending order....
      for more help go through this link
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
    regards,
    Ansar.

  • How to get the list of users who has access for list of tcodes.

    How to get the list of users who has access for list of tcodes.

    Go to transaction SUIM, this has a number of reports for users/authorisations
    open the Where used>Autorization Values>In Users
    and double click to execute
    in authorisation object, enter S_TCODE
    then press the "Enter Values" button
    It will offer entry boxes to put the transaction code you are interesed in.
    Then execute and the list of users with access to this transaciton code will be returned.

  • How to find the list of Tables....

    Hi
    How to find the list of Tables associated with When a Goods Issue is done for a Process Order ??
    Kindly tell me step-by-step procedure in browsing it.
    cheers
    MaruthiRam

    Hi
    goto SE16 Click F4, You have two options Information system & Sap Applications.
    Click on SAP Applications & selec the application you wnat to see, for E.g Purchasing you can click on materials managemnt, Purchasing if you drill down you will see the list of tables....
    reward points if useful
    Thanks & Regards
    Kiran

  • How to get the list of active devices in current wifi network?

    Hi All,
    I am going to a start a new Network based app. So please any one give me an idea on the below question.
    How to get the list of active devices in current wifi network?

    Nope I want the log-in user to retrieve its Group where he is belong. I have this following code
    strUsername = Request.getParameter("username").toLowerCase().trim()+"@dev.test.com.ph";
    strPassword = Request.getParameter("password").toLowerCase().trim();
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, INITCTX);
    env.put(Context.PROVIDER_URL, MY_HOST);
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
    env.put(Context.SECURITY_PRINCIPAL,strUsername);
    env.put(Context.SECURITY_CREDENTIALS, strPassword);
    // enable tracing
    env.put("com.sun.naming.ldap.trace.ber", System.err);
    // Create the initial context
    DirContext initCtx = new InitialDirContext(env);
    // Get the target context
    DirContext targetCtx = (DirContext)initCtx.lookup("");
    SearchControls constraints = new SearchControls();
    constraints.setSearchScope(SearchControls.SUBTREE_SCOPE);
    // Perform the search on the target context
    NamingEnumeration enum = targetCtx.search("","(userPrincipalName="+strUsername+")",constraints);
    javax.naming.directory.Attributes attrs;
    NameClassPair item;
    String[] attrIds = new String[]{"MemberOf"};
    // For each answer found, get its "Groups" attribute
    // If relative, resolve it relative to the target context
    // If not relative, resolve it relative to the initial context
    while (enum.hasMore()) {
    item = (NameClassPair)enum.next();
    Out.println(item);
    attrs = targetCtx.getAttributes(item.getName(), attrIds);
    Out.println(attrs + "<br>");
         initCtx.close();
    It returns all this string :
    {memberof=memberOf: CN=CMCanadaRD,OU=Groups / Teams,DC=dev,DC=test,DC=com,DC=ph, CN=iMngrCanadaRW,OU=Groups / Teams,DC=dev,DC=test,DC=com,DC=ph, CN=Domain Users,CN=Users,DC=dev,DC=test,DC=com,DC=ph, CN=Backup Operators,CN=Builtin,DC=dev,DC=test,DC=com,DC=ph, CN=Administrators,CN=Builtin,DC=dev,DC=test,DC=com,DC=ph}
    How can i retrieve the Group named CMCanadaRW and CMCanadaRD on the Attribute?
    Thanks

  • How to get the list of Used Quotations & Non Used Quotations

    Hi MM Gurus,
    How to get the list of Used Quotations & Non Used Quotations.
    i am not talking about Open quotation ,closed quotation..
    if once i created PO through quotation it should be used quotation. i not created PO through quotation
    it s should be Non used quotation. how to get this list through when we create PO  through ME21N
    document over view. is there any opetion in Dynamic selection or somthing ..???
    Thanks in Advance..
    Anthyodaya.

    ok.

  • How to get the list of  Quotations...???

    Hi MM Gurus,
    How to get the list of Used Quotations & Non Used Quotations.
    i am not talking about Open quotation ,closed quotation..
    if once i created PO through quotation it should be used quotation. i not created PO through quotation
    it s should be Non used quotation. how to get this list through when we create PO through ME21N
    document over view. is there any opetion in Dynamic selection or somthing ..???
    Thanks in Advance..
    Anthyodaya.

    Hi Shailesh,
    Thanks for the mail...
    but the problem is different. ...i wanted a list of used quotations and not used quotations saparate list.
    because we have same vendor for same material different price .
    so when we create PO we should use Quotation only one time.
    poen RFQ and closed RFQ is different .i means RFQ not at maintained in ME47. not at received the price from vendor or not at enterd the price. ... so that is different..
    if the non used quotation will display in ME21N  document overview it should be very usefull...
    Thanks in advance.
    Anthyodaya.

  • How to get the list of component?

        How to get the list of component through java API in Adobe CQ5?

    There are probably more than a few ways, but here is a little component .jsp code that uses the jcr query api to pull out all the components and list them on a page.  If I know CQ, there might be a way to ask for a list of components another way though, maybe through another API, or possibly a .json url, I might remember reading something about that, somewhere, lol, but this at least gets you the list in a somewhat simple way.
    Code Example:
    <%@include file="/apps/psul/components/global.jsp"%>
    <%@ page import="javax.jcr.*,
                       javax.jcr.query.*"
    %>
    <%
       // Login to create an anonymous session on the default workspace
       Session session = resourceResolver.adaptTo(Session.class);
           //Declare a query for all the components in the system
           String SQL = "select * from cq:Component";
    //side note: if you want just the components in your site area, then make the query more like below...
    //  SQL = "select * from cq:Component where jcr:path like '/apps/yoursitename/%'";
           QueryManager qm = session.getWorkspace().getQueryManager();
           Query query = qm.createQuery(SQL, Query.SQL);
           QueryResult result = query.execute();
           NodeIterator nodes = result.getNodes();
           while (nodes.hasNext()) {
               Node node = (Node)nodes.next();
               %>
                    <p><%=node.getName() %> (<b><%=node.getPath() %></b>)</p>
    <%     } %>

  • How to get the list of documents

    Hi everyone
    Can anyone help me How to get the list of documents residing in a folder of KM repository of SAP Netweaver using a simple java program
    Thanks in ADV.
    Rupesh Khemka

    Hi Rupesh,
    I have written the code for you and it works with WebDynpro, no seperate java program is required.
    Just try to paste it in your application code and run it.
    try{
         // Will check the user athentication for EP
                    IWDClientUser wdClientUser = WDClientUser.getCurrentUser();
         IUser sapUser = wdClientUser.getSAPUser(); 
         com.sapportals.portal.security.usermanagement.IUser ep5User = WPUMFactory.getUserFactory().getEP5User(sapUser);
         ResourceContext context = new ResourceContext(ep5User);
                    // The path in which your folder resides
         RID rid1 =RID.getRID("/documents/Public Documents/SCAP/");
         IResourceFactory factory1 = ResourceFactory.getInstance();
         ICollection icollection = (ICollection)factory1.getResource(rid1, context);
         IResourceList resourcelist = icollection.getChildren();
         int size1 = resourcelist.size();
         for(int s=0; s<listOfDocuments.getLength(); s++){
              IResource resource = resourcelist.get(i);
              InputStream input = new InputStream();
              input = resource.getContent().getInputStream();
    }catch(Exception e){
         e.getMessage();
    Once you get the InputStream everything else is possible....
    This will surely help you in reading the documents from KM.
    Regards,
    Rekha Malavathu

Maybe you are looking for

  • Running Java/J2EE application On SAP Netweaver

    Hi All, I am a java/J2ee professional who is relatively new to SAP Netweaver studio. I have developed an application which consists of Core java,JSP and Servlets. Can anybody suggest me as to how to deploy this application on SAP Netweaver and how to

  • Concept Question : Migrate SQL Models

    Hi Oracle SQL Data Modeler users. I have a question. How, if it at all, do you migrate a Database from Version 1 of the model to version 2? e.g. I've created the tutorial for a library. (Patrons; transactions; books). Now I've generated the DDL and i

  • Screen sharing stops after a few seconds of sound

    I am struggling to resolve this. And I thought I was good at this. I can do a video chat without incident. Quicktime streaming is set to 1.5M Bandwidth is set to none Screen sharing is allowed in sharing prefs I have tried all configurations in the p

  • Don't allow Goods Receipt with quantity zero in EBP

    Hi If  a Goods Receipt is confirmed with the quantity zero and the "Last Delivery" flag is set in EBP, iin the R / 3 there will be also created a Goods Receipt with the quantity zero. Later It is not possible to delete or cancel it in R/3. In order t

  • Mountain Lion, Time Machine and How Best to set up an external HD?

    Hello, I'm just about to upgrade to Mountain Lion. (2011 MBP running Lion).  Before I do that I would like to back up with Time Machine.  My question is how best to set up the external HD before I back up and then upgrade. The hard drive is brand new