Need a solution finding table_name and column_name

HII friends,
I need a solution for the special case: example I inserted through the interface that is ORACLE ADF and if I want to see this data inserted into a table and then how to check when I don't know the names of the table and if there are large number of tables available... His I need a solution in this way I know the values of the fields in order to give values alone I want to extract the table and the names of columns as everywhere where these values are present... Please well wanted to try to give me a solution... I'm already aware user_tab_columns user_tables and all_tables. So I want to try thanks to go for tables or columns if names the values or data as reference...

Thank you
Nitesh Perron.

You can do the third option purely with sqlplus.

You can do the second option with sqlplus, but you must go (one way or another) on the server for the trace file.

Published by: Dave Rabone on 15 January 2013 22:38... Here I could type

Tags: Database

Similar Questions

  • Need help to find bosses and leaders out there

    Hi all

    I need help to find patterns, but also the number of occurrences of these models in the data in the column of the table.

    Consider the examples of data - column of a row in a table:

    'S-S-S-P-S-B-S-S-C-S-P '.

    My requirement is:

    I should get all the models that are followed is "."

    For example, the foregoing, given given bosses and Auditors are
    SS - count is 3
    SP - count is 2
    SB - 1 is
    SS - count is 1

    There is a condition most the above requirement:

    If' is followed by 'A', then 'SA' is not as a model. The model must stretch until a character no 'A' is found.

    Consider the sample data for the above case:

    'S-S-A-S-S-A-A-C-S-P-S-A '.

    previously given given bosses and Auditors are
    SS - count is 2
    SP - count is 1
    SAS - count is 1
    SAAC - count is 1

    The column data is stored as type VARCHAR2.

    I have Oracle Database 11 g Enterprise Edition Release 11.1.0.6.0 - 64 bit Production

    Thanks in advance,
    Girish G

    Hi, Girish,

    Girish G wrote:
    Hi all

    I need help to find patterns, but also the number of occurrences of these models in the data in the column of the table.

    Consider the examples of data - column of a row in a table:

    'S-S-S-P-S-B-S-S-C-S-P '.

    My requirement is:

    I should get all the models that are followed is "."

    Do you mean "I should get all the models who * begin by * of '?

    For example, the foregoing, given given bosses and Auditors are
    SS - count is 3
    SP - count is 2
    SB - 1 is
    SS - count is 1

    Why are there two production lines for "SS"? The other, with count = 1, mean doing just that?

    There is a condition most the above requirement:

    If' is followed by 'A', then 'SA' is not as a model. The model must stretch until a character no 'A' is found.

    Consider the sample data for the above case:

    'S-S-A-S-S-A-A-C-S-P-S-A '.

    previously given given bosses and Auditors are
    SS - count is 2
    SP - count is 1
    SAS - count is 1
    SAAC - count is 1

    The column data is stored as type VARCHAR2.

    I have Oracle Database 11 g Enterprise Edition Release 11.1.0.6.0 - 64 bit Production

    Thank you; version information are very useful.

    Thanks in advance,
    Girish G

    Whenever you have a question, please post a small example of data (CREATE TABLE and INSERT statements) and the results desired from these data.
    For example, the sample data may be:

    CREATE TABLE     table_x
    (       x_id     NUMBER     PRIMARY KEY
    ,     txt     VARCHAR2 (30)
    );
    
    INSERT INTO table_x (x_id, txt) VALUES (1, 'S-S-S-P-S-B-S-S-C-S-P');
    INSERT INTO table_x (x_id, txt) VALUES (2, 'S-S-A-S-S-A-A-C-S-P-S-A');
    

    and the results desired from these data can be:

    X_ID TXT                       PATTERN                          CNT
    ---- ------------------------- ------------------------- ----------
       1 S-S-S-P-S-B-S-S-C-S-P     SB                                 1
       1 S-S-S-P-S-B-S-S-C-S-P     SC                                 1
       1 S-S-S-P-S-B-S-S-C-S-P     SP                                 2
       1 S-S-S-P-S-B-S-S-C-S-P     SS                                 3
    
       2 S-S-A-S-S-A-A-C-S-P-S-A   SAAC                               1
       2 S-S-A-S-S-A-A-C-S-P-S-A   SAS                                1
       2 S-S-A-S-S-A-A-C-S-P-S-A   SP                                 1
       2 S-S-A-S-S-A-A-C-S-P-S-A   SS                                 2
    

    (Which is what you have posted, except that there is only one line of output for "SS" when x_id = 1.)

    One way to achieve these results in Oracle 11 is:

    WITH   got_s_cnt    AS
    (
         SELECT     x_id, txt
         ,     REGEXP_COUNT (txt, 'S')     AS s_cnt
         FROM     table_x
    )
    ,     cntr          AS
    (
         SELECT     LEVEL     AS n
         FROM     dual
         CONNECT BY     LEVEL <= (
                                   SELECT  MAX (s_cnt)
                             FROM    got_s_cnt
                               )
    )
    ,     got_pattern     AS
    (
         SELECT     s.x_id
         ,     s.txt
         ,     c.n
         ,     REGEXP_SUBSTR ( REPLACE ( SUBSTR ( txt
                                                 , INSTR (s.txt, 'S', 1, c.n)
                                    )
                             , '-'
                             )
                         , 'SA*[^A]'
                            )       AS pattern
         FROM    got_s_cnt  s
         JOIN     cntr        c  ON  c.n  <= s.s_cnt
    )
    SELECT       x_id
    ,       txt
    ,       pattern
    ,       COUNT (*)     AS cnt
    FROM       got_pattern
    WHERE       pattern     IS NOT NULL
    GROUP BY  x_id
    ,            txt
    ,       pattern
    ORDER BY  x_id
    ,            pattern
    ;
    

    At the heart of this query is the call to REGEXP_SUBSTR:

    REGEXP_SUBSTR ( x
               , 'SA*[^A]'
               )
    

    who is looking:
    S = the letter S
    A * = the letter A, 0 or more times
    [^ A] = nothing, except the letter A

  • Need help to find and install the game Chess Titans Windows Vista for XP

    Need help to find and install the game Chess Titans Windows Vista for XP

    Hi SBOYDC130guy,

    We will not be able to install titan of failures on windows XP because it is designed for Windows Vista and Windows 7 and it's built-in game.

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I lost cell/Solitaire free, etc, so I need to restore the files but can not find system and Maintenance of the Panel

    I got an e-mail allegedly Windows this morning - when I tried to open it nothing happened. Now the games that I had in the starting box disappeared.

    I want to try to restore files in the backup and Restore Center. The brochure that I said to go to the control panel and find system and Maintenance, but I can't.

    Hello

    Take a look at the thread below for a possible solution:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-windows_update/restore-machine-to-its-factory-XP-Pro-condition/e73c252f-0242-E011-9577-d485645a8348

  • I need to re - install cs6 and can't find the serial number.

    I need to re - install cs6 and can't find the serial number.

    Quickly find your serial number

    To the link below, click on the still need help? the option in the blue box below and choose the option to chat...
    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Serial number and activation support (non - CC) chat
    https://helpx.Adobe.com/contact.html?step=PHSP-PHXS_downloading-installing-setting-up_lice nsing-activation_stillNeedHelp

  • I need to download Photoshop CS6 and I can't find the full download

    Help

    I got a new computer and I need to download PSCS6/windows and I can't find the full download all that I can find is that of cloud. Does anyone know where it is now?

    Thank you

    Theresa

    Download the CS6 products

  • I need to download LR 4 and I can't find out how? Any help?

    I need to download LR 4 and I can't find out how? Any help?

    Lightroom - all versions

    Windows

    http://www.Adobe.com/support/downloads/product.jsp?product=113&platform=Windows

    Mac

    http://www.Adobe.com/support/downloads/product.jsp?product=113&platform=Macintosh

  • Need help to find and replace

    Hi all

    I need assistance to find and replace words between \ make "BOLD" and delete the symbol in my pages just like below.

    Text example:

    He astonished his parents by \turning a childhood obsession\ in a decent-paying career, much to their dismay.

    After the text:
    He astonished his parents by turning a childhood obsession into a decent-paying career, much to their dismay.

    Thanks in advance,

    Siva

    (\\+?) will never return more than 1 backslash because the? is telling to find the shortest match. {I would change that to each (\) or (\\{2)}

  • Need advice - questions of m8100n and stop Pavilion

    Hi all!

    I need some technical advice, because I do not know what way to go now with my m8100n Pavilion.  He began to act up in March of this year and died in total.  Once troubleshooting with support online from HP, it was determined that my motherboard (Nettle2) is bad and that it has replaced.  As it was out of warranty, we decided that a new Office was a more cost-effective solution, so the m8100n has set aside for me to tinker with later.

    Two weeks ago, I had the nerve to replace the motherboard myself.  I'm handy with all other aspects of the inside of a PC, but the motherboard was the "last frontier" for me.  I found a MCP61PM-HM on eBay that was v2.20 (thinking that the original motherboard had been improved since the v1.08 which was in my m8100n), so I bought it.  Replace the motherboard, I discovered that I had bought a Nettle3, who would continue to work with my m8100n but would lose a PCI slot.  No biggie!  I replaced the Nettle3 and all connected together and voila!  The m8100n puts as it is supposed to and no closing fast and constant.  I am a camper happy, right?

    Here's my problem: I installed Windows Vista on the m8100n using the motherboard Nettle3 (Yes, I know about the need for the new motherboard tattoo the recovery discs to work, but I wanted to use this office as a backup/file server, so I was not terribly concerned about the recovery discs) and everything seems to work very well.  However, after leaving the unit top during the night or during the day while I am at work, I find that the unit has stopped.  The green light at the back of the Unit indicates that the power supply is always powered, so I don't think that is the question.  Just for fun, I installed PC Wizard 2009 and SpeedFan to measure the temperature inside the device, and it doesn't seem to be anything out of the ordinary.  I did the other night while I was watching TV and suddenly noticed that PC Wizard 2009 showed that Core 1 (which I suppose is one of the mainstays of my AMD Athlon 64 X 2 Dual Core 5600 processor) climbed about 25 ° C to 60 ° C and 70 ° C, then 80 c, and finally almost 90 c, while Core 2 showed a steady 15-25 ° C.  I shut down the system to avoid any damage, but now I think the unit is closing itself because the processor overheats.

    Is it possible that one of the mainstays in my Athlon is defective and it is originally the stops, or is there something else I could be dominant?  PC Wizard 2009 tensions seem to be well, and temperatures inside the case seem to happen as well.  I don't want to give up this PC, because it seems that it is something simple that I could be dominant and am thinking that I might be too close to the issue to see what is really bad, and I'm hoping to pull out of the collective wisdom in these forums.

    Thank you in advance for any advice or suggestions that you might be able to offer!

    NEW UPDATE:

    After sitting the PC side for some time over the holidays, I started to do research on the processor AMD Athlon X 2 5600 +, given that all the indications suggest a heat problem with Core 1, who was leading in the PC by stopping.  After researching this CPU Model (Brisbane), it seems that Brisbane processors have a known issue with faulty temperature sensors core, which was probably, leading to a temperature reading fake being reported and causing PC stops.  This would also explain why the radiator or the CPU were always warm to the touch just after a shutdown due to overheating occurred.  I ordered a replacement AMD Athlon X 2 5600 + (not my workhorse PC, so I didn't need to upgrade the processor) and one both installed the CPU, memory, video card, DVD-R/W and finally the hard and everything seems to work normally again.  I ran a few stress tests on the PC from one day to the next, and the max reported temperature was 45 c 42 on Core 1 and Core 2.  It seems that the issue of the arrest was related to the CPU after all!

    Thus, after the better part of a year on and off with the PC, DIY replace the original motherboard to solve the problems of power cycle that I had originally, and replacing the CPU to solve overheating and issues which occurred after replacing the motherboard seems to have given new life to Pavilion m8100n.  What will make an excellent secondary / media server PC and will compliment my Pavilion m9500t nicely.  Thanks for all your help!

  • Need error cannot find /usr/lib/webplatforms/plugins/jnext/customPlugin.so library cannot be found

    Hi all

    I have created a native extension in the BB SDK 10.2 to connect to data services and request a server using the CellualarDataInterface API.

    It was packed, but when I run it in Simulator or device, it shows error:

    Need error cannot find /usr/lib/webplatforms/plugins/jnext/customPlugin.so library cannot be found

     

    I read that it is the link error but not able to identify the problem.

    Here's the URL where my BB 10 code example is hosted:

    http://www.filedropper.com/SampleApp (Go to this link and click Download this file)

    Please help me find the solution. It is very urgent.

    Finally, I solved this error by adding the network of Qt library.

  • need help to find column ID to market sql tables in a diagram

    I want to build a query that will walk all tables in a schema in a loop and compare every possibility to associate it with an ID column

    I need to know what are the tables have a result where the number of lines with names of columns ID is > 0, then show that only those who were the tables & how many match. I don't know the name of the columns ID, so that does not need to be a variable

    Something along the idea of (not even close to real SQL but I hope that the idea comes through)

    for i = 1 to the last-1 table
    for j = 2 to the last table

    Select
    i table_name
    j table_name
    County (id_column)
    Of
    Table i
    Table j
    where
    i.id_column = j.id_column

    Next I
    Next j

    then to take all lines that result and get rid of those who have zero counties

    Thank you

    -----
    Edit
    ----
    I seem to have bad to convey my idea, I'll try again
    I can write this:
    --
    Select count (id_column)
    Table i table j
    where i.ID = j.ID
    --
    and I can put in each pair of tables for the entire schema, but I don't want to really put 250 + names in this pair and go through all the possibilities of each pair of tables, I'm expecting something that looks like this when finished,

    County of table table
    ----------------------------------------
    customer address 500
    phone customer 1000
    customers accounts 300
    Chargers cusomers 0
    senders address 50
    ......

    Published by: user7733176 on January 4, 2011 04:52

    user7733176 wrote:
    ---
    Select count (id_column)
    Table i table j
    where i.ID = j.ID
    ----

    select  a.table_name,
            b.table_name,
            extractvalue(
                         xmltype(
                                 dbms_xmlgen.getxml(
                                                    'select  count(*) cnt ' ||
                                                    '  from  ' || a.table_name || ' a,' ||
                                                    '        ' || b.table_name || ' b' ||
                                                    '  where b.id = a.id'
                                                   )
                                 ),
                         '/ROWSET/ROW/CNT'
                        ) cnt
      from  user_tab_columns a,
            user_tab_columns b
      where a.table_name > b.table_name
        and a.column_name = 'ID'
        and b.column_name = 'ID'
      group by a.table_name,
               b.table_name
      having extractvalue(
                          xmltype(
                                  dbms_xmlgen.getxml(
                                                     'select  count(*) cnt ' ||
                                                     '  from  ' || a.table_name || ' a,' ||
                                                     '        ' || b.table_name || ' b' ||
                                                     '  where b.id = a.id'
                                                    )
                                  ),
                          '/ROWSET/ROW/CNT'
                         ) > '0'
      order by a.table_name,
               b.table_name
    /
    

    SY.

  • Need help to find an adapter for a third-party monitor

    Hi all! I find myself in need of a little guidance, and I hope that someone out there will have a quick n easy for me...

    I have a Mid-2011 27 'iMac. which has two ports Thunderbolt It is taken with a Wacom tablet that I use constantly, and the other is made by an external hard drive to a solid state, which has a built-in cable to Thunderbolt (no way to hang it on a different port). I also have a 27 "HP monitor that is currently connected via an HDMI USB adapter.

    The problem is that the HP monitor is actual "jiggy" - the USB does not seem fast enough to deal with requests for the monitor. It is almost unusable. I know I should run it via a HDMI adapter Thunderbolt, but as I have already mentioned the two my Thunderbolt ports are already in use.

    Someone at - it ideas? I need sort of three to two ports Thunderbolt hooks, but I can't seem to find anything for less than $300 that would work. (I am illiterate when it comes to the different cables, adapters, ports, etc., so I hope someone can point me in the right direction by using short words... Most of the products that I travel through list specifications that me Chicane).

    The monitor has two HDMIs and a VGA port, and my iMac has a Firewire 800 port, if that helps at all...

    2011 iMac have only 1 Thunderbolt port and there is no such thing as a Mid-2011, you must have an iMac of year later, if it has 2 ports Thunderbolt. All the 27 "iMacs, from 2012 to 2015 the current have 2 ports Thunderbolt.

  • Find bookmarks and passwords on the old hard drive

    I watched an attempt all suggestions re. This and cannot locate my favorites and passwords on the old hard drive.
    Hard drive is still connected to my computer, even if the PC had a mother brd, the CPU and the RAM upgrade: because of the upgrade failed to load window, if the Windows file is always available. New HARD drive with windows installed, install again. 11.0 ff. The following search suggestions, I find the new profile, but not that of the old drive. I can access my Mozilla folder in Program Files (x 86), but are now looking for appdata etc.
    Yes, I know, it was really stupid to not save this kind of things before the installation of new equipment, but do not think that the material change was hose go my W7 install so bad. Thanks for any help in advance.

    AppData is a hidden file, you need to enable hidden files and folders may be to find. http://www.bleepingcomputer.com/tutorials/how-to-see-hidden-files-in-windows/.

    After finding the appdata folder, read https://support.mozilla.org/en-US/kb/Managing-profiles and recovery of data from an old profile.

  • I need to replace the battery and AC adapter of the Satellite Pro U400-160

    I have a Satellite Pro U400-160.

    I need to replace the battery and the charger of my Toshiba, but I am wary about compatibility issues.

    Any battery for Satellite Pro U400 is suitable for mine?
    As I can't find which batteries are specifically suitable for my computer.

    (For example: is this a: http://www.amazon.es/Bater%C3%ADa-Toshiba-Satellite-U400-11V-7800mAh/dp/B0051A9Y88/ref=sr_1_cc_2?s=aps&ie=UTF8&qid=1366885340&sr=1-2-catcorr&keywords=satellite+pro+u400?)

    Is there a quick way to check if a battery / charger are compatible?

    Each battery and adapter you get from Toshiba has specific part number. All you have to do is use this same part number and order. You should be able to find on the internet.
    You can also get compatible parts you are ordering by the Toshiba authorized service provider in your country.

    By the way: all U400 models have the same construction and the similar specifications then all the batteries specified for U400 can be used on your U400-160.

  • HP Pavilion Notebook - 15-p199: need help with the installation and activation of 10 Windows after completely uninstalling Windows

    Hello HP assistants.

    I need help for a specific problem. My laptop came with an installation of Windows 8.1. Then I upgraded to 10 Windows when it became available. After a while, I decided to uninstall Windows completely (to wipe the hard drive) and install a Linux operating system.

    Now, I decided that I want to use some software that is not available on Linux and if I want to reinstall Windows 10. My problem is that Windows has completely disappeared in a form any. So now, I need to download Windows 10 from an official source (which I think can be done fairly easily from the official source of Microsoft, although if there is a better, HP official medium to do this then please recommend it) and then I need to activate Windows some how.

    As has been made clear, I have the right to use Windows 8.1 and 10 but I would need to download Windows 10 and turn it on. Is there a way to do this? I'm literally stuck without solution.

    Thanks in advance.

    Hello

    As long as the previous installation of Windows 10 had activated Ok after upgrade from 8.1, you can simply perform a new installation as described in the guide on the following link.  Note: On the activation screen, select "I don't have a product key" - Windows will activate automatically once installation is complete.

    http://www.howtogeek.com/224342/how-to-clean-install-Windows-10/

    Kind regards

    DP - K

Maybe you are looking for

  • HP Envym6/entertainment: Hinge cracked and broken rim

    My right bulge of hinge and is open to the rear. My left hinge is also cracking and bulging. I can't close the top and RIM has begun to crack and now is broken down and remains open down. There is a small wire that is cut and sticks out. What should

  • HP Envy5544: The heavier weight of card for HP Envy5544

    Just bought a HP Envy 5544. Delighted with the quality of printing on paper. However, I make cards and use good quality card. What is the heaviest weight I can put in the printer? Happy to put a sheet at a time - it's more about the weight it can han

  • HP slate 7 more 4200ca

    I bought my daughter a 4200ca slate tablet 7 and the lock is active, and she can not remember the password, how to bypass or reset this tablet, I can get to thereset screen, but it will not accept orders after that point on

  • How can I write ASCII code on my HP G56-130SA laptop that has no numeric keypad?

    I would like to know if it is possible to write the ASCII code on my laptop because there is no numeric keypad. Thanks a lot for your help.

  • 401SA HP G61: upgrade hard drive

    Hello. Can someone help me with regard to the compatibility of a Seagate 1 TB SSHD for my HP G61 401SA laptop. The existing drive is low on free space and that it is a 9mm disc I was hoping that I could replace it with this 1 TB drive, but I don't kn