Find column name from constraint name

How to fetch the column name from a constraint name to which the constraint is applied?.
I only know the name of the constraint and can get the table name from "dba_constraints". How can I know to which column in the table this constraint is applied.
Thanks

What about this?
satyaki>
satyaki>
satyaki>desc user_cons_columns;
Name                                      Null?    Type
OWNER                                     NOT NULL VARCHAR2(30)
CONSTRAINT_NAME                           NOT NULL VARCHAR2(30)
TABLE_NAME                                NOT NULL VARCHAR2(30)
COLUMN_NAME                                        VARCHAR2(4000)
POSITION                                           NUMBER
satyaki>
satyaki>Regards.
Satyaki De.

Similar Messages

  • Discoverer Report: How to find Business Area name from Report Name.

    Hi
    I opened a report in Disco Desktop 4 -> Resonsibiolity --> Report Name.
    So I know Report name but don’t know which Business Area it belongs to.
    How to find Business Area Name from Report Name?
    Cheers
    Vijay

    Hi,
    There is no relationship between reports and business areas. Each report can be built from many folders. Each folder can be in many business areas.
    However you can try the following SQL which may give you the result you want for an v5 EUL. You will have to modify for Discoverer 4 EUL:
    select distinct doc_name, obj.obj_name folder_name, bas.ba_name
    from eul_us.eul5_documents doc
    , eul_us.eul5_elem_xrefs xref
    , eul_us.eul5_expressions exp
    , eul_us.eul5_objs obj
    , eul_us.eul5_ba_obj_links bol
    , eul_us.eul5_bas bas
    where xref.ex_from_id = doc.doc_id
    and doc.doc_name = &your_report
    and xref.ex_to_id = exp.exp_id
    and obj.obj_id = exp.it_obj_id
    and bol.bol_obj_id = obj.obj_id
    and bas.ba_id = bol.bol_ba_id
    Rod West

  • Set Folder Name From File Name Inclosed.

    Hello scripters,
    There has been quite a few topics about setting file names from parent folders. I believe it's possible but not sure how to reverse this process. That is to say set the folder name from a file in the folder. This is what I'm imagining.
    I've got a folder. In the folder are 100 folders with the names "untitled folder xxx" In side I've got files that are all named and numbered.
    For example,
    untitled folder/B-day 001~050.jpg
    untitled folder 50/At The Park 001~020.jpg
    I would like a script to change the name of the parent folder of the files that it houses.
    So untitled folder becomes
    B-Day
    untitled folder 50 becomes
    At The Park
    etc…
    I think getting the name of the first file (minus the index number) would be easiest.
    Any help or futher questions are greatly appreciated.
    Maximilian

    Working backwards...
    Assuming all the files have the same name structure (e.g. end in the format "xxx~xxx.jpg" you can get the base name using:
    <pre class=command>set baseName to characters 1 through -13 of filename as text</pre>
    This cuts off the last 12 characters of the file name.
    Once you have a folder, you can get the names of files in the folder via the Finder. for sanity's sake I'd ask the Finder for the first item, just in case there's more than one file:
    <pre class=command>set filname to name of first item of (files of folder theFolder)</pre>
    And if all the folders are in one top folder, you can iterate through them like:
    <pre class=command>repeat with eachFolder in (every folder of folder topFolder)</pre>
    So now, string it all together:
    <pre class=command>tell application "Finder" -- we'll use the Finder to do the legwork
    set topFolder to (choose folder with prompt "Choose the top level folder" ) -- get the top folder
    repeat with eachFolder in (every folder of folder topFolder)
    set fileName to name of first file of (files of folder topFolder)
    set baseName to characters 1 through -13 of fileName as text
    set name of folder eachFolder to baseName
    end repeat
    end tell</pre>
    Note there's no error checking - the script will fail if there are no files in any particular folder, but it should get you going.

  • Table name from structure name

    Hi experts
    can anyone tell me how to find the table name if structure name is known.
    when i press F1 in table field ,it give me struct name and field name.
    how can i find table name from this struct.
    Thanks in advance

    Hi ,
    You can Check the where used list from your structure,
    or
    From SE84 transaction in abap dictionary ,give your
    structure name and execute it will show where it has
    been used.
    Hope it helps
    Regards
    Mansi

  • Transaction name from exit name....urgernt!!!..have ur point.s

    Hi all,
    I 've a exit name say MBCF0002, with this i want to find the transaction for which the exit is made...how can i know...
    pleas let me know.
    <b>Have ur points.</b>
    Regards,
    pradeep phogat

    You can go to SMOD and give the enhancement name MBCF0002 and press F8 . Now dbl click on the function module and then double click on the include. It will go to the ABAP editor. I think there should be coding like this
    SY-TCODE = 'MB1A' (or any tcode ) for the restriction.
    or another way(probably not the correct way). Generally the exit fn module names are like EXIT_<prog name_someno. so you can take the program name from here in your case prog name is SAPMM07M. Now come to se38 and give the program name . Now press where used list . In the popup just check Transaction and uncheck all others. It will show you the transaction codes.
    Regards
    shiba dutta

  • Alert name from Monitor name

    Hello All,
    Is ther any SQL/powershell query to get the alert name from a monitor name. I need the alert name to map with scorch for  autoticketing.
    Any help is appreciated.
    Thanks,
    Binoy Das

    One easy way to find the corresponding rule or monitor is of course PowerShell.
    Just run either the Get-SCOMRule or Get-SCOMMonitor cmdlet e.g.
    Get-SCOMRule | Where-Object {$_.Name –like “*Microsoft.Windows.Server.2008.NetworkAdapter.PercentBandwidthUsedTotal*”} | Select-Object *| Format-List
    or
    Get-SCOMMonitor | Where-Object {$_.Name –like “*Microsoft.Windows.Server.2008.NetworkAdapter.PercentBandwidthUsedTotal*”} | Select-Object * | Format-List
    Also you can refer below link
    http://stefanroth.net/2014/01/28/scom-get-rule-monitor-details-for-corresponding-workflow-name/
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical | Twitter:
    Mai Ali

  • What is the b2b setup for identifying TP names from file name in Inbound tx

    Hi,
    I am using B2B 11g version and documents of type ANSI-X12. I am working for Inbound Transaction and using Generic File protocol in Listening channel.
    File format is : %FROM_PARTY%_%TO_PARTY%_%DOCTYPE_NAME%_%DOCTYPE_REVISION%.dat
    How can i make B2B to identify Trading partner names from the file name once the remote trading partner put the file in the specified path with the specified format "%FROM_PARTY%_%TO_PARTY%_%DOCTYPE_NAME%_%DOCTYPE_REVISION%.dat" mentioned in the delivery channel.
    Now B2B is identifying Trading partner names from the Interchange Sender ID(ISA06) and Interchange Reciever ID(ISA08) of the ISA Segment. Please help me , how to make B2B to identify the trading partner names from the file name instead of from identifiers coming in ISA Segment.
    Thanks,
    Sridhar Rachumallu

    Hi Anuj,
    1)Now i am giving the file name for inbound documents in the format of "%FROM_PARTY%_<UniqueNumber/Timestamp>.dat" . But still B2B Identifying the TPNames at runtime from the ISA Segment elements ISA06 & ISA08 element values. I want to make B2B to identify the TPNames at run time from the file name instead of from ISA Segments.
    Please tell me how can i do these?
    2) I am giving exact Remote Trading partner Default Identifier Type 'NAME' value for "%FROM_PARTY% in the file format and i want B2B to identify the TP name at runtime based on the value of "%FROM_PARTY%" . If the value of "%FROM_PARTY%"is matching with any one of the Trading partner Default Identifier Type 'NAME' value than it should go for furthur else B2B should through error as " the TP name unable to found".
    3) Please tell me how B2B Identify trading partners at runtime in the business case given below
    - Inbound Transaction from remote TP to Host TP
    - Document protocol is 'ANSI-X12'
    - Listening channel protocol is 'Generic File'
    This is very urgent.. Please give the reply As soon as possible.
    Thanks,
    Sridhar.rachumallu
    Edited by: [email protected] on Jun 9, 2010 12:45 AM
    Edited by: [email protected] on Jun 9, 2010 1:01 AM

  • Table name from filed name

    Hi experts,
    I have one field name. I have several hundreds of tables in
    my database. Can you please tell me how can i retrive the table name from the field name.
    Regards
    Rajat

    Hello,
    Try:
    SELECT table_name
      FROM ALL_TAB_COLUMNS
    WHERE column_name = 'col_name';

  • How to find a query name from report name

    I have a report in my system with the name AQICMM==========P2============ . I believe this was created from a query. How to find the query corresponding to this report ? I need to change the logic for certain columns of the report. How to know if this was created from SQVI or SQ01 or any other transaction.
    THanks.

    Found it..Query name is P2. It was in a different query area..Standard area and not custom area where I was initially looking at.
    Edited by: Shareen Hegde on Aug 22, 2008 5:14 PM

  • API to find a Portlet from its name

    I need to find a Portlet knowing its own name and without any portal name.
    I could really find one from the documentation. Thus I looked for it in the
    JSP Tag Library Javadoc. But neither <es:portalManager> nor
    <es:portletManager> provide this. Finally I checked out add_portlets.jsp
    from the tools.war webapp (admin console), where I found
    com.beasys.commerce.portal.admin.jspbeans.PortalFinderJspBean (from WLPS
    Javadoc, "contains numerous finder methods that wrap many of the
    PortalManger APIs."). A method getPortletFor(String aPortletName) seemed to
    be exactly what I was looking for.
    First, I would like to be sure that it will be supported in following
    versions of WLPS. (as I did not find any doc about it)
    Secondly, as I now have some performance issues localized on this search
    task, I would like to be sure it is the most relevant API to do what I want.
    Regards.
    Yann

    Hello Yann,
    The PortalFinderJspBean wraps the methods of the PortalManager session bean.
    If you want to, you can use the PortalManager session bean directly.
    PortalManagerHome is not in the javadoc (there is an engineering change request
    to get it in), but it really does exist and you can get a PortalManager like
    this:
    PortalManagerHome pmh = (PortalManagerHome)
    JNDIHelper.getService(PortalManager.LOOKUP_NAME);
    PortalManager pm = pmh.create();
    The PortalManager is part of the public API, so it is as safe as anything, as
    far as future compatibility.
    If you ever have issues with performance, feel free to contact support with
    the details. Please open a support case at
    http://www.bea.com/support/index.jsp if you are still having a performance
    problem.
    Yann Feyzeau wrote:
    I need to find a Portlet knowing its own name and without any portal name.
    I could really find one from the documentation. Thus I looked for it in the
    JSP Tag Library Javadoc. But neither <es:portalManager> nor
    <es:portletManager> provide this. Finally I checked out add_portlets.jsp
    from the tools.war webapp (admin console), where I found
    com.beasys.commerce.portal.admin.jspbeans.PortalFinderJspBean (from WLPS
    Javadoc, "contains numerous finder methods that wrap many of the
    PortalManger APIs."). A method getPortletFor(String aPortletName) seemed to
    be exactly what I was looking for.
    First, I would like to be sure that it will be supported in following
    versions of WLPS. (as I did not find any doc about it)
    Secondly, as I now have some performance issues localized on this search
    task, I would like to be sure it is the most relevant API to do what I want.
    Regards.
    Yann--
    Ture Hoefner
    BEA Systems, Inc.
    2590 Pearl St.
    Suite 110
    Boulder, CO 80302
    www.bea.com

  • How to find Query Name from Report Name

    I am trying to find a the query name for program AQFKSYSTQV000045ZCHECKNUMBERLU I have looked in Standard Work Area under all of the user groups but no luck. It is currently only in our Production System. Please suggest any other places I can look.
    Thanks in advance for your help!

    I apologize for not seeming like I have a clue....I did search the Forum...and maybe I wasn't clear with my question....again I apologize.....I am somewhat familiar with query and I understand that the query name is probably ZCHECKNUMBERLU. My issue is that I cannot find the user group. I have broken It is not a user group under Global Area or Standard Area. For example....We have a query named ASETAQUISITION.  The program name is AQFKAM==========ASETAQUISITION...This query is located in the AM User Group....Easy Find. However, the program in question is AQFKSYSTQV000045ZCHECKNUMBERLU. I have broken this program name apart every way I can think of and I cannot find a user group in my global or standard Area. So I guess I should ask, by looking at that program name, how do you determine what the user group name is so I can find the actual query?

  • How to find Querry Name from report name?

    Hi.
    I run a custom transaction , but when i try to see it's program it give me dump. Then i used SE93 transaction to find out program but there was querry written as "AQCSSYSTQV000001ZPUBLICITY====' in program name.
    Now i have to find the Query Name by which the program name "AQCSSYSTQV000001ZPUBLICITY====" is generated?
    Thanks in advance.
    Tahir

    Hi!
    AQCSSYSTQV000001ZPUBLICITY====
    AQ means - ABAP Query
    CS - then 2 chars for the query area
    SYSTQV000001 - then 12 characters for the user group
    ZPUBLICITY - this is your query name
    You have to check you are in the correct workarea and user group, or you will not see your query.
    Regards
    Tamá

  • How to find proc/func name from package name and line number?

    Hi,
    We are using the pl/sql call stack dump (dbms_utility.format_call_stack) for some debugging purposes. But in the case of a package body execution, the dump does not return the name of the procedure/function that is being executed, but only the name of the package and the line number being executed. So, we have a requirement wherein we need to extract the type and name of a package subunit from the package name and line number.
    e.g.
    From the information package 'A', line number 739
    we should be able to deduce that line 739 is a part of *'function A.f'*
    Does the oracle database provide any native mechanism (PL/SQL packages or otherwise) to support such functionality? If it does not, how can we achieve the desired result?
    Thanks in advance,
    Shashank

    The approach we are currently planning to take up is this :
    1. Write PL/SQL code to parse the entire source (user_source) and build a database table with a structure like this :
    PACKAGE_NAME | UNIT_TYPE | UNIT_NAME | START_LINE | END_LINE
    =============================================
    A | PROCEDURE | P1 | 20 | 345
    A | FUNCTION | F1 | 347 | 629
    etc..
    2. Start PL/SQL package execution.
    3. Keep dumping call stack snapshots whenever a custom debug procedure is called.
    4. Dump the package name and line number to a log file.
    5. Using the package name and line number, query the table built in step 1 and build the final report which shows the control flow in a readable form.
    What we want is to get rid of step 5 and by some means get the logic to extract the unit type and name in step 4 itself.
    Keep them coming..
    Thanks and regards,
    Shashank

  • Finding Table Name from Structure Name

    Hi All,
    Can someone tell me,whats the best/fastest way to find out the Table name where a data gets stored actually,when we know a structure name
    Bhavin P Shah

    Hi Bhavin,
    The fastest way would be to use the<b> " WHERE USED "</b> option that you find on the application toolbar.
    Step:
    1. Go to SE11.
    2. Enter the Structure Name.
    3. Press the  <b> " WHERE USED "</b> button.
    4. Select "Dictionary Tables.
    After that you should get the list of all the Dictionary Tbales that use your structure.
    <b>Kindly Reward points if you found the reply helpful</b>.
    Cheers,
    CHAITANYA.

  • Urgent how to find transaction & exit name from the name of include program

    hai
    i want to know the transaction that is executing
    the exit which includes the include name
    as "LVKMPFZ2"
    can anyone tell me the procedure (dont forget steps )
    to know the transaction
    (but this program is include SAP automatic credit control configuration)

    Hi Kiran,
    I think this is related to credit management,
    See,
    FD24    Credit Limit Changes
    FD32    Change Customer Credit Management
    FD33    Display Customer Credit Management
    FD37    Credit Management Mass Change
    Hope this help
    Juan
    Please reward with points if helpful

Maybe you are looking for

  • Dev 6.0: How to save / read MSWord documents in BLOB ?

    Hi ! Please, give me any hint about how to store MSWord (Excel) documents in database from Oracle Forms ? In other words, is it possible to edit documents in MSWord and then save (load) it in (from) database ? Thanks. null

  • Rare e-mail notifications when purchasing from iTunes Store?

    Hello. I use various Macs machines (Mini, Pros, and virtual machines (VMs)) and latest versions (Mac OS X 10.5.8, 10.7.5, 10.8.5, and 10.9.4) with their iTunes (various latest versions, but don't remember which ones). I noticed when getting free stuf

  • My Magic Mouse Will not scroll or left click?

    At 11:08 pm my magic mouse would not do anything but right click. I can not scroll either way, nor can i rightclick. I have tried System prefrences. What do i do?

  • Problem with deep structure in OO Context

    Dear All As we know deep structures with occurs 0 cannot be declared in Object Oriented context (will give a syntax error). Can some1 please suggest a workaround. I need to declare the following structure in a BADI implementation. But it is a deep st

  • When can we expect fully working drive

    When those function will work under vista * Decoding of Dolby? Digital and DTS? signals * DVD-Audio * DirectSound?-based EAX games * 6. speaker mode Its been months that vista is out, i doubt you guys didn't find a way ?