Viewing all Table names in my schema

I have lost track of what tables I have created in for my database. I can't find in the SQL documentation where the
command is to show all the table names in my schema.
Thanks so much
Nick

Or you can pause the output :
SQL> set pages 24 
SQL> set pause on
SQL> set pause "Press Enter " 
SQL> select * from tab;http://download-west.oracle.com/docs/cd/B10501_01/server.920/a90842/ch13.htm#1011230

Similar Messages

  • CAN NOT VIEW ALL TABLES IN MY INSTANCE/SCHEMA

    neither thru an ODBC connection in Access or thru TOAD can I see all of the tables available to me in my instance. In TOAD I can query them, if i know their names and call them in the SQL but when i go to the table view they are not there.... HELP!!!!!

    I ran a 9i RAC with hundreds of tablespaces and several hundred user objects (tables, procedures, etc.) in each tablespace (product development environment). I HAD to use roles for privileges or it was unmanageable. Access to the DB was mostly from MS Access users who didn't know how to write real SQL or use an enterprise-level reporting tool. I set up a lot of ODBC-links for people who only had privileges granted via roles, and the biggest problem wasn't the explicit grants, but not having READ access. All had a default role (and I frequently ran into the role limit issue) selected and this didn't seem to affect the selection of tables via ODBC. I strongly recommend that you check and verify that the user you are trying to connect through ODBC has READ rights on the tables in question, not just EXECUTE, REFERENCES, INSERT, UPDATE, DELETE, etc.

  • How get all table name from database

    hi master
    sir
    how get all table name from database

    The big question is 'why'.
    Selecting from view 'dba_tables' will indeed give the list of all tables in the database, but that includes the dictionary tables and the internal tables, and many others that are probably not of interet to a person who needs to ask this question. Besides, the dba_tables view requires access to a DBA account.
    There are several other views: "user_tables" will list all the tables in this user's schema; and "all_tables" will list all the tables this user can access in some way.
    The above do not, of course, include any information about synonyms, sequences, views, indexes and so on.
    The correct answer and the meaningful answer may be two different things.

  • Export all tables' name under user by informatica

    Hi,
    I have a requirement about informatica mapping,
    we want to user one mapping to export all tables' name under user,
    like sql :
    SELECT t.OWNER || '.' || t.TABLE_NAME ||
    FROM all_tables t
    WHERE t.OWNER = 'BIEBS';
    How to realize it?
    Thank you!

    Get the table all_table in source analyzer save it. While building the map choose this as ur source, modify source qualifier as select table_name,table_name from all_tables where table_name='BIEBS'.
    Once u have this, use an expression transformation to build ur expression and load it into a flat file.
    Please mark this answered or helpful if it solves your purpose.
    Rgds.

  • How to view all table of a database

    How to view all table of a database created on a oracle 9.2/10g database management system.
    How to view available tables of oracle dbms which comes by default with package.
    Thank you so much in advance!
    With Regards,
    Niks

    You posted the same question twice.
    How to view all table of a database

  • Need a query to list all table names

    I have more than 500 tables in my database.
    'insert_date' & 'update_date' columns are found in more than 100 tables with data type as date.
    I need a query to list all table names and 'insert_date' , 'update_date' column's content.
    Please Help
    Lee1212
    Message was edited by:
    LEE1212

    I have more than 500 tables in my database.
    'insert_date' & update_date column is found in more
    than 100 tables with data type as date.
    I need a query to list all table names and
    'insert_date' column's content.What do you mean by "column's content". A table can have many rows. Do you want to display all the distinct value for these columns?
    Below is the query to get the tables which has columns insert_Date and update_date
    select table_name
    from user_tab_columns
    where column_name ='INSERT_DATE'
    or column_name ='UPDATE_DATE'
    /You can write a PL/SQL block to retrive the distinct values of INSERT_DATE for these tables
    declare
    TYPE ref_cur IS REF CURSOR;
    insert_date_cur ref_cur;
    lv_insert_date DATE;
    cursor tables_list IS
    select table_name
    from user_tab_columns
    where column_name ='INSERT_DATE';
    begin
    for cur_tables in tables_list
    loop
      OPEN insert_date_cur for 'SELECT DISTINCT insert_date from '||cur_tables.table_name;
      DBMS_OUTPUT.PUT_LINE(cur_tables.table_name);
      DBMS_OUTPUT.PUT_LINE('--------------------------------');
      LOOP
      FETCH insert_date_cur into lv_insert_date;
      EXIT WHEN insert_date_cur%NOTFOUND;
      DBMS_OUTPUT.PUT_LINE(lv_insert_date);
      END LOOP;
    CLOSE insert_date_cur;
    end loop;
    end;I haven't tested this code. There might be some errors. Just posted something to start with for you.

  • Prevent user from deleting rows from all tables in his own schema

    Hi,
    How can I prevent user from deleting rows in all tables in his own schema.
    I want the user to not able to delete rows from any existing or new tables that might be added in the future.
    The user does not have the "DELETE ANY TABLE" system privilege.
    Please advise.
    Thanks.

    Nowadays, I'd also avoid triggers (if possible).
    Sometimes, when I daydream, I'm rewriting a few applications that I've contributed to as a newbie, and I'm very ashamed of it nowadays.
    From what I've experienced, in retrospective, the emphasis on teaching 'Oracle stuff' has been lying far too much on PL/SQL row-by-row oriented processing instead of letting Oracle 'crunch' sets at once.
    Most of my debugging hours ended up in discovering one or more database triggers 'doing stuff automagically'.
    Another nice blogpost: http://rwijk.blogspot.com/2007/09/database-triggers-are-evil.html
    Regarding OP's question:
    I would just rethink/reconsider this requirement completely.
    Correctly implementing privileges and roles seems the best way to go, yes.
    Triggers? Nah...
    pre-post-edit, noticed thread got updated just before posting
    Don't know what you mean with 'namedropping', but I think it's legitimate to point other readers to interesting Oracle related opinions/articles that do have a technical background and lots of interesting examples.
    post dreaded OTN outage edit (from here)
    Again: I would just rethink/reconsider this requirement completely.
    Both trigger/vpd are being used to hide a design flaw here.

  • How to view all tables and column names from a remote database

    Hey Guys,
    I have a database in a remote server. I have the db link and the schema name.. Now i want to view all the tables in the remote database with column names.. I dont have access to that database using sql developer.. But i can view some tables using the db link..Is there any way i can view all the tables with the column names?

    user10683742 wrote:
    Dont think i have DBA access..It gives the following error
    ORA-00942: table or view does not exist
    00942. 00000 - "table or view does not exist"You don't have to have 'dba' access, per se. You just have to have SELECT ALL TABLES privilege. when you use a db_link, you are connecting to the remote db with the user defined in the link, and .. on that db .. you will have the privileges of the user defined in the db link. Exactly as if you had used sqlplus to connect to that db with that user.

  • How to find out all table names which has a particular data

    Hi,
    How could i get all the table names from a database(for a schema) which has data 'KST6490' in one of the fileds in the table.There are many tables with this
    data. Data type is Varchar2. Thanks.

    One approach would be to create a procedure which retrieves the name of all tables in the schema using the user_tables view. Then use the user_tab_columns view to get all the column names and types. If the type is varchar2, then dynamically create a sql statement which runs a query on that column using the value which you are looking for. You would need two cursor loops for this approach: one for tables and one for columns. This approach requires good PL/SQL programming skills.
    Alternately, many query tools, such as Golden, provide a search capability on query results. Just do a select * from the table and search on the results. This would need to be done table by table and the results would have to fit in the memory available to the tool.
    Alternately, you can write table contents to a text file on the a server and then search the text file using operating system tools such as grep. This would require good OS scripting skills.

  • How to find the list of un used table names in a schema?

    Hi,
    I have a doubt in Oracle. The doubt is that If we are using any tables in Function Or Proc.... Then...We can list all those used table names from USER_DEPENDENCIES system table. Right...
    But, If the table is used with Execute Immediate Statement, then, those table names are not coming out with USER_DEPENDENCIES system table. Because they are identified at run time and not compile time.
    It is fine. And I agree.. But, If I want to list out those tables also...then...How to do? Any idea?
    I think ‘USER_SOURCE’ system table may not be the right one. If there is any other system table avails for this purpose...then..it would be very grateful to extract right...
    So I am wanting that exact system table.
    Please let me know about this, if you have any idea or check with your friends if they have any idea.
    Regards,
    Subramanian G

    Hi Guys,
    Thanks for all your answers.
    Yes....You are all right. We can list out the used tables upto certain extent. Anyhow, I have done some R&D to derive the SQL's which is given below:
    SELECT TABLE_NAME FROM USER_TABLES
    MINUS
    SELECT DISTINCT UPPER(REFERENCED_NAME)
    FROM user_dependencies
    where
    referenced_type='TABLE' and UPPER(NAME) in
    select distinct UPPER(object_name) from user_objects where UPPER(object_type) in
    'MATERIALIZED VIEW',
    'PACKAGE',
    'PACKAGE BODY',
    'PROCEDURE',
    'TRIGGER',
    'VIEW',
    'FUNCTION'
    UNION
    SELECT UT.TABLE_NAME FROM
    SELECT TABLE_NAME FROM USER_TABLES
    MINUS
    SELECT DISTINCT UPPER(REFERENCED_NAME)
    FROM user_dependencies
    where
    referenced_type='TABLE' and UPPER(NAME) in
    select distinct UPPER(object_name) from user_objects where UPPER(object_type) in
    'MATERIALIZED VIEW',
    'PACKAGE',
    'PACKAGE BODY',
    'PROCEDURE',
    'TRIGGER',
    'VIEW',
    'FUNCTION'
    AND REFERENCED_OWNER=(SELECT sys_context('USERENV', 'CURRENT_SCHEMA') FROM dual)
    ) UT,
    ( SELECT * FROM USER_SOURCE
    WHERE NAME IN
    ( SELECT DISTINCT NAME FROM USER_SOURCE
    WHERE TYPE NOT IN ('TYPE')
    AND
    UPPER(TEXT) LIKE '%EXECUTE IMMEDIATE%'
    ) US
    WHERE
    UPPER(US.TEXT) LIKE '%'||UPPER(UT.TABLE_NAME)||'%'
    AND
    (UPPER(US.TEXT) NOT LIKE '%--%')
    The above SQL Query can list out unused tables by checking the Dynamic SQL Statement also upto some level only.
    Once we extracted the list of unused tables, having a manual check would be also greater to verify as it is should not impact the business applications.
    Regards,
    Subramanian G

  • Finding column,table names in a schema with search data

    Hi All,
    I want to list all the columns,tables in a schema with any search value.
    Ex: Take an example of EMP table, if I search with 'MARTIN', result should be ename (column name) , emp(table name).
    Can you please help me on this regard to write a query.
    Regards,
    Rajasekhar

    SQL> set line 1000
    SQL> VAR val VARCHAR2(30)
    SQL> execute :val:='SMITH';
    PL/SQL procedure successfully completed.
    SQL> SELECT   DISTINCT
      2               SUBSTR(:val, 1, 11) "Searchword",
      3               SUBSTR(table_name, 1, 14) "Table",
      4               SUBSTR(t.COLUMN_VALUE.getstringval(), 1, 50) "Column/Value"
      5  FROM     cols,
      6               table(XMLSEQUENCE(DBMS_XMLGEN.getxmltype(   'select '
      7                                                        || column_name
      8                                                        || ' from '
      9                                                        || table_name
    10                                                       || ' where (UPPER('''
    11                                                       || :val
    12                                                       || ''')=UPPER('
    13                                                       || column_name
    14                                                       || '))').EXTRACT('ROWSET/ROW/*'))) t
    15  WHERE    table_name IN ('EMP', 'DEPT','EMPLOYEES') --limiting the table names, you can omit this.
    16  ORDER BY "Table";
    Searchword                                   Table                                                    Column/Value
    SMITH                                        EMP                                                      <ENAME>SMITH</ENAME>
    SMITH                                        EMPLOYEES                                                <LAST_NAME>Smith</LAST_NAME>

  • VIew all tables and data in MaxDB

    Is there any software that is able to view all the tables and data in the MaxDB instance?

    Hello
    Assuming, that you are looking for information about the DB's catalog, please consider the catalog functions of JDBC or ODBC.
    Surely there exists a lot of free tools, gathering the catalog via JDBC/ODBC of a database.
    Regards  Thomas

  • Table for all table names.

    Hi everybody,
    I would like to know if there is any table which is maintaining all the table names in SAP as fields.
    Any code reg this is helpfull.
    Thanks.
    Regards.
    KS
    Message was edited by:
            Sanjeev k

    Hi,
    Please try FM DDIF_FIELDINFO_GET to get all fields based on table name.
    DATA: BEGIN OF I_DFIES OCCURS 0.
            INCLUDE STRUCTURE DFIES.
    DATA: END OF I_DFIES.
    CALL FUNCTION 'DDIF_FIELDINFO_GET'
        EXPORTING
          TABNAME        = 'MARA'
        TABLES
          DFIES_TAB      = I_DFIES
        EXCEPTIONS
          NOT_FOUND      = 1
          INTERNAL_ERROR = 2
          OTHERS         = 3.
    Regards,
    Ferry Lianto

  • A need to view all tables

    A newbie question here:
    I simply would like to see all the tables in the database I am using. How can I be sure that I have them all in front of me so that I can understand better what it is I am manipulating.
    Thanks

    If you want all tables accessible to the current user that you are connected, query all_tables.
    If you want all tables in the database, query dba_tables, but you need to have privilege to select from this view.

  • SSRS Reports level how to find out All tables names & columns list to display dynamically SQL Query????

    Hi Team,
    I Have one requirement,In SSRS Reporsitory 3000 reports are available.
    My end user requirement All 3000 reports are used Table names & columns list of each wise to display single table or single result set.
    I find out all 3000 reports details are diplayed single results set like
    Report Id,Path,Dataset,Source Query Text,Datasource
    In Source Query Text  column level All reports Queries are available but I want Each Report wise Table name & columns List.If any solution Please share me.
    Regards
    Rama

    Hi Ramakoteswara,
    According your description, you want to show used tables and columns of each report, and display is into a single result set. Right?
    In this scenario, we don't know where to find a column contains the Source Query Text. With my understanding, in Reporting Services, we have Catalog table in ReportServer DataBase, it has a column called Content stores the report code (.xml). In the
    code we can find the Query and Fields. Then you need to use VB/C# code to parse each .xml code of each report and fetch out the table name and columns. We do not support writing any queries against SSRS DataBase or parsing data records in any
    table.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

Maybe you are looking for

  • Can I filter which emails are received?

    I'm only interested in getting email from a small group of people on my iPhone. IS there a best way of doing that? When I'm at home I'm fine checking all the other email I get daily. But on the smaller screen a lot of email can be harder to navigate

  • Bug: scrolling horizontally in finder

    Just upgraded to lion and I want to know if anyone else is experiencing stuttering in finder when scrolling horizontally in pane view. It seems to occur more when I'm scrolling towards the right for some reason. Basically the window starts stuttering

  • Enterprise Project Fields Default values do not Register on PDP Pages for mandatory fields

    Is it normal for "mandatory" eneterprise project field to come up as blank in a PDP page, when I have defined it to default value to a specific value in a list? I've inserted such fields using the project field web part within the PWA Category.  They

  • Disable Checkbox "Print price" in a PO

    Hi experts! I am currently printing forms correctly in my system using form MEDRUCK. At the moment it is printing the prices automatically, because in tab "Condition Control" the checkbox "Print price" is activated. Is there any way to make this chec

  • Saving IPTC in Camera Raw

    I am creating IPTC data in Photo Mechanic and using Photoshop/Camera Raw 7 to edit and color correct those images. But when I attempt to save, the resulting .jpeg images do not have the IPTC data I wrote. I know it is possible, because this was my wo