Posted By: gaudentius (gaudentius) on 'CZdatabases'
Title:     Re: argument typu tablename%ROWTYPE (PL/pgSQL)
Date:      Fri Dec  5 08:59:39 2003

> Je mozno napsat fci s datovym typem argumentu definovanym jako ROWTYPE
> nejake konkretni table? Mam napr. fci sestav_jmenovku(zakaznici%ROWTYPE),
> jenze to '%' hazi parse error ...

Videl bych to takto:

X   zakaznici%rowtype;

fuction (promenna IN X%type) return jiny_typ is
..

> BigFoot, aka Yaroukh; yaroukh@email.cz

                              ...koneckoncu vse zalezi na uhlu pohledu.
gaud at seznam tecka cz, http://gaud.wz.cz, BTW sberatel telefonnich karet.

Search the boards