Обсуждение: Updating Using RowType

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

Updating Using RowType

От
"Sergio Sinuco"
Дата:

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
Дата:
On Sat, Oct 29, 2011 at 2:56 PM, Sergio Sinuco
<sergiosinuco@datatraffic.com.co> 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