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.

Similar Messages

  • 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

  • How to find out the table name

    hi,
    how to find out the table name in which the data from a particular structure in a particular screen is saved,
    please tell me the procedure to find out the table name for saving the structure data that is inputted at runtime.
    Thanks,
    chinnu

    Hi Chinnu,
    Below are the tables that are referred to find out the table names
    DD02L Table contains the SAP Tables.
    DD02T Table contains the SAP Table Texts.
    DD01L Table contains the Domains
    DD01T Table contains the Domain Texts.
    DD03L Table contains the Table Fields.
    DD03T Table contains the Table Field Texts. (Language Dependent)
    DD04L Table contains the Data Elements.
    DD04T Table contains the Data Element Texts.
    DD05s Table contains the Foreign Key Fields
    last words with L and T only. L->Database Fetch T-> Text
    And the procedure to retrive the table name is as follows
    1. Go to se11
    2. Enter table name DD03T and execute
    3. In the next screen you can find Tables, fields, test etc. there you can enter the field name in the fields 
      and execute.
    4. you can get all tables which contains the field.
    I hope this will solve your problem
    Regards,
    Chandru

  • How to find out the table names related to fields of Transactions

    Hi All,
       My Task is to extract the data from diff tables whose names i need to find out . I was given with the transactions like Me31k,Me32k,Migo,Miro etc. Can anyone Plz suggest me on how to do this apart from debugging the transaction or runnig the SQl Tracer .

    <b>Go to SE93-> give ->msc3n double click program -> in top include you`ll find the tables OR search key word "tables" in program .</b></u>FYI
    tables: dfbatch, " Dynprofelder
    bncom, " allg. Kommunikationsstruktur
    mtcom, " Kommunikations-WA Mat.stamm
    makt, " Materialkurztexte
    mbew, "#EC NEEDED
    t001w, " Werke
    t001l, " Lagerorte
    mara, " Konzerndaten zum Material
    marc, " Werksdaten zum Material
    mard, " Lagerortdaten zum Material
    mch1, " Chargendaten
    mcha, " Chargendaten werksbezogen
    mchb, " Chargenbestände
    mchx, " Bewert.arten zu werksübergr. Ch
    mchuwl, " Arbeitsvorrat Charge Benutzer
    thead, " SAPscript: Text-Header
    cdhdr, " Header Änderungsbelege
    cdshw, " Positionen Änderungsbeleg
    t148g, " Feldauswahl Sonderbestände
    t148zt, " Texttabelle Zustandsschlüssel
    t149c, " globale Bewertungstypen
    t005u, " Provinzschlüssel Texte
    t005t, " Bezeichnung der Länder
    tvfmt, " Materialgruppe Export Bezeichn.
    bwtty, " Bewertungstyp
    rmclm, " E/A Felder Klassifizierung
    inob, " Umschlüsselung Klassif.objekt
    kssk, " Zuordnung Objekt <-> Klasse
    klah, " Kopfdaten Klassen
    t134, " Materialarten
    prdkzt, " Texte zum Periodenkennzeichen
    *prdkzt. "#EC NEEDED
    Hope this’ll give you idea!!
    P.S award the points.
    Good luck
    Thanks
    navjot

  • How to find out all users accessing a schema

    Hi,
    How can I find out all the users which has accessed a schema for the last 30 days? Auditing is not enabled in the database.
    DB:10.2.0.4
    OS:AIX

    user13364377 wrote:
    Thanks Antonio.
    Is it possible to find all the users which have access to the schema?Do you mean OS users access .. ?
    Because from v$session we can find users sessions information, if thats what you mean.

  • How to find out updated table?

    HI all,
    I want to know the tables in which any field data is updated. For e.g. if i enter a name of a product i want to know all the tables in which this name is updated . How do i do that?
    Regards,
    Madhu.

    Hi Madhu,
    Do the following steps in order to find out the table in which the field data was updated:
    - Place your cursor in the field for ex. while creating product place your cursor on Material Name and then press F1.
    - You will be getting a Performance Assistant screen giving some details about that field for ex. Product ID. On the top of the screen in the toolbar there is a button called technical information (fourth from left), once you press that you will be getting all the technical information.
    - Here you will be getting the Database Table Name, Field Name, Data Element where the entry was updated. for ex., COMM_PRODUCT (Table Name), PRODUCT_ID (Field Name), COMM_PRODUCT_ID (Data Element) etc.,
    Wish this information was useful to you
    regards
    Srikantan

  • Transaction IW32.How to find out the person name.(Last changed By)

    Hi all,
    When i executed the transaction IW32.Its displays changed by and created by fields. please any body can tell me how to find out the person  name who had made last change with respect to the field changed by.
    Please tell me the table and field name for the field last changed by......
    Regards,
    Munna.

    hi,
    check the table AUFK field AENAM for the order number(AUFNR) in IW32..........

  • Query to find out the table name and column name..

    Hi Experts,
    I have an Oracle DB in which has more than 50 tables and 100,000 records. I want to get the record which contains *"ITxtVarValue references a non existing text"* the text.
    Is there any query there to find out the table name and column name of this particular record where it reside?
    Please help. Any help will be rewarded.
    Thanks,
    G

    Using this forum's search function, I found a thread that should give you an idea: How to find out a tablename
    C.

  • How to find out all user exits edited

    Hi All,
    Would you know how to find out all user exits have been ever edited?
    Can we find out those user exit by some tcode or table?
    Thank you very much
    Best Regards,
    Calvin
    Edited by: Sam Sum on Mar 2, 2009 5:09 AM

    Hi,
    Just try this in your system.
    Go to SE38 and give ZX* and press F4.
    Have a look at table MODATTR to find the active projects in your system.
    Regards
    Edited by: Rajvansh Ravi on Mar 2, 2009 5:17 AM

  • How to find out the tables from extract structures

    Hi All,
    As I know my data sources are 2lis_04_p_matnr,2lis_04_p_comp,2lis_04_p_arbpl.
    How to find out the tables concerned with the fields in the extract structure.
    Thanks

    Pl check this link:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/29/79eb3cad744026e10000000a11405a/frameset.htm
    OR navigate to: help.sap.com - netweaver - bi content - supply chain - look for your application area and the extractor and you will see the source tables and fields.
    Ravi Thothadri

  • How to find out the tables related to CRM datasources?

    How to find out the tables related to CRM datasources? For example, the table related to 0CRM_OPPT_H.
    Regards,
    R.Ravi

    Hi Ravi,
    To find out all tables used go into the CRM source system to transaction RSA3 and prepare the selections for extraction of your datasource.
    In a parallel session execute transaction ST05 and press the button 'Activate Trace'
    Go back to the extracor checker and execute the extraction.
    Switch sessions and subsequently 'Deactivate Trace' and 'Display Trace'.
    This will list all tables used.
    regards,
    Olav

  • How to find out the table, data for the IDOCS is pulled from?

    HI
    The ZFPH9999397 VENDOR FEED job runs the RBDMIDOC program with the variant Z9999_397.  This creates IDOCS that are sent out and eventually wind up in IMOS.
    The IDOC Type is CREMAS.
    Can you tell me which table or tables the data for these IDOCS is pulled from?
    Or tell me the procedure to find out the table name.
    Thanks,
    das.
    Edited by: sathish dasari on Dec 10, 2009 11:54 AM

    You can use Transp. Table      TBD62 .
    enter Message Type                      CREMAS
    you will get the list of tables and the fields from which data is pulled based on the change pointers in Transp. Table      BDCP.

  • URGENT: How to find out the Tables for Routines  in BW.

    Hi BW Gurus,
    How to find out the Tables for Routines  in BW.
    I have this routine id <b>45XFAEI7LKIFIRDUKQG127YWW</b> and it is in inactive state and i want to activate it.
    thanks in advance,
    points will be rewarded.
    Regards,
    Maruthi.

    Hi Maruthi,
    Check table RSUPDROUT using the routine id as input for the field CODEID. You will get the technical name of the update rule.
    Cheers,
    Praveen.

  • How to find out the tables effected information from oracle from

    can any one tell me how to find out the tables effected information from oracle form

    Hi,
    Please refer to the following documents.
    Note: 259722.1 - HOWTO Determine Table and Column Name from a field in a form in 11i
    Note: 241628.1 - How to Find the Query That Succeeded Recently?
    Regards,
    Hussein

  • How to find out the administrator name

    How to find out my administrator name to unlock the parental control .

    Look in the Apple Menu, in System Preferences, under the Users & Groups pane.
    It should list all your users, by name.

Maybe you are looking for

  • Need help with 3D carousel gallery rotation to a specific angle

    Hi, I am making a 3d gallery, that has a menu underneath it. When clicking to a menu link, the gallery will rotate itself to a certain angle (photo) connected with the menu link. I am using FlashAndMaths 3D cylindrical gallery scripts (XML Customizab

  • After updating to IOS 5, my music doesn't download

    Ever since I updated my iPad to iOS 5 the music I have since purchased does not download. The store downloads it from the cloud, but it is not in iTunes when I go to play it. Checking in the store again says it is not downloaded. Does anyone know wha

  • Cannot restore iPhone 4 after IOS 5 update

    So i updated my phone last night and it said that it needed to be resotred so I did, but just before it finished, it did not complete it and now will not restore at all. Keeps coming up with Error (1). I have followed the steps to what apple have giv

  • Please help with fontface

    Hi Guys, can anyone help please, I am really loosing my mind after several hours of failing to figure this out. I tried to insert (metadata - html for head) the code provided here: http://tinyurl.com/kvvn582 It works excelent for all browser except I

  • IP-Phone 7971G User Preferences

    Hello, on the 7971G it has it under User Preferences a Point Audio Preferences, which I cannot manipulate. How can I manipulate that. It is grey instead black. My problem is the low audio over the Handset.