Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
On Tue, Jan 19, 2016 at 12:26 PM, Rob <rob.couch@xxxxxxxxxxxxxx> wrote:
But in my functions I do not test or other wise know that the value of aThen no doubt DB2 is attempting to coerce the values it receives into
name => value pair in an associative array is necessarily numeric. As I
said so far, DB2 seems to know that the string I am inserting is a number
and stores it correctly. So in my testing and what I have read, I have not
been very concerned.
the appropriate type for storage in the table, and if it succeeds,
then it quietly continues processing.
What I'm a little confused about actually is that you don't know the
types of the values. You said you're using PHP, which is among the
most weakly typed languages out there; but nevertheless, it has
type-testing functions (like gettype(), is_numeric(), and so forth).
If you care about the types, why can't you just use those functions in
your code?
John Y.
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.