Can we use TCL commands in database triggers?

Hi,
GoodDay, This is Ramesh. Please let me know that, can we use TCL (Commit, Rollback & Savepoint) commands in our[b] DATABASE triggers? If so how..?
Regards,
Ramesh.

Hi Ramesh, you're in the wrong forum; SQL Developer is a tool. Try SQL And PL/SQL...
Regards,
K.

Similar Messages

  • How can I use srvctl command line for change "Failover type" and "F method"

    Hi all,
    I am using Oracle One Node (11.2.0.3), and I have a service:
    /u01/11.2.0/grid/bin/srvctl config service -d orcl
    Service name: orcldb
    Service is enabled
    Server pool: orcl
    Cardinality: 1
    Disconnect: false
    Service role: PRIMARY
    Management policy: AUTOMATIC
    DTP transaction: false
    AQ HA notifications: false
    Failover type: NONE
    Failover method: NONE
    TAF failover retries: 0
    TAF failover delay: 0
    Connection Load Balancing Goal: LONG
    Runtime Load Balancing Goal: NONE
    TAF policy specification: BASIC
    Edition:
    Preferred instances: orcl_1
    Available instances:
    I would like to change "Failover type" and "Failover method" to:
    Failover type: SELECT
    Failover method: BASIC
    How can I do that? Is there any graphical tool for it? Or, How can I use srvctl command line for change it?
    Thanks in advance.
    Leonardo.

    user10674190 wrote:
    Hi all,
    I am using Oracle One Node (11.2.0.3), and I have a service:
    /u01/11.2.0/grid/bin/srvctl config service -d orcl
    Service name: orcldb
    Service is enabled
    Server pool: orcl
    Cardinality: 1
    Disconnect: false
    Service role: PRIMARY
    Management policy: AUTOMATIC
    DTP transaction: false
    AQ HA notifications: false
    Failover type: NONE
    Failover method: NONE
    TAF failover retries: 0
    TAF failover delay: 0
    Connection Load Balancing Goal: LONG
    Runtime Load Balancing Goal: NONE
    TAF policy specification: BASIC
    Edition:
    Preferred instances: orcl_1
    Available instances:
    I would like to change "Failover type" and "Failover method" to:
    Failover type: SELECT
    Failover method: BASIC
    How can I do that? Is there any graphical tool for it? Or, How can I use srvctl command line for change it?
    Thanks in advance.
    Leonardo.srvctl modify service -d database_name -s orcldb -q TRUE -m BASIC -P BASIC -e SELECT -z 180 -w 5 -j LONG
    Also see
    11gR2(11.2) RAC TAF Configuration for Admin and Policy Managed Databases [ID 1312749.1]

  • Can I use more than one database connections in a jdeveloper project?

    I use jdeveloper version 9.0.4.0 (build 1407),Can I use more than one database connections in one jdeveloper project?

    9.0.4 is a fairly old version, so you may only find a few people who know how it worked.
    Assuming you're using ADF BC, once known as BC4J, once know as JBO, in the project, and that the architecture hasn't changed much, then the answer is only 1 connection per project.
    Programmatically you're free to use as many connections via JEE as you see fit, but ADF BC is limited to one connection.
    CM.

  • Can I use short commands in CCNA exam

    Can I use short commands in CCNA exam
    for example
    “conf t” instead of “configure terminal”

    Sim questions are always answered by configuring
    something!
    The Exam Engine grades the running config, not the
    startup config
    Before exam day …
    Practice as much as you can (real gear, simulators, sample
    tests, read every configuration in books, repeat labs while in
    class, etc.)
    Use multiple sources for practice/review of configurations
    Exam day …
    Do what you can—partial credit!!!
    Start with “show running-config”
    There are no style points!
    You can use the short version of commands on the exam.

  • How can I use unix commands from oracle report

    I have to use the following command from oracle reports.
    In oracle forms we can use the HOST command but what about oracle reports2.5.
    I have to email the attached file 100245.pdf from oracle reports to the given email id
    uuencode 100245.pdf 100245.pdf | mailx -s "test" [email protected]

    Hi,
    It's because .bat (or .cmd) files are scripts and not executables and are interpreted using the command line executable - which is normally cmd.exe (although you can buy others).
    So you need to call cmd.exe passing the bat file name as a parameter, something like
    cmd.exe /c batchfilename
    Without the /c you will never get a response.
    However, this brings us to the bizarre conclusion that you are going to:
    call cmd.exe (a shell interpreter)
    to launch a batch file
    that calls cygwin (another shell interpreter)
    which then runs ls
    When shouldn't that just be:
    call cmd.exe to run the dir command
    Or better yet, If you are just after a file name listing and you seem to understand Java stored procs, why not just write a JSP to list the contents of a directory? No problems with OS dependant commands, scripts and 3rd party interpreters. Plenty of examples of that out on the internet as well.
    HTH
    Chris

  • Can i use java only for database transaction with vb as a front end

    Hello All.
    I am sorry,i don't know whether this location is the correct location to post my question or not
    I have developed one application using complete vb only. That is completly desktop appliation and not suitable for centralized database. Is there any facility to keep my front end as same (vb application) and for the database transaction can i use jdbc? Is there any possibility to do that like View is vb based application and the database connectivity is only jdbc
    If my thought is wrongplease execuse me.
    thanks in advance
    sowjanya

    Sounds like a really bad choice even if it was possible.

  • How can I use this command?

    Why can't I use the command fdisk on Fedora8?
    [root@localhost SCOTT]# fdisk -l
    bash: fdisk: command not found

    [root@fedora ~]# ls /sbin/fdisk -l
    -rwxr-xr-x 1 root root 94924 2007-10-16 16:48 /sbin/fdisk
    [root@fedora ~]# /sbin/fdisk
    Usage: fdisk [-l] [-b SSZ] [-u] device
    E.g.: fdisk /dev/hda (for the first IDE disk)
    or: fdisk /dev/sdc (for the third SCSI disk)
    or: fdisk /dev/eda (for the first PS/2 ESDI drive)
    or: fdisk /dev/rd/c0d0 or: fdisk /dev/ida/c0d0 (for RAID devices)
    [root@fedora ~]# rpm -qa | grep util-linux
    util-linux-ng-2.13-3.fc8
    [root@fedora ~]#

  • Need Help Can i use Merge command along with exist function in oracle?

    I am using Merge command to update the destination table and updating the rows which are already in the destination table.
    But what i want is to delete the existing rows from the destination table and insert fresh rows instead of updating the existing rows in the destination table.
    So can we use exist function to check the existing rows and delete them and use merge command to insert the rows in the table.

    You definitely need to do a DELETE then INSERT since MERGE will not delete rows, although I'm not really sure what that gets you since the net effect would be the same as a MERGE over the same pair of tables.
    If you really want to do it this way, then I would likely do something like:
    DELETE FROM target_table
    WHERE (columns_you_would_match_on) IN (SELECT columns_you_would_match_on
                                           FROM source_table
                                           WHERE predicate_you_would_use_in_using);
    INSERT INTO target_table (column_list)
    SELECT column_list
    FROM source_table
    WHERE predicate_you_would_use_in_using;John

  • Can I use the Command Line Interface on Unix?

    Hi,
    We use 9iAS on Unix. We want to use Discoverer Command Line Interface on unix to export the worksheet query result. Can anyone know how to do this? I couldn't find out the command similar to dis5usr.exe for windows version.
    Thanks.
    Richard Qiu

    Hello Richard
    You can use the Discoverer EUL Command Line for Java utility. This was released with Discoverer 10g (9.0.4).
    Please refer to the documentation for more information on how to use this command line interface: 'Oracle Discoverer EUL Command Line for Java User's Guide 10g (9.0.4), Part No. B10274_01 (PDF)' The document is available from OTN at http://otn.oracle.com/documentation/discoverer.html
    Regards
    Discoverer Product Management

  • Can I use DMU for this database?

    Hi everyone,
    I am snippeting a CSSCAN ( i know..) so that will reveal the amount of convertible data we have to tackle and wanted everyone's opinion if we can use DMU for this database.
    [Data Dictionary Conversion Summary]
    Datatype Changeless Convertible Truncation Lossy
    VARCHAR2 7,805,484 202 0 0
    CHAR 1,573 0 0 0
    LONG 220,073 0 0 0
    CLOB 91,227 15,718 0 0
    VARRAY 23,479 0 0 0
    Total 8,141,836 15,920 0 0
    Total in percentage 99.805% 0.195% 0.000% 0.000%
    The data dictionary can not be safely migrated using the CSALTER script
    [Application Data Conversion Summary]
    Datatype Changeless Convertible Truncation Lossy
    VARCHAR2 68,382,337 350,836 39 84
    CHAR 322,930 0 0 0
    LONG 0 0 0 0
    CLOB 32,522 13,257 0 0
    VARRAY 1,552 0 0 0
    Total 68,739,341 364,093 39 84
    Total in percentage 99.473% 0.527% 0.000% 0.000%
    I think it should be fine.
    Please let me know.
    thanks

    Hello,
    the amount of convertible has no relation to if you can use dmu or not.
    of course, the less convertible, the less time the conversion process itself will take, but that's about it
    Regards,
    Gunther

  • Can I use Voice Commands (Speech) to control the DVD Player?

    Problem: I want to insert a DVD in the the DVD drive and use voice commands to stop, pause, play, move forward, move back, and quit the DVD Player. Is this possible? If so how would I do this?
    Thanks in advance for your help.
    Jim Minor

    You can create a speakable item. Use AppleScript Editor (Applications > Utilities > AppleScript Editor) to write the appropriate AppleScript to perform the desired action, and give it a name which is the command you want to speak. Then, make a subdirectory in the Speakable Items directory named "DVD Player" and copy your script to it. You should be able to speak the name of the script when DVD Player is in the foreground and have the script execute.
    An example script (Play.scpt):
    tell application "DVD Player"
    play dvd
    end tell
    Other commands that the DVD Player application understands:
    fast forward dvd
    pause dvd
    rewind dvd
    stop dvd
    step dvd
    go to \[ main menu / title menu / subpicture menu / audio menu / angle menu / beginning of disc \]
    press \[ up arrow key / down arrow key / left arrow key / right arrow key / enter key \]
    open VIDEO_TS
    open dvd video folder
    play next chapter
    play bookmark
    play named bookmark
    play video clip
    play named video clip
    exit clip mode
    obscure cursor
    eject dvd
    The DVD Player application also has a bunch of properties related to chapters, titles, subtitles, etc.

  • At CRS-1,how can i use show command with pipe | ?

    HI,ALL
    when I use show command with pipe on the CRS-1,the command invalid
    RP/0/RP0/CPU0:JA-DL-CR-1.MAN.CRS-1#show interfaces | include line |errors 
                                                                       ^
    % Invalid input detected at '^' marker.
    ========================================================
    But Previously on the cisco 7609,I can use the show command
    GZ-DM-SR-1.MAN.7609#show int | include line |err
    Vlan1 is down, line protocol is down
         0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
         0 packets output, 0 bytes, 0 underruns
         0 output errors, 0 interface resets
    Vlan11 is administratively down, line protocol is down
         0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
         0 packets output, 0 bytes, 0 underruns
         0 output errors, 0 interface resets
    Vlan99 is down, line protocol is down
         0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
         0 packets output, 0 bytes, 0 underruns
         0 output errors, 0 interface resets

    RP/0/RP0/CPU0:JA-DL-CR-1.MAN.CRS-1#show interfaces | include line |errors 
                                                                       ^
    % Invalid input detected at '^' marker.
    RP/0/RP0/CPU0:JA-DL-CR-1.MAN.CRS-1#show interfaces | include line |?    

    RP/0/RP0/CPU0:JA-DL-CR-1.MAN.CRS-1#show interfaces | include line | |?
                                                                        ^
    % Invalid input detected at '^' marker.
    RP/0/RP0/CPU0:JA-DL-CR-1.MAN.CRS-1#show interfaces | include line | ?
      begin    Begin with the line that matches
      exclude  Exclude lines that match
      file     Save the configuration
      include  Include lines that match
      utility  A set of common unix utilities
      <cr>    
    RP/0/RP0/CPU0:JA-DL-CR-1.MAN.CRS-1#show interfaces | include line |
    % Incomplete command.
    RP/0/RP0/CPU0:JA-DL-CR-1.MAN.CRS-1#show interfaces | include line |errors
                                                                       ^
    % Invalid input detected at '^' marker.
    RP/0/RP0/CPU0:JA-DL-CR-1.MAN.CRS-1#                                     
    RP/0/RP0/CPU0:JA-DL-CR-1.MAN.CRS-1#show interfaces | include line | ?   
      begin    Begin with the line that matches
      exclude  Exclude lines that match
      file     Save the configuration
      include  Include lines that match
      utility  A set of common unix utilities
      <cr>    
    RP/0/RP0/CPU0:JA-DL-CR-1.MAN.CRS-1#show interfaces | include line |?

    RP/0/RP0/CPU0:JA-DL-CR-1.MAN.CRS-1#show interfaces | include line | include er$
    Thu Jan 15 22:36:24.120 GMT
    RP/0/RP0/CPU0:JA-DL-CR-1.MAN.CRS-1#
    RP/0/RP0/CPU0:JA-DL-CR-1.MAN.CRS-1#show interfaces | include line           
    Thu Jan 15 22:37:05.013 GMT
    Loopback0 is up, line protocol is up
    Loopback1 is up, line protocol is up
    Loopback6 is up, line protocol is up
    Null0 is up, line protocol is up
    POS0/0/0/0 is up, line protocol is up  (APS not Configured )
    POS0/0/1/0 is up, line protocol is up  (APS not Configured )
    TenGigE0/0/4/0 is up, line protocol is up

  • Can I use at command line an import dimension using table interface?

    Hi guys
    I am using EPMA to load some dimensions using the table interface but I want to know if it is possible to lauch it using a command line?
    Regards

    Hi John
    I am facing a strange case, after migrate the developments that call the EPMA Batch Client uding ODI 11.1.1.7 to the test environment. I have various package that load data on the table interfaces
    and in a next step call the epma batch client.
    However when I execute the package, the log file is wrote. However the new customers are not loaded. But If I execute the command (Step on package) that call the epma batch client the log also
    is wrote and the member is loaded.
    Any suggestion about what can be happening and how I can solved.
    Thanks in advance,

  • Help! Can't use java command to execute application

    I can compile using the javac command and that works fine. But then it can't seem to find the class that was just created.
    I get this message:
    "Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld"
    Please help!!!
    Thanks!

    The file is saved as the class name.
    Here's what happens:
    C:\jdk1.2.2\bin>javac HelloWorld.java
    C:\jdk1.2.2\bin>java HelloWorld
    Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld
    Here's the code that I'm trying to get to run:
    The HelloWorld application program
    public class HelloWorld
         public static void main(String argv[])
              System.out.println("Hello World!");
    }

  • JMS Persistent Mode (can I use alternate provider, ie database)

    When I am using JMS Persistence in Queued messages or PubSub, can I use an alternate form of persistence.
    In other words can I run persistence thru a database like DB2 or Oracle, instead of the native support by the SAP engine.
    I dont mean using MQSeries or another JMS provider, but rather having the SAP JMS connect to DB2 or Oracle to provide a more robust form of persistence.
    Is that possible ?
    Thanks, John

    Hello John,
    Yes, that was exactly what I meant. In the download section there is a Sneak preview with Linux and DB2.
    I think that the Sneak preview was available for MS-SQL as well while the official versions support more DBMS-s. However I am certainly no expert on the installation, I have just small JMS experience and I was trying to help.
    Please have a look at :
    SAP WAS 6.40 for Oracle
    where another user was asking about possible installations.
    Best Regards
    Peter

Maybe you are looking for

  • Text Entry Box not displaying

    Hello, I apologize if this has been answered prior, but I've searched and couldn't find a solution (although I might just be terrible at searching). Whenever I do a software simulation recording in a particular Captivate project (I'm running 5.5), th

  • If my Iphone is not working and is not restoring

    My I phone needed to be restore according to itunes. But it was not able to restore due  to error 28. I took my phone to a seller who opened my phone but he was not able to fix it. After that i find out that my warranty was lost and apple can not rep

  • ALV List output limits

    Hello, I have a problem with my ALV List, I use a simple ALV List with much fields and I can't change with ALV Grid, on a specific client works correctly but on another client of the same system I've a dump. Is it possible to set a client dependent l

  • Rectangle highlighting  in PDF file by mouse click

    Hello all, I want to draw a rectangle in PDF in BLACK color. When Customer puts a mouse inside that rectangle and click on it, I would like the rectangle to become RED. Is that possible ? Thanks

  • Sql trace file

    hi, when i am analyzing sql trace file it is showing like 1 sql statement in sql trace file, 1 user sql statements are traced enabling sql_trace=true as a sys user only. is there any problem it is not gathering all the users sql statements.