name of the table of registered name

Hi experts,
I have a field name. I have hundreds of tables in
my database. Can you please tell me how I can retrieve the name of the table of the domain name.

Concerning
Rajat

Hello

Try:

SELECT table_name
  FROM ALL_TAB_COLUMNS
 WHERE column_name = 'col_name';

Tags: Database

Similar Questions

  • Name of the table from DBA_EXTENTS

    Hi Experts,

    Can you please help me how to find the name of table to dba_extents.

    To be very clear on this point, if any block has been corrupted and we want to know what is the table or any other object resides on that block for that we move the object.

    I saw that in metalink long back about the name of the table from the block id dba_extents now am unable to get it again.

    I know that you guys will be experienced on that. So I need you guys help on that.

    Kind regards
    Siraj.

    A data file contains several extensions. A measure is made up of several blocks. It would be silly to Oracle to keep a register in dba_extents/dba_free_space for each block. A line from dba_extents/dba_free_space represents a group of blocks from BLOCK_ID and extending to BLOCK_ID + BLOCKS-1. (The line also follows the number of blocks (column) to the extent because you can have different sizes in a tablespace extensions - for example if the allocation is MANUAL or AUTOALLOCATE).

    That's why, for example,
    If a data file of 1000 blocks consists of two degrees and a free space (representing, say, a table that has been created but has been abandoned) it could be
    file 25: measure 1: used for table A: from block 64, or 8 blocks (8 KB): FILE_ID = 25, BLOCK_ID = 64 BLOCKS = 8
    file 25: measure 2: OPEN SPACE: from block 72, 896 blocks (8 KB each):-would be seen in DBA_FREE_SPACE, not in DBA_EXTENTS.
    file 25: measure 3: used for table B: from 968 to 32 blocks block (8 KB each): FILE_ID = 25, BLOCK_ID = 968, BLOCKS = 32

    So, say, block number 102 in this data file (25) is actually in the OPEN SPACE and will not appear in a query DBA_EXTENTS
    However, say, block 980 is corrupt. It seems able to 3 when you query for 980 between 968 and 968 + 32 - 1

    Hemant K Collette
    http://hemantoracledba.blogspot.com

  • Impossible to change the name of the Table in figures

    I'm unable to change the title of a table, when I change the title name and press on enter it reverts to the original title. I tried to click away and save the document, but both go back to the original title. The only way to work is, it seems if the option a table a few times then start trying a new title.

    This can happen when you have a table with the same name on the same sheet.  Numbers of refuses to accept the name "double".  Check the names of the tables on the al sheet again.  One way to do that is to click the right part of the tab "" at the top with the sheet and inspect the table names in the drop-down menu that appears.

    SG

  • The name of the Table may be 2 lines

    Can the name of the Table "numbers be 2 lines?

    I don't seem to be able to make a table name two lines.  You can use a box of text instead, while hiding the name of the table:

    Disable the table name in the Table formatter (lower-right)

    Add a text box

  • Build the name of guard of the table of the last element, but not the others. Workaround solution?

    Hello

    Sorry if this has been posted before, I did the search first, but can't find anything.

    Problem is that I have two configurations which are identical and must be ordered by a single vi. Given that they are the same, they are configured with the same sets of parameters so I decided to create a cluster of these and then build an array of clusters. In this way I need to use only a thread and if I need a given parameter I can get it easily from here (or so I thought) and also because I need to see if anything changes I can compare a thread instead of each of the parameters.

    The gui has the list of parameters, then in the block diagram I group them appropiately, using "Bundle name" and then each bundle in a table by using "build the table. Problem is when I have the index in the array for the first place of the configuration and usage to unbundle the parameters I need, using "ungroup by name" (although if I use "Unbundle" the same thing happens) and lo and behol, the output names come from the configuration of the second, not the first.

    Here's the curious thing, though, even if the names are all wrong, that the values are correct. I could live with that, but it's more boring it will be another very difficult user to understand the schema more this is just a proof of principle to test with two, eventually there will be eight or more and who's going to get really confusing.

    Is there a way to get around this? Even if it is to change the names after unbundling.

    Check the attached vi to see what I mean.

    I think you forget an important point on the tables.  The only thing that may be different between each element of a table is its value.  The elements in the array must all share the same properties.  This would therefore include the names of the different elements that make up the cluster that is a table element.

    It seems that the last group that builds in the table is the one that defines the names of the items that are in the element of the cluster.  You must give all elements of the array with the same name within the cluster.  Or use a cluster of clusters rather than a table of cluster to create your data structure.

  • Name of the dynamic property of object in the table based on the value of a variable

    I have two paintings of custom class objects

    var obj1:Object1
    var obj2:Object2
    
    var array1:Array = [obj1[0], obj1[1], ...]
    var array2:Array = [obj2[0], obj2[1], ...]
    

    Object1 has a property named. Name while Object2 has a property named. Title.

    Now I have a common function including cab accepts an array (array1 or array2) and the name of property the object ("Name" or "Title") as input and needs to access this name of the property of the objects in the array:

    function myFunction(arr:Array, fieldName:String)
    {
        arr[0].fieldName  = "xxx";
    }
    

    the problem I have this achievement does not because the code in the function assumes that the property of that object in the table is actually a string "fieldName" while I want to dynamically determine the names of the fields based on the value of this variable, but cannot understand the syntax to do!

    Don't know if I'm clear - hope that makes sense... ;-) Thank you

    Hey p3pp3r,

    I think I understood you. Try the following and see if you get good results:

    function myFunction(arr:Array, fieldName:String)
    {
        arr[0][fieldName]  = "xxx";
    }
    

    Let me know how it turns out. Good luck!

  • User name is not filled are in the table of user tracking.

    Hi all

    I use LMS 4.2 I activated the user tracking and I get the ip address, MAC address, host name in the table of user tracking. But enter username in the user tracking is not be filled. I even enabled get the username by guests in the areas of host NTS and ND in the acquisition of user tracking settings.

    Is there something else I have to configure in LMS in order to get the names of users in tracking user table?

    any comments will be appreciated,

    Thanks in advance,

    Rgds,

    Selva

    You must utility utility that integrates with LMS with AD to feed it with user names. Utility is a utility that allows to collect the usernames of PDCs Active Directory and Novell servers.

    To do this, you need to install utility in main domain controllers Windows and Novell servers. You can also install utility in an Active Directory server.

    For more details, see:

    http://www.Cisco.com/en/us/docs/net_mgmt/ciscoworks_lan_management_solution/4.2/user/guide/Admin/ut_du.html#wp1187865

    -Thank you

  • Apex 5.0.2 error when changing the table name in the treatment of automatic line of process (process row)

    Hello

    I need a little help...

    For some reason, I have to change the underlying table for a treatment of automatic process (process Row) line (form).

    Although such a change is possible in the designer of the page (under "settings") Apex does not recognize the new name of the table, but seem to rather use the name of the original table "old."

    Pretty strange (new/modified) (the new table columns) are (correctly) error message.

    For example, the 'old' is: TABLE_1 and TABLE_2 new.

    TABLE_2 has a new COLUMN_NEW column (and corresponding P1234_COLUMN_NEW page element exists)

    Then the error message says something like: not found COLUMN_NEW column in TABLE_1. Althougt I changed the table to be TABLE_2.

    Maybe it's a bug or I do something wrong about this?

    Thank you in advance!

    André

    OK, just to get some - you changed the name of the table twice:

    -Rendering of section--> Page1234: Pagename--> pre-rendering--> after the header--> process of--> line from TABLE_2

    -Treatment article--> treatment--> process--> process of line from TABLE_2

    I thought, that always seek you the line of TABLE_1

    Christian

  • What is the name of the table that has the name of the custom in the Oracle database Section?

    What is the name of the table that has the name of the custom in the Oracle database Section?

    Thank you

    Nefertari

    The names of the custom Sections are stored in commonExtendedAttributeML, the extended attribute table.

  • table col name get the details of the table column and inserting of values depending on the data type of the column

    Hello

    I am train to write a procedure where I would spend the table as a parameter name and then the code would determine it is column names, and then he would insert records in each column depending on the data type. could someone help me with this.

    Thank you

    SM

    Hello

    Perhaps you need to dummy data just for the table.

    Here is my exercise

    create or replace
    procedure generate_rows(p_table_name varchar2, p_count number)
    is
      --
      function insert_statement(p_table_name varchar2) return clob
      is
        l_columns clob;
        l_expressions clob;
        l_sql clob default
          'insert into p_table_name (l_columns) select l_expressions from dual connect by level <= :p_count';
      begin
        select
          -- l_columns
          listagg(lower(column_name), ',') within group (order by column_id),
          -- l_expressions
          listagg(
            case
            when data_type = 'DATE'
              then  'sysdate'
            when data_type like 'TIMESTAMP%'
              then  'systimestamp'
            when data_type = 'NUMBER'
              then  replace('dbms_random.value(1,max)',
                      'max', nvl(data_precision - data_scale, data_length)
                    )
            when data_type = 'VARCHAR2'
              then  replace(q'|dbms_random.string('a',data_length)|',
                      'data_length', data_length
                    )
            else
                    'NULL'
            end, ',') within group (order by column_id)
        into
          l_columns,
          l_expressions
        from user_tab_columns
        where table_name = upper(p_table_name);
        --
        l_sql := replace(replace(replace(l_sql,
          'p_table_name', p_table_name),
          'l_columns', l_columns),
          'l_expressions', l_expressions);
        -- debug
        dbms_output.put_line(l_sql);
        --
        return l_sql;
      end;
    begin
      execute immediate insert_statement(p_table_name) using p_count;
    end;
    /
    
    -- test
    create table mytable(
      id number(4,0),
      txt varchar2(10),
      tstz timestamp with time zone,
      dt date,
      xml clob
    )
    ;
    set serveroutput on
    exec generate_rows('mytable', 10);
    select id, txt from mytable
    ;
    drop procedure generate_rows
    ;
    drop table mytable purge
    ;
    
    Procedure GENERATE_ROWS compiled
    Table MYTABLE created.
    PL/SQL procedure successfully completed.
    
    insert into mytable (id,txt,tstz,dt,xml) select dbms_random.value(1,4),dbms_random.string('a',10),systimestamp,sysdate,NULL from dual connect by level <= :p_count
            ID TXT
    ---------- ----------
             3 WnSbyiZRkC
             2 UddzkhktLf
             1 zwfWigHxUp
             2 VlUMPHHotN
             3 adGCKDeokj
             3 CKAHGfuHAY
             2 pqsHrVeHwF
             3 FypZMVshxs
             3 WtbsJPHMDC
             3 TlxYoKbuWp
    
    10 rows selected
    
    Procedure GENERATE_ROWS dropped.
    Table MYTABLE dropped.
    

    and here is the vision of Tom Kyte for the same https://asktom.oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:2151576678914

    Edit: to improve my code, it must use p_count as bind as Tom.

  • Using the name of the table to Insert variable

    Hello

    I'm trying to use a variable as the name of table to do an insert.

    The name of the table where my datas have to be inserted is EVV_ + the Ref_var of data.

    My code will be more explicit:

    SELECT 'EVV_ ' | Ref_Equip

    IN v_Ref_Equip

    OF user.c_equip

    WHERE clef_equip = v_clef_equip;

    INSERT INTO 'user '. || v_Ref_Equip (Clef_var, Date1, value)

    VALUES (v_clef_var, 18 May 01 ', 49, 156');

    I can't find the proper syntax for inclusion in. I tried a lot of syntax, but not good.

    So, how can I concatenate 'user.' + my v_Ref_Equip variable?

    Thanks for the help

    Have a look at this immediate execution method

    SQL> set serveroutput on;
    SQL> declare
      2  v_tab_name varchar2(20) := 'temp';
      3  begin
      4      execute immediate 'create table temp(id number)';
      5      execute immediate 'insert into '||v_tab_name||' values (1)';
      6      commit;
      7  end;
      8  /
    
    PL/SQL procedure successfully completed.
    
    SQL> select * from temp;
    
            ID
    ----------
             1
    
    SQL>
    
  • Dynamically read the table name in the query update

    Hi all

    I am trying to run the updated sql query where the name of the table should be read dynamically from another table below.

    Please let me what wrong with my request.

    setting a day (select CONCAT('T',schemaid) from outline, which the name = 'Analyzer') set c7 = 99;

    "outline" is a table that contains two columns name and schemaid.

    all the table created in our database with the prefix 't' T4345 for example.

    I did as suggested by you

    No, you didn't.  I did not any package creation code in my example, in order to better that you you point the finger.

    Your syntax is invalid for creating a package with the code like this, please read on creating packages and procedures within them if that's what you want to do.

    In addition, your package creation statement is to create a package specification, but you put in the code which must be in a package body, not a notebook loads.

    It should be something like (untested since I don't have your tables)...

    create or replace package my_packg as
    procedure dowhatever.
    end;
    /

    create or replace package body my_packg as
    dowhatever procedure is
    TBL varchar2 (30);
    Start
    Select 't' | SchemaId
    in tbl
    of outline
    where name = 'Analyzer ';
    run immediately 'Update'. "TBL |' set c7 = 99;
    end;
    end my_packg;
    /

    and then call this procedure by calling my_packg.dowhatever ();

  • the table in a schema names

    Hi all

    How all the tables in a particular schema? If I have a query ALL_TABLES, giving all the tables on the system, but I want tables under a particular scheme (for example the FACTS) only.

    understand where owner = schema name

  • name of the table in the EM repository to return the State of the database

    Hi, I would like to know the name of the table in MS repository on which I can query for the status of the database. I've tired to search in the target of $ mgmt and did not find the status of the db

    Please take a look at the AVAILABILITY_CURRENT view of $ MGMT.

    http://docs.Oracle.com/CD/E24628_01/doc.121/e57277/ch19_monview.htm#EMVWS12346

    Kind regards

    -Loc

  • How to find all the table names in all modules in EBS R12?

    How to find all the table names of all the modules in EBS R12?

    In addition, you can go to http://etrm.oracle.com, you select the version of the EBS, select "FND Data" or "S/n data", select the Type of the object TABLE and you will get all the tables of EBS in module.

Maybe you are looking for

  • XP accepting does not my password as an administrator - no password rest disk

    Hello I am the administrator for my son's laptop. After discovering that he had managed to change the parental control set, I had to choose a new password! However, the laptop is not recognizing this password, or any other obviously similar (that I t

  • Epson CX6000 Scanner does not install

      I tried to install the scanner and I have this error message.  The printer is installed correctly and works fine.  The scanner works fine with my XP laptop and I also cancelled the driver to use XP with no luck. My computer is a Dell XPS 410 with W

  • problems puts provider

    Mijn provider, second first ik net contact had, zegt dat went in order. Zelf ik via mijn our squeeze portable information die het muscles tegendeel; ER is geen our setting, geen setting puts internet, verkeerd aangesloten draden, etc... IK kan wel in

  • Reorginize the Start Menu in Windows 7

    I'm trying to reorginize the Start Menu.  In previous versions of Windows, I could go into my computer and find the startup folder and move the content how ever I wanted. I tried on Windows 7 and I can't find the startup folder. She was renamed or hi

  • Save a version of a design using a snapshot error

    When I try and save a snapshot by using the file Menu, choose the option to snapshot, the new option is grayed out. My BP is in draft mode and I'm introduced in Admin mode.We are currently using version 10.0.4.0 (b-09252014-01).