http://qs321.pair.com?node_id=310316


in reply to Re: Re: Perl DBI Insert row
in thread Perl DBI Insert row

Well, from the data you supplied in the OP as long as each of the fields that will be taking numerical only data is set to int(4) (or greater) you 'should' be OK.

As for quoting, in your example yes if using '0123' as an example*, but you probably want to be looking at placeholders for good coding practice. Do a Super Search on placeholders for more detailed info.

*Update: As VSarkiss pointed out I was talking utter rubbish ;) ... but the placeholders part is still true.