[Pgsql-ayuda] Como definir funcion
Josué Maldonado
josue@lamundial.hn
Thu, 14 Aug 2003 10:27:04 -0600
Gracias Alvaro!
Alvaro Herrera Munoz wrote:
>On Thu, Aug 14, 2003 at 09:42:58AM -0600, Josu? Maldonado wrote:
>
>
>
>>Como puedo definir una funcion que retorne los registros que devuelve
>>esta orden
>>select distinct xind || ''. '' || udname from unidad where not xind is
>>null order by 1;
>>
>>
>
>CREATE VIEW blah AS select distinct xind || ''. '' || udname from unidad where
>not xind is null order by 1;
>
>SELECT * FROM blah;
>
>
>