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

Re: Re: Re: Perl DBI Insert row

by barrd (Parson)
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.


Comment on Re: Re: Re: Perl DBI Insert row
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2014-09-20 04:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (152 votes), past polls