How to make the right inset

Hello, I have a question.

I have 2 tables. TEMP and PRODUCT

TEMPORARY structure is

Identification number (100.0)

Varchar2 (1000) DRUG

Number SEQ (4.0)

The PRODUCT table structure is

Number of the ID (FK) (100.0)

Varchar2 (1000) DRUG

Number SEQ (4.0)

In the TEMP table SEQ column has no data in it, but in the product table that there.

The ID is the same DRUG is the same thing, but when you write a different under medication

the same slot ID PRODUCED the SEQ goes to number 2.

Example of

DRUG SEQ ID

001 aspirin 1

Viagra 2 001

Heparin 002 1

Now, I want to import into TEMP table number SEQ of aspirin with a SQL script.

DECLARE

(CURSOR) c1

p_rep_id VARCHAR2

) IS

SELECT a.SEQ

One PRODUCT

WHERE a.ID LIKE "%" | p_rep_id | '%';

BEGIN

FOR r1 IN c1 LOOP ('001')

UPDATE TEMP

The SEQ VALUE is r1. SEQ

WHERE ID = '001';

END LOOP;

END;

I did it like this, but it is important number SEQ 2.

I hope that I was clear enough.

KR

You must also select DRUGS to the cursor and then equal the selected update update highlighted below query

DECLARE

(CURSOR) c1

p_rep_id VARCHAR2

) IS

SELECT a.SEQa.DRUG

One PRODUCT

WHERE a.ID LIKE "%" | p_rep_id | '%';

BEGIN

FOR r1 IN c1 LOOP ('001')

UPDATE TEMP

The SEQ VALUE is r1. SEQ

WHERE ID = '001'

AND DRUG is r1. DRUG;

END LOOP;

END;

Tags: Database

Similar Questions

  • How to make the right sidebar (opack) transparent

    Howe can I make transparent right sidebar and still see the clock and calendar as it should

    If your system supports Windows Aero then right click on your desktop and choose personalize.

    : Click color and appearance.

    Click: enable transparency.

    Click here: open the classic appearance for color options properties.

    Click: Windows Aero, OK

  • How to make the right/left arrows to go at the end of the tabs tab

    This feature has been on my browser. If I double click on the arrow to the right tab, I would go to the last tab on the right. If double clicking on the left arrow tab, I would go to the last tab on the left. It made no difference how many legs were opened. Also, when I flew over the mouse or the other of these arrows, a number appeared how many legs were hidden from view. I don't remember what extensions did, or that it is part of an earlier version of Firefox.

    I'd appreciate any help to solve this problem. Thank you!

    3.6.13 being very little course, if you use it on the wild wild web, have you thought about the upgrade coming to 3.6.28? http://www.Mozilla.org/en-us/Firefox/all-older

    You could test whether the "how many tablets" feature was the result of an add-on by restarting Firefox 3.6 mode without failure of Firefox (Firefox to solve the issues in Safe Mode).

    First of all, I recommend you backup your Firefox settings in case something goes wrong. See back up and restore the information contained in the profiles of Firefox. (You can copy your profile folder Firefox together somewhere outside the Mozilla folder).

    Then, close all Firefox Windows and restart Firefox now press SHIFT. In the Safe Mode dialog box, do not check the boxes, just click "continue mode without failure." If the tab bar controls always indicate the number of hidden tabs, a built-in feature. If this isn't the case, it was an extension. Some people might have been migrated to Firefox 14, but some have never were...

  • How to make the text bigger in youtube! Cubs in youtube!

    I made the largest text where google search arrives! But when I go on youtube the text is much tinier and I 65 to cataract and I can't read the text at right! How to make the text bigger in youtube? Thank you very much! I tried everything, but nothing changes the size!

    When you view this page hit {Ctrl + 0} < is a zero number -to reset the zoom level for this area.

    https://support.Mozilla.com/en-us/KB/page+zoom

    If you move the scroll wheel, and are now the CTRL key, you can change the zoom level of the page that is viewed - both in & out.

  • How to make the icons of new office like netflix?

    original title: the desktop icons

    How to make the icons of new office like netflix?

    Access the Web from Netflix site > right click on a part of the page > create a shortcut > click YES to window next question re shortcut on desktop > is she.

    Double-click the desktop icon to access their web Page.

  • Using Windows Mail - how to make the smaller Options box so I can see the bottom and be able to act on it?

    Computer is a 32-bit Dell XPS * SP2 Windows Vista (Home Premium), Internet Explorer 9 Panda anti-virus

    Nothing new and NO change has been made.

    Using Windows Mail - how to make the smaller Options box so I can see the bottom and be able to act on it?

    Even when I hide the taskbar I always can't NOT see the background.  Thanks in advance for any help. It drives me crazy.

    Set your resolution to be higher.  Right click on your desktop, go to personalize, then choose the resolution down.  Set it to the highest setting.

  • How to make the icons of programs appears on the screen of windows 8

    Hi Thunderlight, you helped me with my last request and thank you again now I have another question that you might be able to help me with.  How to make the icons of programs appears on my screen of windows 8?  I had to download the debut8 when I had windows 8 so I would have the appearance of windows 7 until I have to use Windows 8.  And some of my icons of windows 7 on my windows 8, but not all.  How to go on my windows screen 8 tiles?   I now get more usage of windows 8 and use it more now so would like all my original programs that I had with windows 7 on my windows 8 as it is now tile.  I thank you and hope you can help.

    Hi Laura,

    In theory, when you switch from an earlier version of Windows to Windows 8 - as your installed applications are kept by the upgrade process, except those who are not compatible - you should find all your apps in Windows 8.

    If they all do not appear on your start screen follow these steps to pin them there:

    • [Win] + C
    • Search
    • Click anywhere in the top middle of the screen to hide the charm bar

    All installed applications are displayed. They do not necessarily correspond on a single screen to use the horizontal "lift" to bottom of the screen to move to the right / left

    • Right-click on an application, you want to pin to the start screen
    • Click on Pin to Start at the bottom left of the screen

    You are finished. A mosaic of this application is available on the start screen.

    If there is an application, you are sure is installed on your PC and you don't think through the steps made me know - there will be more complex...

    If you install a new application under Windows 8 the corresponding tile is automatically added to your start screen.

    Hope this helps

    See you soon

    LZ.

  • How to make the color of the sky, exactly the same thing in multiple images?

    How to make the color of the sky, exactly the same thing in multiple images?

    Bengt Nyman wrote:

    I'm not trying to replace the sky. I want to talk to a group of photos BIF where the percentages of red, green and blue in the sky varies from a few percent, but enough to disrupt continuity within the group. I like t would be able to use the percentages of color to one of the pictures and replicated in others.

    Because the brightness of the sky probably varies from image to image using percentages RGB will not work. What you can use are the values of a and b the laboratory values . Right-click in the inside of the develop module histogram and tick 'Show Lab Color values.' You can ignore the value of L, which is the value of Luminance or brightness. Adjust the blue sky s a b valueusing the Temp WB and sliders dyed until they are the same as your first reference image file. The value determines the color red/green balance if you use the Tint slider to correct the value. The b value determines the color yellow/blue balance if you use the slider Temp to correct its value.

    Remember that setting the base Panel WB with 'fixed' values of b for photos taken under lighting conditions different sky will be the color of the other objects in the image look incorrect (birds, trees, buildings, etc.). In this case, you will need to use the brush setting to paint in the region of the sky and then use its temperature sliders and tinted to change just the color of the sky.

    To be honest I don't know why you feel it's necessary. Maybe you can post two screenshots: 1) with the sky that they way you want to and 2) an image that you want to resolve to match.

  • Win version first elements 14 rather than Mac version you downloaded. Serial number does not work. How to get the right serial number

    Win version first elements 14 rather than Mac version you downloaded. Serial number does not work. How to get the right serial number?

    It is unclear what problem you are facing... the wrong version or the wrong serial number.  The serial number is likely for the other version.  You don't want the serial number of Windows or the Mac version?

    One of the following conditions may be useful...

    You can exchange languages/platforms for a newer version product if you follow the instructions on the following link:

    l http://helpx.adobe.com/x-productkb/Policy-Pricing/Order-Product-Platform-Language-swap.htm

    To the link below, click on the still need help? the option in the blue box below and choose the option to chat...
    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Serial number and activation support (non - CC) chat
    https://helpx.Adobe.com/contact.html?step=PHSP-PHXS_downloading-installing-setting-up_lice nsing-activation_stillNeedHelp

  • How to make the master page appear when I'm scrolling down?

    How to make the master page appear when I'm scrolling down?

    This is something I don't like Muse! Whatever it is in the master page will act as a background. You must place it right on the top layer of the Page you want on... I hope this works for you as it did for me!

  • Can you please tell me how to make the thicker arrows on the Pages.

    Can you please tell me how to make the thicker arrows on the Pages. Thank you very much. There is something incredibly simple to do, but I, having a disconcerting brain, am totally unable to understand. Please please help me. Thank you

    < re-titled by host >

    Try here > Pages for Mac: Add and edit forms

  • How to make the top sites page appears when I open a new tab? Why have I not of "buttons" to pin a top site of the page tab?

    When I open a new tab, NO best sites don't show up... shows just a search engine box. I have Firefox 33.0. Why is there no 'pin' button when I opened a new page? How to make the top sites page appears when I open a new tab?

    Here is some additional information on the configuration of the new tab page:

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the search above the list box, type or paste newtab and make a pause so that the list is filtered

    (3) double-click the preference browser.newtab.url and enter your favorite page:

    • (Default) page thumbnails = > subject: newtab
    • Blank tab = > subject: empty
    • Built-in Firefox homepage = > topic: welcome
    • Any other page = > full URL of the page

    Press Ctrl + t to open a new tab and check that it worked. Fixed?

    Some traps:

    If Firefox will not let you change this setting: you can have what is called SearchProtect on your system.

    Firefox if allows you to save your changes, but he doesn't know: one of your extensions may be the substitution of her. You can consult, disable and/or remove extensions on the addons page:

    "3-bar" menu button (or tools) > Add-ons > in the left column click on Extensions

    If the modification works during your session, but during the next startup is leads to: you could have a user.js file in your personal settings Firefox (your Firefox profile folder). This article describes how to track down and delete the file: How to fix preferences that will not save.

    A little luck?

  • I have associated my pencil to Apple for the iPad Pro; How to make the Widget of batteries displayed on the notification Center 'today '?

    I have associated my pencil to Apple for the iPad Pro; But how to make the Widget of batteries displayed on the notification Center 'today '?

    See if it works. Scroll to the bottom of the list in the display today. Tap on edit. Press on the + sign next to battery.

  • How to make the snow fall go far in the background that I've recently added a newsletter on your part?

    How to make the snow fall go far in the background that I've recently added a newsletter of mozilla to? It appears on things, I feel.

    I can't talk about it. What is an extension?

    You can disable or remove unwanted page extensions modules. Either:

    • CTRL + SHIFT + a
    • Firefox orange (or the Tools menu) button > Add ons

    In the left column, click Extensions. If you don't it spot, perhaps in the appearance section?

  • When I run a web browser immediately loaded two blank tabs. How to make the browser to load the only?

    When I run a web browser immediately loaded two blank tabs. How to make the browser to load the only?

    Have you checked the home page to make sure that if is not the vertical bar (|) symbols?

    See the following for a few suggestions:

Maybe you are looking for

  • I got my CONFIRMED email and sign in Mozilla cannot please help what's happening

    I have my account [deleted email address] has confirmed, but cannot sign in Mozilla, what's happening, I enter my gmail to do the reset of password and nothing shows in my gmail Inbox or anywhere else, AND YES EVERTHING IS SYNCHRONIZED!

  • Change return search options

    This is supposed to be a browser "user friendly"... Why do you continue to make the changes that we, as 'users' can not refuse. I liked the research section of the way it was and I not want to go back.

  • Sent a message to my ipad

    I sent a message that I wouldn't have my iPad. I used the feature with Message deletion. It only removes it from my device, or it removes it from the iPhone, I sent it too also. I'm trying to correct my error. I'm a bimbo I know. Thank you!

  • Exchange of CPU on Satellite Pro P300-180

    Hi allcan anyone help? I have an old P300-180 and am looking to change the cpu I can go from a t2490 a p9700 someone's already done it

  • acquisition video framerate

    Hello I tried to acquire images from a camera to 30 frames per second for the time-sensitive image processing. Currently I have a while loop with grab imaq acquire wired to imaq avi writing framework. The calendar of the loop is controlled by a wait