How to identify the DDL changes ?

Hi all,
How to identify the DDL changes done to the database ?
By triggers only Or we can use Logminer also OR
SELECT * FROM USER_OBJECTS where object_type = 'TABLE' order by LAST_DDL_TIME desc;
OR
is there any other options are available ?
Thanks in advance,
Pal

Something from asktom might help
tkyte@TKYTE816> create or replace trigger ddl_trigger
2 after create or alter or drop on SCHEMA
3 declare
4 l_sysevent varchar2(25);
5 l_extra varchar2(4000);
6 begin
7 select ora_sysevent into l_sysevent from dual;
8
9 if ( l_sysevent in ('DROP','CREATE') )
10 then
11 if l_sysevent = 'CREATE'
12 then
13 begin
14 select 'storage ( initial ' || initial_extent ||
15 ' next ' || next_extent || ' .... )'
into l_extra
16 from all_tables
where table_name = ora_dict_obj_name
17 and owner = user;
18 exception
19 when no_data_found then null;
20 end;
21 end if;
22
23 insert into log
24 select ora_sysevent, ora_dict_obj_owner,
25 ora_dict_obj_name, l_extra
26 from dual;
27 elsif ( l_sysevent = 'ALTER' )
28 then
29 insert into log
30 select ora_sysevent, ora_dict_obj_owner,
31 ora_dict_obj_name, sql_text
32 from v$open_cursor
33 where upper(sql_text) like 'ALTER%' ||
34 ora_dict_obj_name || '%'
35 and sid = ( select sid
36 from v$session
37 where audsid=userenv('sessionid') );
38 end if;
39 end;
40 /

Similar Messages

  • How to identify the last changes made in the smartform ?

    Hi Form Experts,
    My smartform's General attribute shows that there is some change performed 2 months back, Which is not reflected in my production server.
    Could any one advice how to track the last performed changes in the system, I did not find version management for smartforms.
    Regards
    Prasath

    Hi,
    1.Go to smartforms->give formaneme>display>Utilities>Forminformation.
    2.Go to smartforms->give formaneme>display-->General attributes.
    Regards,
    If helpful reward with points(Don't forget).
    Edited by: shiva kumar on Apr 11, 2008 6:22 AM

  • How to identify the installed Weblogic Server and JDK are 32bit or 64bit?

    Hi everyone,
    I have a question ~
    Both Weblogic Server and JAVA JDK are installed on the server already, but I only know the Weblogic Server is 10.3.4.0 and JAVA JDK version is 1.6.0_25.
    I know the 64bit Weblogic Server installation file is a wlsXXXX_generic.jar package and 64bit JAVA JDK needed also.
    But, since the Weblogic installed already, there are no such installation files on the Linux Server now.
    I have tried the "java -version" for java version and check the Weblogic version from Weblogic console.
    How to identify the installed Weblogic Server and JDK are 32bit or 64bit with Linux command? Or is there any way to check it?

    What you can try to do is use WLST (or an MBean browser, such as JConsole or JRockit Mission Control) and connect to the adminserver.
    For example when using WLST:
    # set the environment by using setWLSEnv.sh (located in the ${WL_HOME}/server/bin directory).
    # start WLST by using: java weblogic.WLST
    # connect to the adminserver
    connect('adminusername','adminpassword');
    # change to the serverruntime environment
    serverRuntime();
    # show the attributes
    ls();
    # Here an attribute is shown called WebLogicVersion that shows the version of WebLogic
    -r--   WeblogicVersion                              WebLogic Server 10.3.5.0  Fri Apr 1 20:20:06 PDT 2011 1398638
    # Note that this does not show if is 32 bits or 64 bits to retrieve this information you have obtain the JVM version
    # change the directory
    cd('JVMRuntime/AdminServer');
    # show the attributes
    ls();
    -r--   Version                                      R28.0.1-21-133393-1.6.0_20-20100512-2126-linux-x86_64
    # when you have something like x86 at the you are running a 32 bit version, if you have something like x86_64 you are running a 64 bits versionAs mentioned above you can also retrieve this information by using a MBean browser.

  • How to identify the no is prime or not ,no is more than 9 digit?

    how to identify the no is prime or not ,no is more than 9 digit?
    becaz long does not store more than 9 digit , like example
    long number=9876543218; // it will throw the compile time error
    so how to get this?

    It is too easy to understand whether the given value
    is prime or not.
    THe following code snippet does this .
         public boolean isPrime(int pr){
              int num = 0;
              for(int a = 2; a < pr; a++ ){
                   if(pr % a == 0)
                        num = 1;
              if(num == 1)
                   return false;
              else
                   return true;
         }(Simple eh)And if you end at the square root of pr you get a nice speedup. You can get a further speedup by changing the incrementation strategy (2x really easily, 6x if you start at 5 (explicit test for 2 and 3) and increment alternatively by 2 and 4), but that's not entirely necessary.
    ~Cheers

  • How to identify the bill is First bill, Final bill or Normal bill?

    Hi
    How to identify the bill is First bill, Final bill or Normal bill.
    If the bill is first bill how we can identify this is by acquisition or change of tenancy.
    If the bill is final bill how we can identify this is by change of tenancy or loss.
    Please provide the tablets to get the above information.
    Thanks & Regards,
    Sree
    Edited by: Sree on Oct 13, 2009 11:23 AM

    Sree,
    Please check the field ERCH-ABRVORG (billing transaction).  It shows you what kind of bill has been created (e.g., 03 = Final Billing for Move-Out). If the begin of billing period matches to the move-in date it is the first bill created for that particular contract.
    I hope this helps.
    Kind regards,
    Fritz

  • How to get the "last changed by" for a set of function modules?

    How to get the "last changed by" for a set of function modules?
    is there any table to get it??

    See [this|Re: Date of creation of function module] I posted earlier.
    >TFDIR will give you the name of the function group program and the include number.
    >E.g. SAPLZFUNCGROUP Include 01.
    >From this you can construct the include name: LZFUNCGROUPU01.
    >You can look this up in TRDIR to find the creation date (CDAT) of the function module.
    In your case, you need unam and udat.
    matt

  • How to identify the user who created the variant

    Hi All,
    Can anyone tell me how to identify the user who created the variant ?

    Hi Dear,
    For the same go to SE11 and view the table "VARID". This table give the details of the program,user,variant etc.
    From this table u can know which user created the variant. Hope this solve your purpose.
    Regards

  • How can identify the default currency for a customer?

    How can identify the default currency for a customer?
    I know that this is being determined when you create a sales order for a particular customer, for example, so I could break this process open and find out what it uses. But I thought it worth asking in this forum first.
    Blue

    Hi Gary,
    As per my understanding of your question I am replying , If you are looking some thing else then I request you to please elaborate your query.
    If you see the BP sales area data in transaction BP, In billing tab you maintain the currency for a customer which is default currency when you create a sales order.
    <b>Reward points if it helps!!</b>
    Best regards,
    Vikash

  • How to stop the auto change of the desktop background picture ?

    How to stop the auto change of the desktop background picture ?

    Well . . thanks, but I already have done that and I still have the problem. The background changes to the standard picture galaxy not to one of the options. Sorry my question wasn't clear enough.
    Thanks. 

  • How to identify the type of pocketpc barcode scanner?

    How to identify the type of pocketpc barcode scanner whteher it is intermec or symbol?
    GS

    Hi,
    well, this is the brand of the PDA - the Scanner itself is build into the device. So if you have an intermec device - you have an intermec scanner and vice versa. It is not recommended to use a HP device for example with an external scanner. This scenario is not really supported by the MI setup guides.
    Hope that helps!
    Regards,
    Oliver

  • How to Identify the Type of Font Names in Illustrator

    How to identify the type of font names like "True Type font" (or) "open Type font" for illustrator file using Scripts or any language. Could you please advice me.
    Thanks,
    Prabudass

    If there is an Illustrator SDKor Illustrator Scripting forum, try
    that. ATM won't really help - it is obsolete and should not be
    installed (breaks things).
    Aandi Inston

  • How to identify the type of Fonts

    How to identify the type of font names like "True Type font" (or) "open Type font" for illustrator file using Scripts. Could you please advice me.
    Thanks,
    Prabudass

    The code below will prompt the user with the type face of a single text-frame.
    shastafir
    // 5/4/2009
    // Open a new document and create a single text box
    // with some type in it.
    // Get access to the active layer
    var aiDocument = app.activeDocument;
    var aiLayer = aiDocument.activeLayer;
    // Get access to the type-frame's font
    var textBox = aiLayer.textFrames[0];
    var theFont =
    textBox.textRange.characterAttributes.textFont;
    // Alert user with the name of the font
    alert(theFont.name);

  • How to identify the text color in a word doc.?

    how to identify the text color in a word doc.?
    I need to read a word document using java code. which contains many strings with different colors.
    i need to identify the color and giving the marks accordingly like
    test in blue color so
    test marks=2
    how can i do this using java. i only want to know how can i identify the text color using java code.?

    morgalr wrote:
    I guarantee it is not pretty.Indeed.
    I created a Word doc that simply has the word "Blue" in blue, then a space, then the word "Red" in red, all in the default font that Word started with (Times New Roman). The resulting document is 24,064 bytes. It starts off with 80 bytes of various hex values, mostly 0x00.Then 432 bytes of just 0xFF. Then 2048 bytes of various hex values, mostly 0x00. Then the text "Blue Red" (which appears twice more in the file). And so on...
    Edited by: jverd on May 10, 2010 8:45 AM

  • How to find the recent changes done in the workflow by user id ?

    Hello all,
    How to find the recent changes done in the workflow by user id ?
    I have made changed in Production system .
    Like changing the status ,
    changing the agent ,
    but for these it will , not ask for any request .
    So i want to know is there any method to find what are the changes done by me ?
    Thanks and regards
    Prem

    Hi,
    This is caused by mandant settings in scc4. It's better not to make changes in PRD, because then your DEV en QA systems differ.
    Kind regards, Rob Dielemans

  • How to identify the variable processing type

    Hi Experts,
    How to find the details of the variable whether it is filling with user exit or replacement path
    Say i have a variable xxx , how to identify the above details.
    Thanks,

    use RSZGLOBV table in VNAM give your variable and VPROCTP will give you processing type

Maybe you are looking for

  • My iphone is no longer able to be controlled by speaker dock or car stereo

    I have a speaker dock and also an iphone connection in my car. My iphone 4 still connects to both and I can charge and play music through them, the problem is that the control functionality of both docks no longer works. I can connect friends' iphone

  • Premiere pro cc 2014 black screen or "media offline"

    Almost impossible to do much work in Premiere CC 2014. I use 3 machines in business and Premiere doesn't work with any of them for long. I can be editing fine for about an hour then suddenly my program monitor goes black or says media offline. The on

  • Error after re-installing mac OS X 10.5....

    So I took my Imac to the Mac store and a tech looked at it and came to the conclusion I need to un-install Mac OS X 10.5 and re-install it with a clean slate... I did and at the end of the download an error came up saying about not being able to down

  • Receiver HTTP Adapter Dynamic Query String

    Hello, I am using HTTP Adapter on receiver side. My URL is  <b>http://server:port/abc/def?xyz=123&luw=345</b> When I am using Adapter specific attributes. If I check apply Parameters and pass Parameter 1 as xyz and Parameter 2 as luw and pass their v

  • In sapscript Graphical PC Editor not work, not save text

    Hello Experts. In SAPScripts the Graphical PC Editor does not work. Previously if it worked, now will not save or update the inserted text Is there a note to fix it? I'm Using: - SAP GUI 7.20 patch level 5 - SAP ECC 6.0 Release 701 - Windows XP Offic