in reply to Re: Re: Test for number or string
in thread Test for number or string

In the former case, you should be able to determine the type of the field from the table schema.
I could indeed do that (see below) but I was trying to simplify things. I tried INSERTing into the database without the quotes and it would not save the data. I do understand your point regarding Perl's handling of strings and numbers.

Replies are listed 'Best First'.
Re: Re: Re: Re: Test for number or string
by ctilmes (Vicar) on May 03, 2003 at 01:01 UTC
    PostgreSQL is nice in that you can put quotes even if you are inserting a number.