Sql  to see the definition of an created trigger

Hy, what sql to use to see the entire definition of an already created trigger of a table?
Thanks

DBMS_METADATA package: http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_metada.htm#ARPLS026
SQL> create or replace trigger emp_trg
  2  before insert
  3  on emp
  4  for each row
  5  begin
  6    null;
  7  end;
  8  /
Trigger created.
SQL> select dbms_metadata.get_ddl('TRIGGER', 'EMP_TRG') from dual;
DBMS_METADATA.GET_DDL('TRIGGER','EMP_TRG')
  CREATE OR REPLACE TRIGGER "HOEK"."EMP_TRG"
before insert
on emp
for each row
begin
  null;
end;
ALTER TRIGGER "HOEK"."EMP_TRG" ENABLE
1 row selected.

Similar Messages

  • I don't see the table I had create with the command line

    hi ,
    I just install sql developer, and connect to mydatabase, but I see a lot of tables who are not mine, but I don't see the one I have created. so could you tell me haow t make my tables to appear. or if I have to recreate them with wich command in sql developer? thanks

    Stranger.
    You do not need to recreate tables in the SQL Developer.
    The tables that you created and that they are in the database must be visualized, in accordance with the permissions.
    You are connected to the SQL Developer with the same user that created the table (owner)?
    The table that you desire to see appears below in the result of the command?
    select * from user_tables;

  • When in dark mode, I'm unable to see the definitions on the screen when I'm looking up a word.  Is there a fix for this?

    When in dark mode, I'm unable to see the definitions on the screen when I'm looking up a word.  Is there a fix for this?

    Looking up definitions on the screen using Apple Dictionary? What application? Using shift+command+4, capture what you are referring to, and then use the camera icon in this posting toolbar to include it in your response.

  • BI Publisher: not able to see the xml data after creating a data model

    I am learning BI publisher and trying to create a report data model
    I created a new data model from the report tab, use query builder, able to see the results. Then i save it and try to launch XML view from clicking View .
    I am getting unexpected exception, not able to see the XML view .
    in the server console i got servlet exception, here is one of the line
    com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303
    Edited by: joysaha123 on Mar 17, 2010 6:07 PM

    Hi karthik
    Thanks for your response
    Actually iam a beginner in java coding hence struggling to come up with the things
    I tried putting your code and onserver side i see it is returning 09:12:17,234 INFO [STDOUT] [root: null]
    actually the same program i wrote in java
    and the same method i was calling from the main
    and it is working fine and the xml document is getting displayed one important thing to be noted here is that the factory.newDocumentBuilder().parse(new File(filename));is returing XmlDocument
    and the printing takes place
    but the in same method public static Document parseXMLFile(String filename, boolean b) in servlet
    the line factory.newDocumentBuilder().parse(new File(filename)); is returning DeferredDocumentImpl
    and this creating problem , had it returned XmlDocument
    i would have printed the elements one one
    but as it is returning deferredimpl
    iam unable to print the elements
    could you please tell me why factory.newDocumentBuilder().parse(new File(filename)); is returning DeferredDocumentImpl
    in servlets but in plain java pogram it is returing XmlDocument
    Thanks
    Bhanu

  • Why cann't i see the cube that i create with owb    ??

    hello:
    owb version:10.1.0.4
    db version:10.2.1.0.1
    Business Intelligence 10.1.2.0.2
    windows 2003
    i use owb create 3 dimensions and 1 cube,and deploy on target schema successfully.
    and export the metadata to eex file, and import eex file into discoverer administrator ,when create workbook i can see the cube created with owb;
    then i selected ORACLE BI DISCOVERER option to connect target_schema,so i can see my cube and dimension;
    but when i selected ORACLE BI DISCOVERER FOR OLAP option to connect target_schema, login in successful , but when i create my workbook ,cann't see my cube and demension
    why for this,and how to do it,so i can see them?
    pls help me!

    There are three ways to deploy a multi-dimensional model and the final model selection depends on the database options you have purchased and they tools you have at your displosal:
    relational access - You can define relational cubes and dimensions within OWB and deploy these to your target schema. The dimensions are implemented as query re-write objects and can be viewed within the view USER_DIMENSIONS. The data relating to the dimension is stored within a simple relational table, either as a snowflake or star schema format. The cube object does not really exist as such but is implemented as fact table. Typically, access to this type of implementation is via Discoverer and you need to create a Discoverer EUL to view the deployed tables. Within Discoverer you will not see the dimension or cubes listed but you will see tables and/or views relating to your deployed schema.
    The Discoverer Bridge will create the eex/EUL file to install the schema within Discoverer Administrator. However, you must use Discoverer Plus/Viewer with the relational connection details.
    As an FYI the management of Discoverer EULs is integrated within OWB 10gR2.
    OLAP models - OWB also supports the deployment a schema as either a relational OLAP model or within an analytic workspace (this creates a MOLAP model). The OLAP deployment can be viewed only using Discoverer OLAP, however, management of the schema does not require an EUL and the administration is managed by Discoverer Administrator. All the administration is managed by OWB. To access a multi-dimensional model using Discoverer OLAP you must first run the OLAP bridge from within OWB. This will deploy all the required metadata for Discoverer OLAP to connect to your schema.
    However, I would recommend you urgently upgrade to OWB10gR2 as this provides additional tuning options for the OLAP data model that are not present in your current version of OWB 10.1.0.4. Unfortunately, with your current OWB version building an OLAP model is a two stage process, a form of data staging. You need to create a relational target schema first and then replicate that target schema within an OLAP model. OWB10gR2 allows you to map data from a source object directly to a multi-dimensional object with no need to stage the data.
    If you cannot upgrade at this point my suggestion would be to use OWB to design the target relational schema and then use Analytic Workspace Manager (AWM) to design your OLAP schema for Discoverer OLAP access. AWM will provide you with all the tools for tuning and managing your OLAP model within a 10gR2 database schema.
    Once you have upgraded to OWB10gR2 you can stop using AWM as all the tuning features are within OWB.
    Hope this makes sense and is helpful.
    Keith

  • How to see the table entries after creating the tansaction XD01

    I creat customer initial screen through Transaction XD01.
    After creating customer initial screen how can i see the yable entries.

    Hi,
    The customer entries are stored in table KNA1.
    Regards,
    Himanshu

  • Can i see the DC that are created under track

    Hi
    ihave created 3 DCs under a track but i did not check in now nwds is not working properly, if i reinstall my nwds can i see that those dc thats i have created under that track......
    thanks
    kishore

    Hi,
         Of course  u can see the dc component after reinstall.
        But u have to build the dc component again.
    Just copy the Dc from the workspace to some other location and reinstall.
    After this , copy the dc component and paste it in the Workspace .
    go to the development infrastructure , here build all the Contained Dcs .
    Right Click -->Local development > my Componenet>Build all Contained Dcs.
    Thanks and regards
    Fazal

  • HT5625 When I sync my iPhone to my Mac I do not see the photo folders I created . How do i copy the folders to my Mac so that I can then sync/copy them back to my iPas?

    How do I sync/copy the photo albums I created on my 4S to my Mac and then to my iPad?

    Hello, see if these help...
    http://support.apple.com/kb/ht4236
    https://discussions.apple.com/thread/5058589?start=0&tstart=0

  • Can't see the 'Buy' icon after creating a ringtone

    When creating a rington on my laptop, which is where I have my primary library, I cannot see or click on the 'Buy' icon. I am unable to drag anything on the screen to move that box so that I can buy the ringtone. When I do this on a different pc I do not have this problem, but I need to use my laptop since one cannot evidently load a ringtone from one pc without clearing everything else on your iPhone. Help!

    Change your laptop's display settings to 1024x768 in the Control Panel.

  • Create a public access site to see the documents which are created by administrator

    Hi ,
    I am new to the sharepoint. I would like to create a public facing sharepoint 2013 site .
    Main requirement is Administrator must login to site and create a documents in library.  Those documents must visible to everyone. So that site must be public facing. 
    Please let me know step by step how to resolve it as I am new to this.
    Regards,
    Raj

    Hi,
    From your description, my understanding is that you want to let all users have permission to access a document.
    The first method you could create a public facing site with method below:
    1.      
    You should change settings in CA and your site. You could refer to this article:
    http://blog.cloudshare.com/2012/10/15/how-to-enable-anonymous-access-to-a-sharepoint-2013-site/.This is a video for you:
    How to make your SharePoint 2013 site a public facing website?
    https://www.youtube.com/watch?v=SnOmtE1x8JM
    2.      
    Add your document into the home page: Click gear icon -> edit page -> INSERT tab in the Ribbon -> Web Part -> select your document -> Save.
    The second method you could accomplish your requirement via manage your document permission:
    1.      
    Enter your document library.
    2.      
    Click Library Setting in the Ribbon.
    3.      
    Click
    Permissions for this document library under Permissions And Management section.
    4.      
    Click Stop Inheriting Permissions in the Ribbon.
    5.      
    Click Grant Permissions in the Ribbon.
    6.      
    Enter everyone and choose view only as the screenshot below.
    7.      
    Then users can access this document library via its URL(in my case it is:
    http://sp/sites/sharepoint2013/Shared%20Documents/Forms/AllItems.aspx).
    Best Regards
    Vincent Han
    TechNet Community Support

  • What is t-code or path see the error message while creating Purchase order

    Hi,
    I am creating PO and I have not maintained Info Record.While cretaing PO it is throwing warning message.Now I want to convert this to error message.How to do this.
    Regards
    Raghavendra Pai

    Hi,
    You can alter the message at SPRO->Materials management->Purchasing->Environment data->Define attributes of system message.
    Here in the system message, go to  message number 341, then change category from W to E.
    Regards

  • URGENT: I can't see the Invoice commitment after creating the Invoice/PO

    Dears,
    I have created PO related project and i checked the PO commitments and it's reflected in the PSI. After that i have created invoice matched to PO it was supposed that the Commitment in the PSI changed from PO to supplier invoice but this wasn't the action, the commitment remain PO, please advice what should i do?!!!!
    Thanks in advance

    Hi,
    In your first case where the issue is there, while running PRC: Interface Supplier cost what was the value of two parameters ? Interface Supplier Invoices ? and Interface Reciept Acrruals.
    Please go through the details of parameters while doing ISC.
    PRC: Interface Supplier cost The available parameters are:
    Interface Supplier Invoices: Yes / No / Accrued Cost Only
    Interface Receipt Accruals: Yes / No
    Set A: you run that process with the following parameters' combination:
    Invoices =Yes, Receipts = No,
    The system will not interface receipt accrual transactions from PO to Projects. It will only interface the supplier
    invoice distributions at the full invoiced amount.
    Set B: you run that process with the following parameters' combination:
    Invoices = Yes, Receipts = Yes,
    The system will interface the receipt accrual transactions from PO to Projects, only if the supplier invoice full
    amount was not yet interfaced. On the other end, when looking at the supplier invoices distribution the process will
    interface the variances amounts if it finds that the receipt accrual transactions were already interfaced. Otherwise,
    the process interfaces the entire invoice distribution amount.
    Thanks

  • How do I get all administrators to see the 'My Subscriptions' that I have created?

    hi,
    We are running Microsoft Reporting Services 2012. If I create a new subscription under 'My Subscriptions' I can see them when I log in. However there are several administrators who belong to the Domain Administrators
    group (as I do) who cannot see the subscriptions that I create and I cant see theirs either.
    Under Site Settings >> Security, each of the administrators is set there with both 'System Administrator' and 'System User' checked, as is the Domain administrator account and the Domain Administrators
    group, of which we are all a member of.
    Is there anything else I can do to have all the subscriptions visible to everyone who is a domain administrator?
    Thanks in advance,
    JR

    Hi JR,
    In Reporting Services, we can manage all subscriptions with Content Manager Role in Report Manager. Using this task, we can view, modify, and delete any subscription for reports and linked reports, regardless of who owns the subscription. But we need navigate
    to an individual report, then go to the Subscriptions tab to manage the dependent subscriptions. While use the My Subscriptions page, you can view all of your subscriptions in one place. From this page, you can access and modify or delete any subscription
    that you own. You own only the subscriptions that you create. So we cannot view all subscriptions in the My Subscriptions page.
    Alternatively, we can use Transact-SQL script to list all existing subscriptions with the schedule data. For more details, please see:
    http://gallery.technet.microsoft.com/scriptcenter/List-all-SSRS-subscriptions-968ae4d5
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Create logon for users to see the application only?

    Hello,
    I just built my application and I want to create a logon for only the user to see the application. I created a new user under Admin with no developer and administrator priveleges. I logout and when I logon as the new user, there is nothing on that page. How do I link the application that I built from developer logon to the new user's logon page. Basically, I want to logon as the new user and just see the application that was built. Any help would be appreciated.

    Dung,
    To run the application, do not use the URL that takes you to the Application Builder. Start a new browser session and use a URL like http://host:port/pls/DAD/f?p=5000:1, where 5000 is your application's ID (example only) and page 1 is the page to display after login. Your application will probably have the default HTML DB authentication scheme so that you'll see a login page first, then go to page 1 after authentication.
    Scott

  • DPM 2012 Install Fails, The Database was not Created ID 811

    Hi.
    I've tried installing DPM on a Standalone Server (SQL + DPM), and get the "Database was not Created" error. I initially tried DPM 2012 R2, and found that there is an issue with Disjoint Namespaces, so went to DPM 2012 SP1, but still getting
    the same error.
    The Install Account has full access rights (sysadmin) to the DPM SQL Instance, however cannot seem to get it right. The account using to do the install has full Enterprise admin, Domain Admin, Backup Operators & Administrators rights.
    When opeining SQL Managemet studio, I can see the database has been created but the setup fails and requires me to revert.Here is the last few lines of the Install Log File, please help I always mark as answer.
    2014-10-01 08:54:49 PM] Information : Configuration.DBConfigurator: Setting Read_Committed_SnapShot ON
    [2014-10-01 08:54:49 PM] Information : Creating tables
    [2014-10-01 08:54:49 PM] Information : Execute the SQL script
    [2014-10-01 08:54:49 PM] Data : FileName = "D:\Program Files\Microsoft System Center 2012\DPM\SQL\100\Tools\Binn\SQLCMD.EXE"
    [2014-10-01 08:54:49 PM] Data : Arguments = -b -E -d DPMDB_S_PRODBACKUP -i MiniSetupDBConfiguration.sql -r -S S-PRODBACKUP\SCDPM
    [2014-10-01 08:54:49 PM] Data : Error code = 0
    [2014-10-01 08:54:49 PM] Information : Adding DPM Server entry in tbl_AM_Server table
    [2014-10-01 08:54:49 PM] Information : Preloading Microsoft.Internal.EnterpriseStorage.Dls.AgentManager.DB.InstalledAgents
    [2014-10-01 08:54:49 PM] Information : Preloading Microsoft.Internal.EnterpriseStorage.Dls.EngineUICommon.DpmThreadPool
    [2014-10-01 08:54:50 PM] Data : Database connection string = Integrated Security=SSPI;server=S-PRODBACKUP\SCDPM;Pooling=false;database=DPMDB_S_PRODBACKUP;Pooling=false
    [2014-10-01 08:54:50 PM] Information : Grant execute permissions on dbo.prc_MOM_ProductionServer_Get to DPMDBReaders$S-PRODBACKUP
    [2014-10-01 08:54:50 PM] Information : Grant execute permissions on dbo.prc_MOM_HeartBeat_Get to DPMDBReaders$S-PRODBACKUP
    [2014-10-01 08:54:50 PM] Information : Configuration.DBConfigurator: Registering DPM category
    [2014-10-01 08:54:50 PM] Information : Configuration.DBConfigurator: Adding DPM Category to GlobalSettings table
    [2014-10-01 08:54:50 PM] Information : Configuration.DBConfigurator: Adding ConsiderOfflineMediaToCheckOffsiteReady to GlobalSettings table
    [2014-10-01 08:54:50 PM] Information : Add job definitions
    [2014-10-01 08:54:52 PM] Information : Creating schedules
    [2014-10-01 08:55:00 PM] * Exception :  => System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x800706BE): The remote procedure call failed. (Exception
    from HRESULT: 0x800706BE)
       at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
       at Microsoft.Internal.EnterpriseStorage.Dls.Engine.CProxyUtils.HandleErrors(Int32 hr, tagSAFEARRAY* exceptionResult)
       at Microsoft.Internal.EnterpriseStorage.Dls.Engine.SchedulerServicesProxy.Register(String scheduleXml)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.RegisterScheduleXml(String scheduleXml)
    [2014-10-01 08:55:00 PM] * Exception :  => The DPM database was not created.Use Add or Remove Programs in Control Panel to remove the DPM files and registry entries that were created during Setup. Verify that SQL Server is properly installed and that
    it is running, and then run Setup again.Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.BackEndErrorException: exception ---> Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.DatabaseConfigurationException: exception ---> System.Reflection.TargetInvocationException:
    Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x800706BE): The remote procedure call failed. (Exception from HRESULT: 0x800706BE)
       at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
       at Microsoft.Internal.EnterpriseStorage.Dls.Engine.CProxyUtils.HandleErrors(Int32 hr, tagSAFEARRAY* exceptionResult)
       at Microsoft.Internal.EnterpriseStorage.Dls.Engine.SchedulerServicesProxy.Register(String scheduleXml)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.RegisterScheduleXml(String scheduleXml)
       --- End of inner exception stack trace ---
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.RegisterScheduleXml(String scheduleXml)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.RegisterSchedule(String scheduleXmlFile)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.PopulateDefaultScheduleDefinitionsInDatabase(DBConfigurationReader dbCfgReader)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.AddJobAndScheduleDefinitions()
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.MiniSetupConfiguration.PopulateDB(Boolean upgrading, Boolean isRemoteDb, String sqlServerMachineName)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.BackEnd.MachineSpecificConfiguration(Boolean existingDB, Boolean upgrading, Boolean isRemoteDb, String sqlServerMachineName, String instanceName)
    *** Mojito error was: DatabaseCreateFailed; 0; None
       --- End of inner exception stack trace ---
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.BackEnd.MachineSpecificConfiguration(Boolean existingDB, Boolean upgrading, Boolean isRemoteDb, String sqlServerMachineName, String instanceName)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.BackEnd.Configure(Boolean existingDB, Boolean upgrading, String databaseLocation, String sqlServerMachineName, String instanceName, Boolean oemSetup)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.DpmInstaller.Configure()
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.ProgressPage.InstallDpm()
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.ProgressPage.InstallerThreadEntry()
    *** Mojito error was: DatabaseCreateFailed; 0; None
    [2014-10-01 08:55:02 PM] *** Error : The DPM database was not created.
    Use Add or Remove Programs in Control Panel to remove the DPM files and registry entries that were created during Setup. Verify that SQL Server is properly installed and that it is running, and then run Setup again.
    ID: 811
    [2014-10-01 08:55:02 PM] Information : Data Protection Manager installation has failed. To return the server to its original state, you must uninstall Data Protection Manager by using Add or Remove Programs in Control Panel. This will remove all files and components
    copied during installation.
    For details, click the Error tab.
    [2014-10-01 09:33:51 PM] Data : Error Code Web Link =
    http://go.microsoft.com/fwlink/events.asp?ProdName=Microsoft System Center Data Protection Manager&ProdVer=4.1.3313.0&EvtID=811&EvtSrc=MSDPM&LCID=1033&P2wAppId=p2wMsdpmEE

    Hi,
    Check the SQL Agent account on the remote SQL server and make sure the user account syntax is in the form of UserName\DomainName and not UserName@DomainName - if it is change it.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This
    posting is provided "AS IS" with no warranties, and confers no rights.

Maybe you are looking for

  • Do we need to install microsoft cluster software for RAC 10G

    Hi all, Our company wants to install ORACLE 10G RAC on windows 2003 R2. Based on the pre-requisites I asked network guys to provide me the shared disk storage from SAN, but they insist that this storage will not be accessible until we have windows cl

  • Can't zoom with trackpad in safari how can i solve that?

    Help please!!! can't zoom with trackpad in safari how can i solve that?

  • Error when searching for entries in secure store

    Hi All,   I need to assign the certificate in the sender agreement  for signature verification and decrpting. So when i search for entries, i am getting the error as " Error when searching for entries in Secure Store". Details of the Error is showing

  • Delta Linked object: reset attribute to inherit from parent

    Hi all, I inherited an ESS system where the SAP content had changes made to it.  The SAP supplied Employee Self-Service Role had some of the worksets set to Invisible in Navigation Areas.  I would like to clear the indicator that says that attribute

  • SQL query tune up

    How can I optimize below query? DELETE FROM #Data WHERE ID NOT IN (SELECT MIN(ID) FROM #Data GROUP BY SerialNumber, VendorName) It takes like upto 2 minutes to execute. Here is the table structure: CREATE TABLE #Data ID INT IDENTITY (1, 1), ItemSuppl