Re: [SQL] Querying a list field against another list

2004-11-27 Thread m
Try this: CREATE OR REPLACE FUNCTION csv_matches(TEXT, TEXT) RETURNS BOOLEAN AS $$ DECLARE -- $1 is the field text, $2 is the list of ints to try and match. m TEXT; f TEXT; i INTEGER := 1; j INTEGER; BEGIN IF $1 IS NULL THEN RETURN 'f'; ELSIF

Re: [SQL] Querying a list field against another list

2004-11-26 Thread Bruno Wolff III
On Fri, Nov 26, 2004 at 16:17:57 +0200, Aarni Ruuhimäki <[EMAIL PROTECTED]> wrote: > Hi, > > I tried to mail this to the novice list I believe it was rejected: No you weren't. The mail server that is reporting that error is sending the response to the wrong place. It is supposed to be going to

[SQL] Querying a list field against another list

2004-11-26 Thread Aarni Ruuhimäki
Hi, I tried to mail this to the novice list I believe it was rejected: >> The original message was received at 2004-11-26 14:55:09 +0100 from postoffice.local [10.0.0.1]    - The following addresses had permanent fatal errors - <[EMAIL PROTECTED]>    -Transcript of session follows -