On Sun, 2006-04-30 at 11:55 +0200, Ottavio Campana wrote:

> > Dove vuoi usare la regexp? A linea di comando con egrep?

> dentro una stored procedure di postgresql. per questo motivo me ne serve
> una sola che faccia il match.

Potevi dirlo che era per postgres. :P

Non ho provato, ma puoi provare tu se va:

select * from tabella where campo ~ ALL (espressione);

(espressione) puo` essere una subquery che torna una singola colonna con
un valore per riga, oppure un array.
A quel punto puoi mettere come argomento della stored procedure un
array.

Bye.



-- 
Per REVOCARE l'iscrizione alla lista, inviare un email a 
[EMAIL PROTECTED] con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a [EMAIL PROTECTED]

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Rispondere a