How to find out the script for the table using SQL

Hi,
Could any one tell me that how to find out the script for the table using SQL.
Thanks,
kamal

Kamal,
You can find the SQL query in Advanced tab of Answers
Thanks,
Balaa...

Similar Messages

  • How to find out what is populating a table using sql

    I would like to find out what is populating a particular tabe. I used
    select name,type from dba_source where text like upper('%some_table%'). I know this will give me procedure,function package etc, If this table is being populated by a form how will i get the form name. I am using window XP oracle 10G database

    IF you to check what is running at a precisly momemmt you need to Join :
    v$transaction a, Gives you current Transaction going On
    v$session b, Gives You info about session User
    v$sql c Gives you info about SQL Running at Precisly momment
    With these Condition you are able to Find what's is Runnimg
    where a.SES_ADDR= b.SADDR (+) and
    b.SQL_HASH_VALUE = c.HASH_VALUE(+)
    I Hope This May help.
    Rgds

  • How to find out Query Statistics for the initial selections

    Hi,
    Is there a way to find out the statistics for the initial query execution(without any navigations)
    /Santosh

    Hi,
      For knowing the statistics of the Query (Responce performence). U can find out with T-Code  RSDDSTAT. The base rule is U have to execute the Query atleast once. If you the aggrigates are there at DATA TARGET level u can get a details view with TCode  RSDDV.
    Best Regards

  • How to find out what are all the change pointers assoicated for an idoc ??

    Hi ,
    How to find out what are all the change pointers activated for an idoc ??
    Thanks,
    Varma

    Verma,
    You can check what are the active Change Pointers for the message type in tcode <b>BD50</b>
    Use tcode <b>BD61</b> to check whether change pointers are active or not??
    Hope this helps..

  • How to find out which type of the driver is used in our application?

    Hi all,
    can anyone tell me how to find out which type of the driver is used in our application?
    Thanks in advance,
    Phoeniox

    Hi,
    Check out this...
    Class.forName("com.mysql.jdbc.Driver"); //if u r using MySql
    List drivers = Collections.list(DriverManager.getDrivers());
                   for(int i=0;i<drivers.size();i++)
                        Driver driver = (Driver)drivers.get(i);
                        String driverName = driver.getClass().getName();
                        System.out.println("Driver "+i+":::"+driverName);
    you need to load the driver and display in the same program.
    Then only you'l get the required result.
    prakhyath

  • How to find out who has deleted the production Query

    Hi All,
    I have searche SD , i can find it for infoobject deletion but i couldn't find it for Query.
    Please let me know is there any possiblity to kow
        How to find out who has deleted the production Query
    Awaiting for your replies.
    cheers

    Hi Mahesh and all,
    Thanks for all your  inputs.
    I have tried with RSRREPDIR tabel , I am unable to see that query at all.
    If I use theT-code SLG1,
      please guide me on the steps with paramets to be given in the respective ..object, subobject etc..
    OR
    could you please suggest any other way.
    cheers
    leena

  • How to find out who had deleted the function moldule? S O S

    how to find out who had deleted the function moldule Thank you very much.

    if this fm was assigned to device class (package) you'll find it in
    tables tadir, e070, e071
    try with name of function module or function group
    hope that helps
    Andreas

  • Where can I find the script for the sample table?

    Hi,
    Where can I find the script for the sample tables, like emp, dept, ... ?
    Regards,
    Rosaline

    http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/appdev.817/a77069/preface.htm#420431
    Hi,
    Where can I find the script for the sample tables, like emp, dept, ... ?
    Regards,
    Rosaline

  • How to find out responsibility attached for particular user through query

    hi
    How to find out responsibility attached for particular user through query
    Regards
    9841672839

    Hi,
    Following sql will help you find the responsibilities associated with the users in oracle applications.
    SELECT frt.RESPONSIBILITY_NAME, furg.end_date
    FROM
    fnd_user_resp_groups furg,
    FND_RESPONSIBILITY fr,
    fnd_responsibility_tl frt,
    fnd_user fu
    WHERE fu.user_name = ‘&&username’
    AND fu.user_id = furg.user_id
    AND furg.responsibility_id = fr.RESPONSIBILITY_ID
    AND frt.responsibility_id = fr.RESPONSIBILITY_ID
    ORDER BY 1
    Cheers...

  • How to find out which sequence a certain column used?

    you konw column C in table T is created by a sequence.
    How to find out which sequence column C is using?

    In the meantime I think it ought to becompulsory to
    only assign sequence values in triggers.
    Why? I can see no good reason for this. I think it's a good idea to have stuff like this
    coded in only one placeI don't like your argument for compulsory using triggers for sequences for exactly the same reason as you, ie that I like to keep my code in one place. If I'm reading some pl/sql code which uses a sequence I like to see the fact that the sequence is used in the pl/sql code, rather than to check to see if theres a trigger on the table and then see which sequence that uses.
    "naming conventions can work, provided they're enforced. Alas, like other standards, they can only be enforced by active policing".
    Thats what code reviews are.
    " there is also the special case of one sequence populating more than one table...."
    This is My Pet hate. I don't think there's ever a case where this is absolutely necessary. Again code reviews
    Unfortunately I have to live with a system which does this.
    and I appreciate we can't all have code reviews, etc.

  • HT3986 how to find out serial no. of imac while using windows 7

    how to find out serial no. of imac while using windows 7

    In Windows open up the Command Prompt and type the following:
    c:> wmic bios get serialnumber

  • REgd  How to find appropriate data sourses for given tables in Inve Mngt

    Experts!
    M completely new to Inventory Mngt where i needto extract data from R/3,
    they 've given me some tables, but i dont know how to find appropriate data
    sourses for that tables
    those are
    MKPF,MSEG
    EKKO,EKPO
    EKBE,EKET
    How to find right data sourses when table names given in any module??
    pls guide me,
    'll assign the points.
    thanks
    Srujan

    Hi,
    2LIS_03_BX is the initialization of your stocks; you'll need to perform the setup procedure for extracting this data.
    Usually this DSource is used to bring the stocks positions at a given time; from this given time you'll then extract deltas from BF and UM so your stocks are always:
    BX + BF(Delta) + UM(delta).
    Hope this clears your doubts...
    Olivier.

  • How to find out which user has the permission to execute startsap ?

    Hi All
    How do I find out which user has the permission to execute the startsap and stopsap? Do I control the permission on those script using windows standard authorization? For example: only allow certain user have the read and write permission?
    Thank you.!
    Vincent Lo

    Well to me this is really weird question..
    <b>noone un-authorized should have access to OS on your system</b>
    If this is valid you do not need to solve problems who can and who cannot start/stop SAP, because if you want to prevent some users from shutting down the SAP you have really hard job to do - there are many ways how to kill the SAP (for example killing relevant process from task manager, killing of database, messing with services etc.) - yes, this is harmful way of stopping SAP, but we are talking about attack, right? I would contact some Windows specialist to help you disable all the ways how to harm the running SAP. But still after that - there are many files that can be modified/deleted so SAP will crash after restart - you need to protect them too, etc.
    In case you take the first assumption as granted (and you really limit access to this server) you do not need to worry who can stop or start SAP - at the other hand it may be handy to be able to start/stop SAP from other users - for this you can run the stop/start script "under different user".
    But to answer the question - to me this is question just of access control (but really never tried that myself):
    <a href="http://technet2.microsoft.com/WindowsServer/en/library/c6413717-511e-42bd-bd81-82431afe4b2a1033.mspx">Permit or restrict access to a snap-in for a domain</a> (or see other related links down there on this page)
    Please award points for useful answers.
    Thanks

  • System log - how to find out who has deleted the req from cube.

    ^hello friends
    how can i find out who has deleted the request from cube ?
    i wanted to check the system log , that who has deleted the request from cube .
    could you please let me know how to check the same ?
    regards
    manoj

    Hi,
    Did you try the method I had suggested. It will work.
    Also its better to try the path I had suggested as it will display the logs for that particular Cube only.
    But if go through SM37 > B_DEL* it will display all the logs for all the deletion jobs not just this cube and it will be difficult to find out.
    Try that and you should get the log.
    Thanks,
    JituK

  • How to find out who has release the purchase requisition?

    Hi,
    I have a Purchase Requisition Number with me and I want to know who has released it. Can any body please help me how to find this?
    Waiting for your valuable responses! Thanks in advance.
    Regards
    Faisal

    Hi,
    Thanks for your response. However, is there not any tcode by which we can find it out?
    By the way I have done the following to find it. Kindly confirm if I have done it correctly:
    1. Executed tcode me23n
    2. Menu Purchase Requisition->Other requisition
    3. Specified the PR number.
    4.Menu Environment -> Item Changes
    5. Here in this screen, I got some information saying :
           Person responsible (user id), Date, Time, Transaction, Change Doc etc..
    Here it says that, one user executed tcode me54 and release indicator is changed to 3.
    I think this is only the user who has released it.
    Anyway, kindly confirm the same.
    Regards,
    Faisal

Maybe you are looking for