is it possible to automate the insertion?

Hello
Suppose I have two tables as follows:

SQL > create table t3
(a key primary number,)
b the number,
c number);

Table created

SQL > create table t4
(number of d,
the number e,
f number);

Table created.

Now, my question is that, is it possible that when I insert values into the table t3, values in the column a of table t3 also automatically gets entered in column d. table t4?

user12222356 wrote:

Now, my question is that, is it possible that when I insert values into the table t3, values in the column a of table t3 also automatically gets entered in column d. table t4?

And what needs to be inserted in columns e and f? I'll assume NULL:

CREATE OR REPLACE
  TRIGGER t2_air
    AFTER INSERT
    ON t3
    FOR EACH ROW
    BEGIN
        INSERT INTO t4(d) VALUES(:new.a);
END;
/

SY.

Tags: Database

Similar Questions

  • Is possible to write the INSERT statement that fills two columns: 'word' and 'sense' of the file text with multiple lines - in each line is followed word that is the meaning?

    Is possible to write the INSERT statement that fills two columns: 'word' and 'sense' of the file text with multiple lines - in each line is followed word that is the meaning?

    Hello

    2796614 wrote:

    Is possible to write the INSERT statement that fills two columns: 'word' and 'sense' of the file text with multiple lines - in each line is followed word that is the meaning?

    Of course, it is possible.  According to what the text file looks like to, you can create an external table that treats the text file as if it were a table.  Otherwise, you can always read the file in PL/SQL, using the utl_file package and INSERT of PL/SQL commands.

    You have problems whatever you wantt?  If so, your zip code and explain what the problem is.

    Whenever you have any questions, please post a small example of data (CREATE TABLE and only relevant columns, INSERT statements) for all of the tables involved and the exact results you want from these data, so that people who want to help you can recreate the problem and test their ideas.  In this case, also post a small sample of the text involved file.

    If you ask about a DML operation, such as INSERT, then INSERT statements, you post should show what looks like the tables before the DML, and the results will be the content of the table changed after the DML.

    Explain, using specific examples, how you get these results from these data.

    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: Re: 2. How can I ask a question on the forums?

  • automate the insertion of notes

    InDesign dear Scripting Guys

    I work with a digital copy of the Bible. Each book is a separate document. Each book is divided into chapters and verses. There are thousands of verses (which are superscript in the text). I need to have a note for each verse. I was manually add notes, but there MUST be a way to tell Indesign adds automatically the notes (in each verse, I say - add note - then later I'll be back and he fill text after that I inserted all the notes.).

    I thought that because the only thing consistent with each verse is verse which numbers reference reference could be attached to the verse number. If I GREP (which you can't) I would say this: [NOTE ~ F means the reference point of reference that you can 'Find' but not add in the part "change".]

    SEARCH: (\d+)

    Format - Exhibitor

    CHANGE OF: $1 ~ F
    Format - Exhibitor

    Thank you

    Dan

    Still not need a script

    Do it like this: Add a note, copy, and use the code ~ C in the field replace by - the code inserts a copy of the contents of cardboard!

    (You can tell this is a dirty trick because when the replacement, you will see a screen InDesign goes all out of whack.) However, when this is done, the screen will be restored to normality and you will find all your notes in place.)

  • Is it possible to automate the deployment of the RPD in 11G?

    Hello

    Someone at - he a proven technique to automate the deployment of the RPD in 11G? Or it can be done manually through Fusion Middle Ware Control for BI? There may be a WLST script that can do the job?

    Thanks in advance.

    Check this box

    http://adventuresinobiee.blogspot.com/2013/02/scripted-RPD-deployments-using-udml-and.html

    Check if helps,

    Thank you

  • Is it possible to automate the process of comparison PDF?

    I create hundreds of monthly reports with InDesign and export to PDF. That was a pain in the A is that every month I have to manually check the PDF files in the past months to see if something has changed, which means that I run pdf compare manually for all reports. Is there a way I can bulk compare all reports in recent months, or there have been automated in a process to do one-to-one comparison is automatically and simply output as a result of comparison?

    As far as I KNOW, it is not possible to do with Acrobat.

  • Possible to automate the generation of reports?

    I don't know if this has been asked, so I'll ask again if she a. reports can be automated and sent on a weekly basis? Thank you.

    David

    I asked the PMs Caron in the past and they said that it is currently not possible. I don't know it is probably an API, simply not documented. I would also like to automate reports that the user interface is quite slow. If all goes well a new version with an exposed API will be available

    =========================================================================

    William Lam

    VMware vExpert 2009,2010

    VMware scripts and resources at: http://www.virtuallyghetto.com/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • Is it possible to automate the export items app web?

    I see that it is possible to manually export the web app items in the csv format.  I was wondering if there was anyway to automate this?

    Hello

    It seems that all my answers is not or is not possible.

    I'm afraid that this is no different that you will need to trigger export manually for elements of web applications.

    Kind regards

    -Sidney

  • Is it possible to automate the creation of an UCxn account?

    We currently lack 9.1 connection of the unit.  A question which was to haunt me for a while is the fact that even if we sync LDAP would be, there is still no automated method to import accounts.  I wonder if anyone has found a way (or saw something third party) that can help automate this process?

    Once you go to 10 you can use first supply to all in one step.

    HTH

    Java

    If it helps, please note

    www.Cisco.com/go/pdihelpdesk

  • Is it possible to automate the contacts 'stuck' on the Web of campaign?

    We would like to make a soft contact bounce pass to the next step of a campaign - automatically.  However, they are all currently staying 'stuck' in the e-mail of the canvas of the campaign stage.  Any ideas on how to achieve this Automation or am, I better bending enamel practice rules too?

    Thank you!

    Just to be clear, soft bounces will not stick in a stage of e-mail. Those would be bouncebacks hard and contacts who had already reached the State hard Bounceback (invalid address) at some point before arriving at this stage of e-mail. A soft bounceback is when the Inbox is temporarily unavailable for some reason any (reaches storage limit, mail server differ temporarily mail, etc.) and has no permanent effect on registration in Eloqua. The only indication that a mail a softbounced will be in the history of Bounceback report, or if you are building a segment to target those.

    If you see people stuck in a stage of e-mail on the Web of campaign (or program builder), these are contacts that had been sent an email previously and this affected previous e-mail status somehow (unsubscribed from him, it is difficult bounced, etc.). He is not related to the stage of e-mail, they would currently be "stuck" in.

  • Is it possible to automate the export of my InDesign file to several different export settings with PDF files?

    OK, so not sure if this is possible, but it would be a great time for me if possible gain, so I throw it out there.

    I often work on spec sheets to work in InDesign and when I finished, I have preset PDF export settings for Print and Web. Printing has all the markings of bleed and printer, and one, web well... you get the idea.

    For now, I need to run export separately; so I do my export to a PDF print... and then I make my export to obtain a PDF optimized for Web.

    These are separate tasks, but surely there must be a script or another way to get InDesign just export the two PDF files at the same time, respecting the presets they are posted.

    How can I do this?

    Looks like it's what you're looking for:

    http://www.ID-extras.com/script-to-export-multiple-PDFs-at-once

  • HI - y at - it a command to automate the scroll for a long web page?

    I have a wall of gypsum, and it would be useful to show the info if possible to automate the scroll.

    In fact, someone else is already a: ScrollyFox.

  • You can automate the initial jabber login process?

    I was wondering if it is possible to automate the login process initial jabber. Which means, can a connection to the windows user and have it jabber in connect automatically without them ever having to enter their credentials for this first connection?

    Thank you

    The answer for now is not; However, Jabber will add SSO via SAML in the future that allows you to do most of this. They would need to enter their e-mail address on the first launch of the service discovery occur; However, if the SAML IDP has reviewed their session already be active due to a connection to the field - it's up to the IDP to decide - then authentication would happen automatically. I am not sure that Cisco has committed publicly to what version of Jabber for Windows gets SAML SSO, so I'm not going to refrain to give additional details.

    For now, you should start learning about SAML and CUCM in 10.x, as would be the starting point.

  • automate the changing images while retaining the page layout

    First of all I'm a complete noob to InDesign I have to load several pictures on a model separately (product shots if its just a pic at a time) after googling ID, I realized sizing questions has been the best program to keep all the images the same size in a framework is possible to automate the process of loading the images instead of me having to do it manually one by one?

    If your model has graphic empty placeholder frames for your photos, you can select several photos at once in the Place dialog box (file > Place). Then you will get thumbnails for each of them in your cursor placement, and you can move your cursor over each placeholder image, click to place, move to the next, click, etc.

    When you have a cursor with several images loaded, it will display a number (the number of remaining pictures). You can browse the images in your cursor with the arrow keys (left arrow, right arrow).

  • Automate the assignment of color profile.

    Hi all.


    I wonder if it is possible to automate the batch assign a color profile specific to a folder with the .eps files and save them as .ai (keep the color profile logically said)


    I tried with the actions of the Illustrator. Yes, I managed to open the files in the folder and save AI, but I can't do the color profile is assigned. It is possible with Illustrator or bridge?


    Thank you and sorry for my bad English

    Bridge could do with Photoshop files, but will not work with the .eps image processor.

    Try to contact Gustavo while he was working on a script

    GOT award of ICC profile format or EPS (which doesn't have a profile)

  • How to automate the pan/zoom functions?

    Version: Adobe Premiere Elements 12

    OS: Windows 7

    I do a lot of fixtures where most of the video is photos.

    Is it possible to automate the pan/zoom in a random way, I can change it later to my taste?

    Most of the time, I have a lot of photos, if I do frame-by-frame manually it will take me forever. It is not really an option...

    I am happy to buy an add-in, if anyone knows of any.

    Thank you

    Simon

    Simon

    After you create your slideshow in elements Organizer create Menu/slide show and its slideshow Editor, be sure to save in the organizer of items as a slideshow. To do this, look at the top left of the Organizer workspace of elements. In the line below the file programming, directly, edit view, and help Menus, click on 'save project '. The slide show will be save to the organizer of items as a"slide show". Look to the upper right of the thumbnail for slide show recorded in the Organizer workspace of elements. When you have your mouse cursor on this box, a pop-up with slide show project confirmation. In this format, you can double-click this vignette to reopen the slideshow in the slideshow Editor workspace of the workspace elements Organizer for further changes and re-registration in the Organizer workspace of elements. You can even this thumbnail in this place right click and select Edit with Premiere Elements (if you do not want to return to the slideshow Editor workspace.)

    Now, if you are in the slideshow editor and that you want to move the slide show done in Premiere Elements, then go to the exit at the top of this workspace option in organizing elements slideshow Editor, and select Edit with Premiere elements Editor. This will put your slide show on the chronology of the first elements in the form of video file together. Here's the beautiful part. If you want to make further changes to this video file together, right click on the video on the Timeline entire file and select and click Break Apart elements Organizer slideshow to give you the flexibility of the most important changes.

    Please note the following details, which should be included so that they are not a surprise...

    a. better manually set the Premiere Elements project preset before opening the organizer of items for the transfer to the slide show for Premiere Elements project. The following includes how to manually set the Premiere Elements project preset.

    First Elements ATR troubleshooting: PE11: accuracy of the project auto Preset setting (new project dialog box)

    Have you had time to read the Adobe document on the creation of slideshows.

    Adobe elements Organizer 11 * create slideshows (Windows only)

    Do not hesitate to ask if you need more clarification on what it is written. We can fill in details, including screenshots if necessary.

    Can't wait to hear of your progress.

    Thanks for the follow-up.

    RTA

Maybe you are looking for

  • Cannot redeem credit card gift :(

    I entered a gift card code and exchanged. I see the $50 credit in the upper right of my itunes page but cannot find a way to use the credit when I find a song to download. When I choose a song need me only to billing. Help, please?

  • Question mark instead of the downloads folder

    Hey, I just upgraded to a new Mac. When I transferred my content from my old mac to the new downloads folder and the documents folder are big question mark gray while the icon from the applications folder is a folder. Why this happens and what I can

  • HP Photosmart 7520 inserted new cartridges, toner ink drops photos

    My Photosmart HP required in new cartridges, I have inserted four new and the printed photos smeared ink; the ink is out on our fingers.  Put old cartridges check, printed in pink.  Reintegrated new cartridges, printed photos still smeared ink.  Plea

  • X 61 lock installation

    I have the hardware guide and the right part - problem is when I ordered it came in 3 pieces - does anyone know HOW to put the pieces together to make the latch to work so that I can install it?

  • C++ or integration of QML calendar event creation

    Hello I am currently trying to add calendar event creation integration in my application. I started using QML create here actions: [ ActionItem { title: qsTr("Add To Calendar") imageSource: "asset:///IMG/ic_add_entry.png" ActionBar.placement: ActionB