How can I update the table table of contents for the sub condition?

Hi guys,.

I have a custom table that must be updated in a table source 'abc ';

I have to update 8 fields of 'abc', based on five keys corresponding between custom and abc records

Here is the syntax I have a suite please let me know the effective way to do this.

I get the error message for the syntax below. I think that 'FROM' keyword must not be use GTA?

update of custom table one

Set a.field1 = b.field1, a.field2 = b.field2, a.field3 = b.field3

ABC b

where value = ' 05 "

Hello

Whenever you have a problem, please post a small example data (CREATE TABLE and only relevant columns, INSERT statements) of all the tables involved, so that people who want to help you can recreate the problem and test their ideas.

Also post the exact results you want from this data, as well as an explanation of how you get these results from these data, with specific examples.

If you ask yourself on a DML statement, such as UPDATE, then the CREATE TABLE and you post instructions INSERT must re - create the tables as they are to the DML, and the results will be the content of the or a modified tables when it's all over.

Simplify the problem as much as possible.  For example, if your real problem involves 8 columns, try to post an issue affecting only 2 or 3 columns.

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?

2766124 wrote:

Hi guys,.

I have a custom table

What is a custom table?  How is it different from a regular table?

that must be updated in a table source 'abc ';

I have to update 8 fields of 'abc', based on five keys corresponding between custom and abc records

Here is the syntax I have a suite please let me know the effective way to do this.

I get the error message for the syntax below. I think that 'FROM' keyword must not be use GTA?

update of custom table one

Set a.field1 = b.field1, a.field2 = b.field2, a.field3 = b.field3

ABC b

where value = ' 05 "

An example of the correct syntax for the use of a subquery in an UPDATE statement is:

UPDATE one

SET (Field1, Field2, Field2) =

(SELECT field1, Field2, field3

ABC

WHERE value = ' 05 "

);

This is a correct syntax, but I don't know if this will do exactly what you want, because I don't know exactly what you want.

FUSION is often easier and sometimes more effective than updated.

Tags: Database

Similar Questions

Maybe you are looking for

  • The customization window has no instructions and tell me what happens.

    What are the things in the window customize? What works and which are not?

  • Re: Installation of Win XP on Portege R500 12 q

    HelloI would like to install Microsoft Win XP on my Portege R500 12 q (128 GB SSD drive) If I start the installation of the CD, there is normally the possibilety to install a third-party driver through by pressing F6. But the problem is, that nothing

  • Bluetooth headset (Plantronics M3000) connection

    Hello I try to connect my bluetooth headset, a Plantronics M3000 to my laptop, a Satellite of your 5200-801, but I can't make it work.I installed the last stack bluetooth, 3.2, but still it does not connect. I can see as a service, but when I try to

  • How to start Recovery on satellite C650D discs?

    Hi I have a satellite C650D. We had a hard drive crash and not make recovery discs. So I changed the hard drive and ordered media Toshiba recovery disks. Today, I have 5 drives and thought I just put in the DVD and let the start-up of the pc to the t

  • 2 Itunes libraries do not sync

    Hi, I have a PC at work who had iTunes top. I have a laptop at home with Itunes as well. I assumed that if my music was in the clouds, that if Imade changes in a library, it would be at home... is my understanding correct? If I make a change to the l