Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Re: Re: Perl DBI Insert row

by barrd (Monsignor)
on Nov 26, 2003 at 17:02 UTC ( #310316=note: print w/replies, xml ) Need Help??

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://310316]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2016-10-21 10:12 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (288 votes). Check out past polls.