List user tables in oracle 9i database

Hi,
Im new bi to oracle database...,
Will anyone provide me the command to list the user tables in oracle 9i database.??.
im using linux redhat 4.0... and oracle 9i database....
thanks,
vasanth....

user12864080 wrote:
Hi,
Im new bi to oracle database...,
Will anyone provide me the command to list the user tables in oracle 9i database.??.
im using linux redhat 4.0... and oracle 9i database....
thanks,
vasanth....
SELECT ... FROM USER_TABLES;=================================================
Learning how to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
Go to tahiti.oracle.com.
Drill down to your product and version.
<b><i><u>BOOKMARK THIS LOCATION</u></i></b>
Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab you will find the complete documentation library.
Spend a few minutes just getting familiar with what <b><i><u>kind</u></i></b> of documentation is available there by simply browsing the titles under the "Books" tab.
Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what <b><i><u>kind</u></i></b> of information is available there.
Do the same with the SQL Reference Manual.
Do the same with the Utilities manual.
You don't have to read the above in depth. They are <b><i><u>reference</b></i></u> manuals. Just get familiar with <b><i><u>what</b></i></u> is there to <b><i><u>be</b></i></u> referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
Then set yourself a plan to dig deeper.
- Read a chapter a day from the Concepts Manual.
- Take a look in your alert log. One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them in the Reference Manual.
- Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
- When you have finished reading the Concepts Manual, do it again.
Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.
=================================

Similar Messages

  • Query to find biggest table in oracle ERP database?

    Hi
    I would like to see the biggest table in Oracle ERP database, can anybody provide me the query?
    Thanks
    Ateeq

    Hi
    Thanks. Actually, last week all of a sudden 1GB growth of database happen in one day. In our Oracle ERP instance, every user is attaching many documents to purchase orders. So our management is interested to know which table or file system directory is having this much of growth? We want to restrict the users for not uploading every document with purchase order as it will fill-up our server hard disk soon.
    Regards
    Ateeq

  • How to create a table in Oracle Lite database?

    Hi,
    I have installed SOA 10.1.3 on my laptop. Now I am trying to create a table in the database to do some own examples. I have problem in installing oracle database. So I am trying to create a table in Oracle Lite database which comes with SOA suite. I am not able to do it, can some body suggest me please?
    Regards
    Khaleel

    HI James,
    Thank you so much. I am able to create table and insert rows and able to select them too. However I am not able to use these tables in my BPEL process for my practice. The DB adapter is throwing some error, any idea?
    --khaleel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • What are MD_ tables in Oracle 12c database?  What is their purpose?

    I just set up an Oracle 12c database with the purpose of migrating an existing Oracle 11.2.0.2 database.  Our application developers are a bit confused when it comes to the schemas suddenly having MD_ tables they did not create.  Any help is appreciated.

    I just set up an Oracle 12c database with the purpose of migrating an existing Oracle 11.2.0.2 database.  Our application developers are a bit confused when it comes to the schemas suddenly having MD_ tables they did not create.  Any help is appreciated.
    Did you do this using sql developer and the migration workbench to create a repository?
    See if anything in this article rings a bell:
    http://oraexplorer.com/2008/06/oracle-sql-developer-migration-workbench/#sthash.gNFtpafS.dpbs
    Next, you will need to create a repository. An database account, which has CREATE SESSION, RESOURCE, and CREATE VIEW must be created first. Then logon into SQL Developer as that account. From the tool, create a repository from Migration menu > Repository Management > Create Repository. This process creates a bunch of MD* and MIGR* tables and packages.
    I ask because you said you 'set up an Oracle 12c database' but then implied your developers are accessing it.
    Most people experimenting with 12c create a multitenant database which has a CDB and one PDB that contains the sample schemas.
    You typically would NOT allow developers access to the CDB; that is for admin purposes only. So, hopefully, if you developers access anything it is ONLY the sample PDB or a PDB that you have created from the seed.
    Make sure you, and your developers RTFM about the new multitenant architecture or you will all get horribly confused when you try to do simple things like create users or issue grants. All of that works VERY differently in 12c.
    See chapters 17 and 18 of the Database Concepts doc
    http://docs.oracle.com/cd/E16655_01/server.121/e17633/cdbovrvw.htm
    Pay particular attention to the discussion of 'common' and 'local' users. And a hidden 'gotcha' is that the PDBs will NOT be started/opened by default when you do a 'startup' of the database. If you create common users those users will NOT be created in PDBs that are not open; so there is the potential to have to do perform a lot of manual maintenance if you need to add those users to PDBs that weren't open at the time you added the users.

  • Import a user dump into Oracle 8i Database

    Please help, I tried to import a user dump file to Oracle 8i Database by command line (imp system/manager@instance).
    However, reture a message with" imported successful with warning". And I couldn't connect the database with the new user login.
    Any advice?

    Hi,
    I
    1) export the data from your source database XE
    C:\WINDOWS\system32>exp userid=USER1@XE1 file=user1.dmp
    2) in the target XE database you would have to recreate the same user, e.g. USER1
    3) run imp on the same dump file:
    C:\WINDOWS\system32>imp userid=USER1@xe2 file=user1.dmp full=yes ignore=yes
    II
    From DOS prompt make directory
    DOS>md c:\oraclexe\tmp
    DOS>cd c:\oraclexe\app\product\10.2.0\server\BIN
    DOS>sqlplus SYS/Password AS SYSDBA
    It is posible to be SYS/Password@SID AS SYSDBA
    SQLPlus>CREATE OR REPLACE DIRECTORY XMLDIR AS 'C:\oraclexe\Tmp';
    SQLPlus>GRANT READ, WRITE ON DIRECTORY XMLDIR TO property;
    Go back to DOS prompt. There are two files - expdp.exe and impdp.exe in BIN directory.
    DOS>expdp SYS/Password AS SYSDBA SCHEMAS=property DIRECTORY=XMLDIR DUMPFILE=property.dmp LOGFILE=property.log
    From DOS prompt make directory
    DOS>md c:\oraclexe\tmp
    DOS>cd c:\oraclexe\app\product\10.2.0\server\BIN
    DOS>sqlplus SYS/Password AS SYSDBA
    It is posible to be SYS/Password@SID AS SYSDBA
    SQLPlus>ALTER SYSTEM SET NLS_LENGTH_SIMANTICS='CHAR' SCOPE=BOTH;
    SQLPlus>CREATE OR REPLACE DIRECTORY dmpdir AS 'C:\oraclexe\Tmp';
    SQLPlus>GRANT READ, WRITE ON DIRECTORY XMLDIR TO public;
    Go back to DOS prompt. There are two files - expdp.exe and impdp.exe in BIN directory.
    DOS>impdp SYS/Password AS SYSDBA SCHEMAS=property DIRECTORY=XMLDIR DUMPFILE=property.dmp LOGFILE=property.log
    There are so many treads about export and import in XE.
    Konstantin

  • Question about system catalog tables in oracle 11g database

    We have a customer issue and in order to trobleshoot that we need following information. We would really appreciate any input. I opened SR with support and they asked me to open a discussion here. Please see following.
    what is the meaning of the part# column of the sys.tabpart table and what are the possible values that can be entered into this system catalog table. Our findings are that Oracle may have varied the meaning of this column as the data that we are seeing returned is now > 2gig which does not make sense for a partition number.
    Our stored procedures use this information to retrieve information from the Oracle system tables to process a partitioned Oracle table. Our research has found that the limited description for this table (and columns) can be found in the following Oracle member at the following location:
    dpart.bsq --> ...... oracle database path... \RDMS\ADMIN folder
    The comment within this file notes the following:
    " this value is "partition number (see discussion below)"
    However, there is no additional discussion to describe what the value means and the possible variations. We need this information to move forward with our problem diagnosis and
    to see what kind of updates we need to make for our stored procedures....
    Thanks a lot in advance.
    Avni

    I ran the following....
    list expired archivelog all; - This showed all of the archivelogs that we were not able to validate...
    delete expired archivelog all; This deleted the expired archivelogs that were reported from the previous command...
    I then crosschecked the archivelogs by running the following:
    crosscheck archivelog all;
    Thank you for your help!

  • External tables in Oracle 11g database is not loading null value records

    We have upgraded our DB from Oracle 9i to 11g...
    It was noticed that data load to external tables in 9i is rejecting the records with null columns..However upgrading it to 11g,it allows the records with null values.
    Is there are way to restrict loading the records that has few coulmns that are null..
    Can you please share if this is the expected behaviour in Oracle 11g...
    Thanks.

    Data isn't really loaded to an External Table. Rather, the external table lets you query an external data source as if it were a regular database table. To not see the rows with the NULL value, simply filter those rows out with your SQL statement:
    SELECT * FROM my_external_table WHERE colX IS NOT NULL;
    HTH,
    Brian

  • Synonym required to query custom tables from Oracle Apps database

    When creating an Answers report that queries from a table owned by a custom schema (not APPS), I cannot query the table and get error. Once I add a Synonym for APPS on this table, then OBIEE works normally.
    Since OBIEE is logging in as the APPS user, are Synonyms required for all non-APPS tables/views or is there another feature of the Administrator where it can store the table alias (our typical owner of custom tables is XXFI)?

    OK, well "compare" can mean one of two things: Compare structure or compare contents. Here is a quick script to compare column structures of two tables on one database:
    (select COLUMN_NAME,
    DATA_TYPE,
    DATA_LENGTH,
    DATA_PRECISION,
    DATA_SCALE,
    NULLABLE
    from dba_Tab_columns
    where owner=:OWNR1
    and table_name = :tablename
    minus
    select COLUMN_NAME,
    DATA_TYPE,
    DATA_LENGTH,
    DATA_PRECISION,
    DATA_SCALE,
    NULLABLE
    from dba_Tab_columns
    where owner=:ownr2
    and table_name = :tablename)
    union all
    (select COLUMN_NAME,
    DATA_TYPE,
    DATA_LENGTH,
    DATA_PRECISION,
    DATA_SCALE,
    NULLABLE
    from dba_Tab_columns
    where owner=:ownr2
    and table_name = :tablename
    minus
    select COLUMN_NAME,
    DATA_TYPE,
    DATA_LENGTH,
    DATA_PRECISION,
    DATA_SCALE,
    NULLABLE
    from dba_Tab_columns
    where owner=:ownr1
    and table_name = :tablename)
    If this query returns any rows, then these indicate that there are structural differences between the tables. We do a minus in both directions to ensure that an additional column in either schema will be returned in the query.
    If you are going across dblinks to remote tables then you have to amend the "dba_tab_columns" to "sys.dba_tab_columns@yourdblink"
    If you also want to compare indexes, triggers, etc then do the same sort of thing for the associated dba_ views for those objects.
    And if you want to compare table contents, then often the fastest way is also to check minuses in both directions, if the tables are not too big:
    e.g.
    (select * from schema1.table@dblink1
    minus
    select * from schema2.table@dblink2)
    union all
    (select * from schema2.table@dblink2
    minus
    select * from schema1.table@dblink1)
    local tables, of course, simply omit the "@dblink" issues.
    There are tools to help in such things. TOAD, for example, has a pretty good schema comparison tool, and there are plenty of other options out there. But if you need to script this yourself then the logic I've shown is a good starting point.
    Cheers,
    Mike

  • Drop Down list in table with data from database table

    Hi,
    I have created an interactive form in WD ABAP.
    In Context tab I have created the nodes as follows:
    ZSOHEADER node with cardinality 1..1
    |-> MATERIAL node with cardinality 0..n. Under MATERIAL node there are 2 attrib. MAKTX and MATNR.
    I am fetching data from MARA table into an internal table IT_MARA.
    The node MATERIAL is bound to internal table IT_MARA.
    I have created a table with property ' Body rows vary depending on data ' .
    I have only one row in table. The first cell of the row is a drop down field.
    I have bind the field to the node MATERIAL->DATA->MAKTX.
    Now the issue is even though I have created only one row in my table, in preview it is creating as many rows in the table as the no.of records in the internal table.
    I want only one row with the drop down list containing all values of the internal table.
    Kindly suggest what to do.
    Regards,
    Vinod

    Hi,
    In the WebDynpro Context, in the main node create another node like A1 with cardinality 0..n and in this node create attributes TEXT and VALUE.
    Now goto method and in that method using code wizard read the node A1.
    And use the below code snippet sample in your program, i.e. code this under respective method of the webdynpro.
    *Declare the TYPES
    TYPES : BEGIN OF TY_TABLE,
    TEXT TYPE SOMETYPE,
    VALUE TYPE SOMETYPE,
    END OF TY_UOM.
    *Define Internal Table and work area.
    DATA : IT_TABLE TYPE STANDARD TABLE OF TY_TABLE INITIAL SIZE 0,
    WA_TABLE TYPE TY_TABLE.
    SELECT TEXT VALUE FROM TABLENAME INTO TABLE IT_TABLE.
    lr_node_info->bind_table( IT_TABLE ).
    And in the Adobe Form Layout
    Go to Menu of the Adobe LiveCycle Designer:
    Tools>Options..>DataBinding
    In that window you just check the Show Dynamic properties Check Box.
    Now for the Drop Down go the binding tab in object palette and click on the list items and there specify the Internal Table and specify the text as the internal table text field and value as internal table value field.
    OR
    From the WebDynpro Native Library Palette use the Value Help Drop Down and in object pallette goto binding tab and provide the form interface binding. Before this in the WebDynpro goto Context and for the particular field under the properties provide the search help as dictionary search help and specify the name of the dictionary search help.
    OR
    We have another method of setting the Text and Value to the DDL directly in the WebDynpro by coding in the methods, I dont have much knowledge on this.
    Regards
    Pradeep Goli

  • What is the SQL command to list all tables in a access database(mdb)

    hi everyone
    can anybody tell me
    how to retreive and display total number of tables or total table name
    in a particular database in jsp page
    thank you .

    I dont think you can count the number of tables, maybe you mean number of rows in a table..If so, you need to make a method in your class and query to your database. Something like this:
    String count = "SELECT COUNT(*) FROM EMPLOYEES";
    Statement stmt = con.createStatement();
    rs = stmt.executeQuery(count);
    int rsInt = rs.getInt(1);The value of rsInt will result to the number of your tables.

  • Pull User details from Oracle Table (TSS)  to OIM

    Hi
    I am learning OIM so, please excuse if this is a silly question.
    I have created a Generic Technology Connector to connect to a user table in oracle database with correct parameters and the GTC was successful. I have done the field mapping between the source table - reconcilation staging and OIM.
    Now that I want to see the sample user details that I have stored in the oracle user table from the OIM.
    I have assumed that this oracle user table is the Trusted Source System and I have to pull the data from this table to OIM.
    So, after creating the connector, what is the next step i need to do so that I see these sample users in the OIM.
    I appreciate any help / directions.
    Thanks
    Sriram

    Hi,
    You have to do following:
    1.Run the GTC schedule task.
    2.Go to reconciliation manager and see if reconciliation event is getting generated and event is getting linked.
    3.When reconciliation is finished just go to web console.Users->Manage->Search
    Please let me know if you have any follow up questions
    Regards
    Nitesh

  • Tuxedo impacting lcount in oracle user$ table on wrong login

    On every wrong login to 2-tier application, lcount in user$ table in oracle is updated by 2. If I use 3-tier application using Tuxedo then lcount is increased by 2 more than it was in 2-tier.
    Can anyone help me in understanding the behavior of Tuxedo with respect to updation of lcount in user$ table? How does Tuxedo processing impacts lcount of user$ table? Or do I need to check my application code, which might be guiding this behavior?

    Hi,
    Tuxedo doesn't directly affect any database tables. In fact, Tuxedo doesn't know what a database or database table is!
    What may be happening is if you are using XA transactions and you have an error in the OPENINFO string, when a Tuxedo server tries to participate in an XA transaction with the database, it makes XA calls to the database with the OPENINFO string. Those calls are done in addition to any database calls the Tuxedo server application code does. Does your application use XA transactions, i.e., do you have an OPENINFO string associated with the group of Tuxedo servers and the appropriate TMS built for the resource manager?
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • OS Authenticated user in Oracle XE database

    I have created a local OS user and a corresponding "externally identified" user in my Oracle XE database. I am unable to login to the database using the 'sqlplus /' command.
    Does anyone know if this is supposed to work in Oracle XE ?
    thank you.
    Guy

    In <drive>:\oraclexe\app\oracle\product\10.2.0\server\config\scripts you should have a XE.bat script. Check out the first line with oradim.exe, and create your user identified externally with the exact same name and syntax you find there. Then it should work (it worked to me).

  • How to populate custom USER table with data from Oracle Internet Directory?

    Hi all,
    We have a Users table in our internal forms application.
    I want to populate this USERS table each time users are added in Oracle Internet Directory.
    Likewise for modification and deletion.
    How to go about doing this ?
    I know that it involves Oracle Directory Provisioning Integration Service and we might have to use LDAP_NTFY plsql proc to implement this.
    Am I on the right track ? Can anyone point me to the exact steps to go about synching up the USERS table from Oracle Internet Directory ?
    Thanks,
    Sam

    To handle using DIP, refer to the Oracle Identity Manager, Application Developers Guide. That gives recommendations on the ldap-ntfy package.
    Handling the operation using OID plug-in will have performance impact on the ldap operations performed on OID.

  • Retrieve data from a large table from ORACLE 10g

    I am working with a Microsoft Visual Studio Project that requires to retrieve data from a large table from Oracle 10g database and export the data into the hard drive.
    The problem here is that I am not able to connect to the database directly because of license issue but I can use a third party API to retrieve data from the database. This API has sufficient previllege/license permission on to the database to perform retrieval of data. So, I am not able to use DTS/SSIS or other tool to import data from the database directly connecting to it.
    Here my approach is...first retrieve the data using the API into a .net DataTable and then dump the records from it into the hard drive in a specific format (might be in Excel file/ another SQL server database).
    When I try to retrieve the data from a large table having over 13 lacs records (3-4 GB) in a data table using the visual studio project, I get an Out of memory exception.
    But is there any better way to retrieve the records chunk by chunk and do the export without loosing the state of the data in the table?
    Any help on this problem will be highly appriciated.
    Thanks in advance...
    -Jahedur Rahman
    Edited by: Jahedur on May 16, 2010 11:42 PM

    Girish...Thanks for your reply...But I am sorry for the confusions. Let me explain that...
    1."export the data into another media into the hard drive."
    What does it mean by this line i.e. another media into hard drive???
    ANS: Sorry...I just want to write the data in a file or in a table in SQL server database.
    2."I am not able to connect to the database directly because of license issue"
    huh?? I never heard this question that a user is not able to connect the db because of license. What error / message you are getting?
    ANS: My company uses a 3rd party application that uses ORACLE 10g. And my compnay is licensed to use the 3rd party application (APP+Database is a package) and did not purchased ORACLE license to use directly. So I will not connect to the database directly.
    3.I am not sure which API is you are talking about, but i am running an application of the visual studio data grid or similar kind of controls; in which i can select (select query) as many rows as i needed; no issue.
    ANS: This API is provided by the 3rd party application vendor. I can pass a query to it and it returns a datatable.
    4."better way to retrieve the records chunk by chunk and do the export without loosing the state of the data in the table?"
    ANS: As I get a system error (out of memory) when I select all rows in a datatable at a time, I wanted to retrieve the data in multiple phases.
    E.g: 1 to 20,000 records in 1st phase
    20,001 to 40,000 records in 2nd phase
    40,001 to ...... records in 3nd phase
    and so on...
    Please let me know if this does not clarify your confusions... :)
    Thanks...
    -Jahedur Rahman
    Edited by: user13114507 on May 12, 2010 11:28 PM

Maybe you are looking for

  • Erratic behaviour/results using DAQmx

    Hi!, One of our PXI based automation systems is not working as expected. The errors we are observing: 1) Timed while loop hangs and is unable to read the clock source. The clock source is TTL pulse train coming from encoder and fed to Counter 0. When

  • I am unable to install Adobe Reader

    I am on a new PC, Dell Inspiron 660, 64 bit, Windows 8.1 I use only Windows Protection Programs with standard default setting (no third party products). I am able to successfully download graphics, video, and other program updates from other companie

  • If all methods are virtual, what's up with this?

    I've got two class Class A { public void foo() { System.out.println("As foo"); public void bar() { foo(); Class B extends A{ public void foo() { System.out.println("Bs foo"); Then in my main method B myB = new B(); myB.foo(); the output is "As foo".

  • License for windows but I switched to mac

    Hello, in december 2012 I bought Acrobat XI pro, Photoshop elements and Photoshop Lightroom all for windows. I now bought a MacBook Pro to replace my pc that is having huge troubles. I know that I can uninstall the suite to install it again to a new

  • HR & PP intergration-ALE/BAPIs used?

    Hi Experts, My goal is to bring HR time data (Daily work schedules) over to PP for capacity planning. SAP help says "When defining shifts within Logistics (LO), the Daily Work Schedule at Logistics Work Center interface enables you to use daily work