Need to find a column used in the database

Hi,
I am working on oracle 10.2.0.
I need to in find out that a column say 'Name' is referenced from which all objects.
Is there is way i can do tht?

then query user_tab_columns
select * from user_tab_columns where column_name = 'NAME'Specify the column name in all upper case.

Similar Messages

  • How to find all sql ran in the database for particular time

    Hi All,
    i need to find all sql ran in the database between 7am to 9am on may 22 2012 , i can generate AWR but i think it shows only top sql but i need all sql during this time
    is any views in oracle to get this information
    Thanks

    i need to find all sql ran in the database between 7am to 9am on may 22 2012 , i can generate AWR but i think it shows only top sql but i need all sql during this time use below view to get detail.
    V$active_session_history
    dba_hist_active_sess_history

  • I need to find a working file for the Adobe Download assistant?

    i need to find a working file for the Adobe Download assistant?

    I was going to recommend Brother becasue they held OS9 support longer than just about anyone, but their current printers are now supported back to Mac OS10.3 to 10.4, depending on printer model.
    If you can do with a b/w laser, the recently discontinued HL5250DN is very nice and OS9 drivers are still up on Brother support site (just checked). We have that model networked at home and its happily serving five Macs plus any visitors who bring their own computer.
    This printer has been absolutely reliable and trouble-free. It has both USB and ethernet connectivity (I prefer the latter), does duplex (two-sided) printing, and 1200 dpi res. If you Google the model HL5250DN, you should turn up some of the model still in stock someplace.
    If you need color, I'm at a loss for a recommendation there.

  • I need 2 iphones unlocked to use in the philippines,

    I need 2 iphones unlocked to use in the philippines, I am in Tagum city. where can i get this done. Why is apple support website so very bad. It does not recognise the philippines at all. let alone a city within the country.

    Shop online...AFAIK, iPhone 5 is not officially available there, yet:
    http://store.apple.com/ph

  • How to find encrypted columns in oracle 10g database

    Hi,
    How to find encrypted columns in oracle 10g database? We can see using view dba_encrypted_columns or all_encrypted_columns .
    my question is apart from this is there anyother views or tables?
    Thanks..

    user602872 wrote:
    Hi,
    How to find encrypted columns in oracle 10g database? We can see using view dba_encrypted_columns or all_encrypted_columns .
    my question is apart from this is there anyother views or tables?Hmm not which I could find,
    SQL> select * from dict where lower(table_name) like '%encrypted%';
    TABLE_NAME
    COMMENTS
    DBA_ENCRYPTED_COLUMNS
    Encryption information on columns in the database
    ALL_ENCRYPTED_COLUMNS
    Encryption information on all accessible columns
    USER_ENCRYPTED_COLUMNS
    Encryption information on columns of tables owned by the user
    SQL>HTH
    Aman....

  • Differences in the characterset used by the database & Oracle Applications

    Hi All,
    I have encrypted one column in the database using Oracle DBMS_OBFUSCATION tool package.When the same field is viewed from the application the characters appear different from those that are there in the database and also sometimes the value is truncated from the applications.
    Could anyone please help me understand why it is happening.
    Is there any difference in the characterset used by the database & Oracle Applications ??
    Please help me ASAP.
    Thanks in Advance,
    Aush

    What I mean by the characters displayed on the form in the Oracle Applications is different from the database value is that suppose the value in the database is 8¿x¿"h the characters(part of the string) displayed in the form are different from what is present in the database.

  • How to list all the datatypes are being used in the database?

    Is there any way you can list all the oracle datatypes are being used in the database?
    Thanks,
    Chau

    Use USER_TAB_COLUMNS or DBA_TAB_COLUMNS to determing various data type but USER_TAB_COLUMNS will show you what type being used by a schema user

  • Actually in my project The middle tier was written using RMI.The Database i

    Actually in my project The middle tier was written using RMI.The Database interaction was defined in the middle
    tier itself.My problem is , the queries we post to the database should interact with XML Database which in turn should
    interact with the actual Relational Database from which the XML Database was built.
    Thanks in Advance

    Leave the phone alone and let it cool down.

  • Hiding a column used in the custom view!

    Hello! I would like to find out if there is any way to do the following: I have a view based on a table (Configuration Manager - Views).  I specified to display 4 columns to show up in the View, so that we can modify the columns without going into the Database.  In the "Default Display Expression" entry on the Info tab of the view, I've specified how these columns should be displayed on the UI. My problem:  I don't want to display the fourth column on the UI at all, but I want this column to still be accessible by administrators via the view!  Is it possible to specify somehow NOT to display this column, but still use it in the view? Thanks for the suggestions! Anya

    Hello! I've actually created a separate view just to hide this fourth column, and we will be using this for the administration (relates to your point b).  However, someone had asked not to use so many views!  Do you know of any problems if several views are being used for the same table? In our case some tables have up to 3 views already. We use this view for the Metadata field, but the Metadata field is an option list (or controlled vocabulary in our terms).  To enable more user-friendly selection, we are using DHTMLX Grid (dhtmlx.com) to display values in the View.  The grid is displaying all columns from the view, by default!  (Perhaps I need to check if I can somehow customize the Grid - however, I was hoping to do this from the View itself) Thanks!

  • How to identify clips in finder that are used in the timeline?

    Heya, this is my first post to this forum and an issue ive been struggeling with for a while...
    i am trying to archive my footage and reduce the amount of HDD space old projects are taking up. I have LOADS of footage i'm never going to use again saved in folders that i want to easily identify and get rid of. Is there any way in premier pro to 'tag' files that have been used in the timeline or even the project and then i can simply go and delete those that aren't. Similar to the feature in after effects that removes unused clips from the project (though that still leaves them on the drive).
    this would also make transcoding the correct files much easier as i currently have to identify each one individually by using the show in finder option...
    some help on this would be much appreciated
    I'm using CS5 on a macbook to edit canon DSLR footage, is there any more information that you guys need?
    Cheers
    Rich

    In the Project Panel, click the flyout menu; that's the little stack o' pancakes thing in the upper right corner of the panel. Select "Metadata Display." In the search box, type "usage"--this will reveal the Video Usage and Audio Usage metadata labels. Check those to add them, and hit OK; they'll now be added to the columns in the Project Panel. Now, you can sort on those columns to filter by usage--the unused clips won't have a number associated with that column. Select them all, and if you really want to purge them from the drive, hit Ctrl/Cmd+Delete--that will remove the media from the drive.
    If you just want to get rid of the clips, Project > Remove Unused will do that.

  • Table name input. and output i need  all rows and columns  using procedures

    hi,
    question: table name input. and output i need all rows and columns by using procedures.
    thanks,
    To All

    An example of using DBMS_SQL package to execute dynamic SQL (in this case to generate CSV data in a file)...
    As sys user:
    CREATE OR REPLACE DIRECTORY TEST_DIR AS '\tmp\myfiles'
    GRANT READ, WRITE ON DIRECTORY TEST_DIR TO myuser
    /As myuser:
    CREATE OR REPLACE PROCEDURE run_query(p_sql IN VARCHAR2
                                         ,p_dir IN VARCHAR2
                                         ,p_header_file IN VARCHAR2
                                         ,p_data_file IN VARCHAR2 := NULL) IS
      v_finaltxt  VARCHAR2(4000);
      v_v_val     VARCHAR2(4000);
      v_n_val     NUMBER;
      v_d_val     DATE;
      v_ret       NUMBER;
      c           NUMBER;
      d           NUMBER;
      col_cnt     INTEGER;
      f           BOOLEAN;
      rec_tab     DBMS_SQL.DESC_TAB;
      col_num     NUMBER;
      v_fh        UTL_FILE.FILE_TYPE;
      v_samefile  BOOLEAN := (NVL(p_data_file,p_header_file) = p_header_file);
    BEGIN
      c := DBMS_SQL.OPEN_CURSOR;
      DBMS_SQL.PARSE(c, p_sql, DBMS_SQL.NATIVE);
      d := DBMS_SQL.EXECUTE(c);
      DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab);
      FOR j in 1..col_cnt
      LOOP
        CASE rec_tab(j).col_type
          WHEN 1 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
          WHEN 2 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_n_val);
          WHEN 12 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_d_val);
        ELSE
          DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
        END CASE;
      END LOOP;
      -- This part outputs the HEADER
      v_fh := UTL_FILE.FOPEN(upper(p_dir),p_header_file,'w',32767);
      FOR j in 1..col_cnt
      LOOP
        v_finaltxt := ltrim(v_finaltxt||','||lower(rec_tab(j).col_name),',');
      END LOOP;
      --  DBMS_OUTPUT.PUT_LINE(v_finaltxt);
      UTL_FILE.PUT_LINE(v_fh, v_finaltxt);
      IF NOT v_samefile THEN
        UTL_FILE.FCLOSE(v_fh);
      END IF;
      -- This part outputs the DATA
      IF NOT v_samefile THEN
        v_fh := UTL_FILE.FOPEN(upper(p_dir),p_data_file,'w',32767);
      END IF;
      LOOP
        v_ret := DBMS_SQL.FETCH_ROWS(c);
        EXIT WHEN v_ret = 0;
        v_finaltxt := NULL;
        FOR j in 1..col_cnt
        LOOP
          CASE rec_tab(j).col_type
            WHEN 1 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_v_val);
                        v_finaltxt := ltrim(v_finaltxt||',"'||v_v_val||'"',',');
            WHEN 2 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_n_val);
                        v_finaltxt := ltrim(v_finaltxt||','||v_n_val,',');
            WHEN 12 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_d_val);
                        v_finaltxt := ltrim(v_finaltxt||','||to_char(v_d_val,'DD/MM/YYYY HH24:MI:SS'),',');
          ELSE
            v_finaltxt := ltrim(v_finaltxt||',"'||v_v_val||'"',',');
          END CASE;
        END LOOP;
      --  DBMS_OUTPUT.PUT_LINE(v_finaltxt);
        UTL_FILE.PUT_LINE(v_fh, v_finaltxt);
      END LOOP;
      UTL_FILE.FCLOSE(v_fh);
      DBMS_SQL.CLOSE_CURSOR(c);
    END;This allows for the header row and the data to be written to seperate files if required.
    e.g.
    SQL> exec run_query('select * from emp','TEST_DIR','output.txt');
    PL/SQL procedure successfully completed.Output.txt file contains:
    empno,ename,job,mgr,hiredate,sal,comm,deptno
    7369,"SMITH","CLERK",7902,17/12/1980 00:00:00,800,,20
    7499,"ALLEN","SALESMAN",7698,20/02/1981 00:00:00,1600,300,30
    7521,"WARD","SALESMAN",7698,22/02/1981 00:00:00,1250,500,30
    7566,"JONES","MANAGER",7839,02/04/1981 00:00:00,2975,,20
    7654,"MARTIN","SALESMAN",7698,28/09/1981 00:00:00,1250,1400,30
    7698,"BLAKE","MANAGER",7839,01/05/1981 00:00:00,2850,,30
    7782,"CLARK","MANAGER",7839,09/06/1981 00:00:00,2450,,10
    7788,"SCOTT","ANALYST",7566,19/04/1987 00:00:00,3000,,20
    7839,"KING","PRESIDENT",,17/11/1981 00:00:00,5000,,10
    7844,"TURNER","SALESMAN",7698,08/09/1981 00:00:00,1500,0,30
    7876,"ADAMS","CLERK",7788,23/05/1987 00:00:00,1100,,20
    7900,"JAMES","CLERK",7698,03/12/1981 00:00:00,950,,30
    7902,"FORD","ANALYST",7566,03/12/1981 00:00:00,3000,,20
    7934,"MILLER","CLERK",7782,23/01/1982 00:00:00,1300,,10The procedure allows for the header and data to go to seperate files if required. Just specifying the "header" filename will put the header and data in the one file.
    Adapt to output different datatypes and styles are required.

  • Need To Find Query Name Used In A Bookmark

    Hi,
    I have a bookmark that is not based off a web template.  It was created by running the query on the web and then saving the bookmark from there.  We have since forgotten the query technical name.  How can I find it out?
    (I have tried looking at table RSZWBOOKMARK but it doesn't have any info about the query.  And the web template id field is blank since we didn't create the bookmark that way.)
    Thanks,
    Audrey

    Audrey,
    We had a similar need recently to report on bookmarks in the BW system by user, query, InfoProvider, etc.  We ended up having a custom ABAP developed here to piece some of the information together for a report.  In our scenario, the bookmark links were actually being stored in the BW user's favorites, so it took additional linkage to go from there as well.
    You may want to look at some of the same tables we had to access here.  Try looking at data in the RSZWOBJ table -- the keys to this table would be OBJID (use the RSZWBOOKMARK-BOOKMARKID) and OBJVERS ('A').  Because of the way the data is stored with this, you may have to use ABAP code similar to the one below to get Bookmark info.  I took a few snippets of code out of a program to help show this -- here the field WS_INFOPROVIDERID is getting filled with the query name behind the bookmark.
    sample working storage below -
    DATA:
    l_s_id_objvers TYPE rszw_s_id_objvers,
    l_s_rszwobj    TYPE rszwobj,
    l_sx_bookmark  TYPE rszw_sx_bookmark,
    WS_DP_LIST     TYPE line of rszw_sx_bookmark-DP_LIST,
    WS_INFOPROVIDERID TYPE rszwobj-OBJID.
    sample logic for reading RSZWOBJ table ---
    l_s_id_objvers-objid   = <wherever you store BOOKMARKID>.
    l_s_id_objvers-objvers = 'A'.
    IMPORT bookmark = l_sx_bookmark
      FROM DATABASE RSZWOBJ(bm)
          ID l_s_id_objvers
          TO l_s_rszwobj.
    IF SY-SUBRC = 0.
      LOOP AT l_sx_bookmark-DP_LIST into WS_DP_LIST
          WHERE VALUE = 'DP'.
        WS_INFOPROVIDERID = WS_DP_LIST-NAME.
        EXIT.
      ENDLOOP.
    ENDIF.
    Hope this helps...  Jody

  • List of SA,Tables,Columns used in the reports

    Hi Experts,
    We have 5 dashboards and nearly 35 reports from different subject areas now we want to make a list in the excel which
    subject areas,tables,column names ,formulas used in that columns as been used in the particular reports.
    As we have complex reports so it is very hard to check manually is there any option to check all these.
    Thanks,

    Use catalog manager to build a report.
    Open catalog then Select folder->Tools->Create Report
    save it as .csv and open in spreadsheet
    You may have to generate rpd doc since expressions are shared in report level and also in rpd level
    Pls mark correct/helpful

  • How to find out theTables used in  the program

    hi experts,
    can any one tell what are the ways to find out the tables used in the program
    thanks in advance.

    Hello,
    Below are some tips:
    1. If custom program- SEARCH for "TABLES" or "SELECT" stmt.
    2. The full-proof way will be to activate SQL Trace. Goto tcode ST05, check SQL Trace & then activate trace.
        Execute the program. After execution is complete, deactivate trace & then display trace. You will get all the tables which are being used.
    BR,
    Suhas

  • Need to find this field UsDefTxt2 in the Transcation code DGP3

    Hello,
    Very Good Afternoon,
    Can anybody let me know where I can find this field UsDefTxt2
    in the Transaction code DGP3 also from which table data is extracted into this field.
    Any suggestions are Appreciated.
    Regards,
    Kittu

    Hi chandra,
    Is there any way that I can confirm that this is the same field.
    When we go to Tcode : DGP3 -> Enter the Material Number and press Enter
                                                -> Press Enter and then double click on any Materails listed
                                                -> It will display that particlular Materail in detail.
                                                -> Now click on the Printed Texts Tab
                                                -> Here you can find the UsDefTxt2 field.
    Any suggestions would be apprecaiated.....
    Regards,
    Kittu

Maybe you are looking for

  • Error while reading objects from a file

    Below is a short code to explain the problem i am facing i have been working on the same for past one week i am facing exceptions while reading a file containing more than one objects import java.io.BufferedInputStream; import java.io.BufferedOutputS

  • UCCX 7 Desktop Administrator Enterprise fields not showing

    We are trying to configure Enterprise fields in the Desktop Administrator , however i can only see workflows and workflow configuration but no "Enterprise Configuration", any clue ? when i open the Admin link for the Desktop Administrator, i get the

  • Itunes keeps saying it cant verify my address

    Trying to buy a song but itunes keeps saying that it cant verify my address, its the same address that i have always had, this is not a new account, it is the first purchess on this new comp, but i have already autherized it. when i click on the buy

  • Freight Costs via INVOIC01 / E1EDP05 or E1EDK05

    Hi, I've a problem to understand how E1EDP05 have to be used to post freight costs. 1) Planed freight costs I have a purchase order with planed fright cost on the position (splitted on two diffrent condition types). Which fields of E1EDP05 have to me

  • Ad-hoc wifi on 1.1.4

    Can anyone who has upgraded check if ad-hoc wifi works on it for me please? Thanks