Updating Using RowType

Поиск
Список
Период
Сортировка
Искать

Updating Using RowType

От:
"Sergio Sinuco" <sergiosinuco@datatraffic.com.co>
Дата:

Is it possible to UPDATE data into a table using a rowtype data type? I had found:

 

l_updated_cd cds%ROWTYPE;

UPDATE cds SET ROW = l_updated_cd WHERE album_name = ‘The Future’,

 

But, it doesn’t work.

 

Any ideas?

 

Thanks for your help,

Sergio.

Re: Updating Using RowType

От:
Merlin Moncure <mmoncure@gmail.com>
Дата:
On Sat, Oct 29, 2011 at 2:56 PM, Sergio Sinuco
 wrote:
> Is it possible to UPDATE data into a table using a rowtype data type? I had
> found:
>
>
>
> l_updated_cd cds%ROWTYPE;
>
> UPDATE cds SET ROW = l_updated_cd WHERE album_name = ‘The Future’,

this is unfortunately impossible.  inserts can be rigged, but not updates.

merlin
FAQ