How to make a insert

ex:
table1(col1,col2,col3)
for each row ,if col3=0 and if update col1 then col2=col1+5.
if you have a solution on the level of the base(trigger...) or the level of forms
that help me.thenk for advance.
yvan
null

On-update trigger, block level write :
IF :col3 = 0
THEN :col2 := :col1 + 5
END IF;
I dont see any prob on that.
null

Similar Messages

  • How to make an insertion point

    Sorry I'm new here... I have tried searching and looked through the tutorials but how do you make an insertion point using CS5?

    Can you elaborate?
    Are you following a tutorial?
    As a guess, you click anywhere on the web page (to make an insertion point) and then go to the next step.

  • How to make an insert script for CLOB data types?

    I need to have an insert script for Oracle 11g where I insert large texts into a CLOB field
    I exported data from a source table using TOAD's export dataset and the insert statements option, so it generates a script of just simple insert into statements with the clob strings in the values clause within single quotes.
    While most of the inserts succeed, several fail with the error: string literal too long
    How can I insert long texts into clobs?
    One workaround I was considering, is maybe breaking up those inserts which are too big, so that it inserts a chunk, and then does an update to append additional chunks? not sure if that would work either
    first wanted to get any ideas from the oracle experts here in case there is a much easier, non-manual labor intensive way.

    Thank you for that informative link, Raj
    I wouldn't be able to use SQL Loader for this though, this is something that gets submitted to a DBA in a request and it must be in a script that can be run in Sql Plus, and it cannot pull it from a table or file.

  • How to make the "insert" key on macbook?

    I try hard to find insert key,not seen.
    what should I do?

    I'm afraid there is no insert-key. If you're just going to do some copy-pasting, try command-C for copy and command-V for paste. command-X is for cut.
    Martin

  • How to make Help view well on both laptops and desktops

    Hi -- I'm trying to learn RoboHelp 7 and just created my first WebHelp project. I want to show it to a friend, but don't have a server I can publish it to, so I copied all the files onto my flash drive and put it on my laptop. It all works fine, which is a relief -- however, the custom colors are way off, and some of the screenshots are now too big, so the user would have to scroll (which can be annoying). I created it on my desktop and have been looking at it on a larger monitor (1680x1050), but the laptop is old (1024x768). The thing is, a lot of people might have to view it on 800x600.
    I couldn't find any information in RH's Help about how I should have set it up so that it views well on different systems. I'm hoping someone could please advise me as to what I should have done, and if there's anything I can do now to fix it, or point me to some information. I used Arial 10 pt for the text, and now it looks 12 pt. Should I have made it 8 pt? Is there a rule for how large an image should be to be viewed on a laptop and a desktop?
    One last thing, it's too large to put on a CD, so is does anyone know how to make this into an executable?
    Thanks in advance for any help you can give!
    Daryl

    Hi Daryl
    I use an eBook compiler to convert WebHelp to an executable file. You might investigate eBook compilers for that bit. However, I'm not sure how that would help you since a compiler will do little more than to take a swarm of WebHelp files and store them in a wrapper to create a single file. Generally you will end up with something that although it exists as a single file, is larger than what is inside.
    Are you SURE it's too big for CD? CD will hold 650 megs (700 if you buy the extended types).
    On the screen size issue WebHelp itself should adapt fine. Probably it's the images you are concerned with. And the general rule of thumb is to capture images at a reasonable size to begin with. Never EVER just insert a big ole image into RoboHelp and grab the sizing handle to make it smaller. It will still consume a larger amount of space and the quality will suffer badly. So the best approach is to copy the image at a reasonable size to begin with. Something that may fit nicely in the Topic Pane area as it is presented in the space provided by the lowest common denominator. In your case I believe you said that many are still at 800x600.
    Your 10 point text will still be 10 points at a smaller resolution. It will just look a bit different.
    Hopefully this helps... Rick
    Click here for Adobe Authorized Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • How to make my iphone stop asking for my friend's Apple ID?

    First question: why does apple website logs me out every minute saying "session time out" or something(i'm using chrome on iPad)..!
    Second Question: why after i typed such a big question and when i switch tab and come back to this tab, the tex disappears (both chrome and safari for iPad)?
    Before going to my actual question:
    I(from USA) have an iPhone 5 and iPad 4, and bought the same for my dad(India), He has his own apple account and mine is separate.
    I've recently send the iPhone 5 (factory unlocking it for 10$ before sending it to him- I have proof of purchase for all 4 devices)  after the 5s is released.
    Third question: Why can't I add my dad's(Indian) phone number for iMessage?
    Since I used that phone with my USA SIM card for 1 day before sending it to him, it remembered my phone number, but even after trying everything except complete reset on my dad's iPhone( since he can't manage to download all apps from scratch again) and didn't get a new sim yet, we tried everything but I couldn't make the Apple ID remember my dad's phone number..!
    Fourth question: As my laptop broke, I used my friend's Mac to check the unlock is successful or not! Now when my dad tries to install an app from AppStore from his iPhone, it asks for password of my friend's Apple ID ,
    My question is how to add his phone number and how to make it forget my friend's Apple ID
    In Apple.com> manage Id> it doesn't show my friend's id anywhere. Do I need to de-authorize from his Mac?

    Hi, I've tried a reset all, and restored from another backup(iCloud) and it stopped asking my friend's Apple ID(its been two days i've restored, and my didn't complain yet).
    next, i've already tried all the steps you said.
    my dad uses his gmail account for apple devices(same id for his iPad too), and i already checked "My Phone" number is set to my dad's phone number.
    i asked my dad to turn off iMessage and Facetime, removed the sim, reset network settings and when he inserted the sim back, it shows his number, when he turns on the iMessage and  logs in using his email, it shows my phone number..!
    i went to view account, and it redirected to appleid.apple.com and i can see his phone number in the account.
    checked the location, set to India, time zone and everything looks fine.
    But the Apple ID is remembering my number instead of registering his number..!
    BTW, can you elaborate your reply for my 3rd Question.
    I've created a contact record with his name, phone number(with country code) and email addresses.
    Now what is the next step..?
    "setup phone to register with iMessage" can you explain this.
    I'm planning to remove sim in my phone, restore it to new device, setup the required softwares etc, take an iCloud back-up and ask him to restore from that backup. Since, the Apple ID doesn't know any phone number, when he inserts sim and turns on iMessage it should register the new number..!

  • How to make an index in InDesign CC 2014.1 using a topics list?

    Hi all,
    I have read the long help document on how to make an index in InDesign CC 2014.1 using a topics list, and still can't work out what to do.
    I have done a 548 page book, using a document for each chapter, and a book file to put them all together in the right order.
    I now need to make an index at the back, as the author has many quotes throughout the book at the start of each chapter and section.
    I have a list of those people quoted and want to upload this list and get the index feature in InDesign to find all instances of the name occurring in the entire book.
    After reading the help document I still cannot work out how to do this.
    My questions are:
    1. Do you have to use an InDesign document as a source for the list of topics? If so, should the document be added to the book file or outside it?
    It seems a bit recursive to have the list of topics in an ID document that is in the book file.
    2. Once you have uploaded the topics into the Index feature, how do you get it to look for all instances of that 'topic' througout the entire book? I can't figure that out from the help documents. What do I select? Do I do it from the Index panel? Do I highlight the text in the source document? Not sure how to do this...
    3. I need the names to list surname first of the quoted authors in the index. This command seems to be different between various editions of ID. For ID CC 2014.1 is it ctrl+alt+shift+]
    4. To make the surname show first, what do I highlight? The topic? and then do ctrl+alt+shift+] and select find all as well? Or do I have to just go through the text and manually do this and ditch the idea of uploading topics first?
    I am confused as you can see and any help with this is appreciated.

    Sorry 007, I really thought you were posting a trick question as on the OCP tests.
    Anyway, as Justin mentioned, if you have an index on ename, it may be used when doing a comparison predicate statement with the ename value.
    What it depends on are several other things: stats, how many rows in the table, use of an index hint, etc.
    Rather than questioning the group on this, why not just turn on autotrace and run the query for the different scenarios.
    The output will show you if it used the index, number of rows returned, blocks read, etc.
    SQL> create table emp (ename  varchar2(40));
    Table created.
    SQL> insert into emp select username from sys.dba_users;
    25 rows created.
    SQL> commit;
    Commit complete.
    SQL> set autotrace on
    SQL> select * from emp where ename != 'SYSTEM';
    Execution Plan
    Plan hash value: 2951343571
    | Id  | Operation        | Name      | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT |           |    24 |   528 |     1   (0)| 00:00:01 |
    |*  1 |  INDEX FULL SCAN | ENAME_IDX |    24 |   528 |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter("ENAME"<>'SYSTEM')As you can see, the above used an index, even though there were only 25 rows in the table.
    You can test each of your scenarios, one by one, including use of a hint.

  • How to make a field Mandatory in a Table view?

    How to make a field Mandatory in a Table view?
    The requirement is, the user should not be able to append a new Row, unless and untill he enteres the data in the column SOLD-TO. Now how do i acheive making this field madatory. Normally in Edit form view, we can go in customizing and flag Mandatory, for table view we don't have this option.
    Please can anyone of you guide me in this approach?
    Jagadish.G

    Hi Jagadish,
    have a look in this thread, part of the code you can use in eh_insert method or logic to write enable/disable insert button.
    Re: Assignment Block Mandatory
    regards
    Ismail
    Edited by: Ismail Shaik on Oct 21, 2009 11:36 AM

  • How to make project across two DVDs with one DVD menu

    Hi!
    I’m working on a large project (3 hours of video with about 10 chapters, over 50 pictures in a playlist, and special feature chapter) and wondering is it possible to make an project across 2 or more DVDs, but to have menu only on first one? I’d like to make an project that comes with menu only on first DVD and when you click on e.g. “special features” button, then you get the message “please insert DVD 2″
    Is it possible and how to make something like that?
    Thank you!

    I would have EACH DVD begin with a menu. Somebody will insert DVD 2 first no matter how you label things.
    Yes, you are right! People just don't want to read, but I'm making an animated menu in AE and it'll take about 300MB (rendered in .mpg). That is what I want to avoid on other DVDs to save some space. You just gave me an idea so I'll make some small menu for other one or two DVDs with just a few informations about what DVD is inserted and what DVD you need to insert if you want to watch something else from that project. Thank you!
    I just have to learn better Encore and its capabilities and limitations (if I have time )

  • How to make a 2nd player in this racing game.

    I'm using this tutorial to learn how to make games in Flash for a class, but it doesn't say how to make a 2nd player.
    If somebody can show me the code to make alternative controls (W,S,A,D) for a 2nd car that'd be fantastic!
    Thanks a lot,
    Dd
    http://www.emanueleferonato.com/2007/05/15/create-a-flash-racing-game-tutorial/

    if (_root["car"+who].code == "player") {           
    if (Key.isDown(Key.DOWN)) {
                   this["speed"+who] -= _root.backSpeed;
              //steer left - well, we could simply add or subtract a fixed angle (in degrees) to/from the car's rotation, but that's not good enough. In order to simulate a natural movement, steering must depend on speed, otherwise you will be able to rotate your car even if it's almost stopped and it will look like a propeller
              if (Key.isDown(Key.LEFT) && this["speed"+who]>0.3) {
                   _root["car"+who]._rotation -= _root.rotationStep*(this["speed"+who]/_root.maxSpeed);
              //steer right - you already know what happens here
              if (Key.isDown(Key.RIGHT) && this["speed"+who]>0.3) {
                   _root["car"+who]._rotation += _root.rotationStep*(this["speed"+who]/_root.maxSpeed);
    You basically have to make a second conditional clause that starts:
    if (_root["car"+who].code == "player2") {           
    if (Key.isDown(/*Insert KeyCodeValue of the Key you want to use*/)) {....
    The AS2 keycodes can be found here:
    http://www.adobe.com/livedocs/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001136.html

  • How to make use of BAPI_CATIMESHEETMGR_CHANGE

    Hi All,
           We need to make use of BAPI_CATIMESHEETMGR_CHANGE for changing entered hours against an activity instead of adding new row for the same(BAPI_CATIMESHEETMGR_INSERT does that ) . Please guide me what all table parameters we should supply while executing this FM.
    Regards,
    Ganga.

    Hi Senthil,
    Now I have got how to make use of BAPI insert and change. But problme is when I need to add an hours entry for , say tuesaday of activity A for which already HAS monday hours,I am using  BAPI_CATIMESHEETMGR_INSERT AND IT IS ADDING ONE MORE ROW AS SHHOWN BELOW
    . But it adding new row. How top overcome this.
    <b>       Monday
          A     2</b>
    After insert
    <b>      Monday  Tuesday
          A     2
          A            3</b>
    =----
    SHould I use delete and insert.
    Please help me..;
    Regards,
    Ganga
    Message was edited by:
            Gangadharayya Hiremath
    Message was edited by:
            Gangadharayya Hiremath

  • How to make form register in adobe edge?

    hy, how to make coding form register in adobe edge? please help me

    hy, master uboss..
    could i ask again?
    i was tried it as your suggestion but after i fill it data still cant send to database..
    could you give some suggestion longer?
    file connection.php
    <?php
    $host = "localhost";
    $user = "root";
    $password = "";
    $database = "register";
    mysql_connect($host,$user,$password) or die ("database tidak terhubung, cek koneksi");
    mysql_select_db($database);
    ?>
    file proses.php
    <?php
    include "koneksi.php";
    $password=$_POST['password'];
    $username=$_POST['username'];
    $email=$_POST['email'];
    $fullname=$_POST['fullname'];
    $query=mysql_query("insert into daftar(password, username, email, fullname)
    value('$password','$username','$email','$fullname')");
    if($query){
    echo "Data Berhasil ditambah";
    ?><a href="/bukutamu.php">  Lihat Data Masuk</a><?php
    }else{
    echo "Gagal input data";
    echo mysql_error();
    ?>
    file login.php
    <!DOCTYPE html>
    <html>
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
      <meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
      <title>Senza nome</title>
    <!--Adobe Edge Runtime-->
        <meta http-equiv="X-UA-Compatible" content="IE=Edge">
        <script type="text/javascript" charset="utf-8" src="login_edgePreload.js"></script>
        <style>
            .edgeLoad-EDGE-1488021 { visibility:hidden; }
        </style>
    <!--Adobe Edge Runtime End-->
    </head>
    <form action="proses.php" method="POST">
    <body style="margin:0;padding:0;">
      <div id="Stage" class="EDGE-1488021">
      </div>
    </form>
    </body>
    </html>
    after submit
         database---->>> stil blank...

  • How to make a picture fit an entire page in a pages

    how to make a picture fit an entire page in a pages

    Hello belluchis,
    Thanks for using Apple Support Communities.
    After inserting your image into your Pages document, follow the instructions in the Pages help section below to learn how to manipulate the object:
    Resize, rotate, and flip an object - Pages Help for Mac
    http://help.apple.com/pages/mac/5.2/#/tan114930688
    Take care,
    Alex H.

  • How to make a sign-in Board

    Can I use photoshop elements to create a sign-in board?  I want to make a 24x36 page that will be mounted on Foam Core for my daughter's friends to sign using a sharpie.  I want to make the background BLUE, add my child's name in TEXT at the top and a photo of my child at the bottom.  Since I just created a 24x36 collage, I know how to create the size and add a photo.  I don't know how to make the background blue and add text.  I've been playing around this morning with no success in trying to change the background layer color.  Can I have some guidance?

    Felisse,
    Open your blank new file
    Duplicate background layer. Work on this layer.
    Set foreground color chip to blue (lower left}
    Go to Edit>fill layer>Use foregound color
    Change foreground color to a contrasting color
    Access Horizontal Type Tool, in its option bar select size and font
    Type your message
    Insert picture and place it using move tool.

  • How to make a tabstrip visible and invisible again?

    Hi
    I have a GUI with Fields, Texts, Checkboxes, Radio buttons, a Button and of
    course a tabstrip with 7 tabs.
    Before I want to show some data in the tabs of the tabstrip, I have to fill the fields, check a radio button and checkboxes. After filled all entries needed, I will start
    the preparation of the data with clicking on the button.
    Before the click on the button the tabstrip has to be invisible. After the preparation
    of the data I will make the tabstrip with its tabs visible.
    All this is in the same dynpro (e.g. 0100). I don't build it together with to dynpros.
    I tried with LOOP AT SCREEN ... ENDLOOP, but the tabstrip does not appear.
    The only attribute accessable is "activetab".
    How to make that happen?
    Thanks for your help
    Frowin

    Hi
    Suppose you have 3 screen:
    - 1 main screen (100)
    - 2 subscreen    (101, 102)
    In the subscreen 101 you need to design your tabstrip (so you need to move your tabstrip from main screen), the subscreen 102 has to be empty.
    In the PBO of screen 100:
    PROCESS PBO.
    MODULE SET_SUBSCREEN.
    CALL SUBSCREEN SUBAREA INCLUDING V_REPID V_SCREEN.
    In the module SET_SUBSCREEN, you insert the code you need to choose the right subscreen:
    IF _SHOW = 'X'.
      V_SCREEN = '0101'.
    ELSE.
      V_SCREEN = '0102'.
    ENDIF.
    The flag _SHOW is setted in PAI after pressing the button:
    MODULE USER_COMMAND.
        CASE OK_CODE.
           WHEN 'SHOW'. _SHOW = 'X'.
    Max
    Edited by: max bianchi on Jan 9, 2008 5:03 PM

Maybe you are looking for

  • Download Box Pops Up When Viewing Websites With Facebook Like Buttons

    Whenever I visit websites that have the option to click the "like" button from facebook (cnn, tmz, etc.), the download box on my computer pops up and says "You have chosen to open like.php from www.facebook.com in Text Edit" or "You have chosen to op

  • Macro to call custom dimension

    Hi , What macro command i can use for showing the dimension members. like., MNU_ESUBMIT_MEMBERSELECTOR_E gives the list of all  members of entity dimension, I want to use this macro for calling a custom dimension P_Activity. Is there any code that ca

  • MobileClient.exe holds 100% CPU usage in Citrix

    Hi We have successfully got Mobile Sales 5.0 SP11 working on Citrix but unfortunately, as soon as we have more than 10 people working on it, the application hangs with 100% CPU usage This server has 4 CPU's and should not max out with so few users. T

  • Problems generating multiple services from the same EAR using servicegen

    I have a single EJB JAR that contains multiple stateless session beans. I want to expose each of these individually as a service. So I have defined the following in my build file: <servicegen destEar="${ear.file}" warName="${war.file.name}" contextUR

  • SO upgrade to full version

    Hi, I just installed Solaris Express build 69, with StarOffice 8 coming along with the installation. I want to upgrade this evalution version to the full version with the license key I purchased earlier. However, I can't seem to find the proper place