M
mp
I have a comma delim string to put in a db
each entry (comma delim) is one field
some entries represent numbers
but since they start as strings,
is it just as well to store everything as NCHAR(x) ?
(where x is largest expected item)
and let app convert to number if and when nec?
or is it better to define fields as INTEGER (or whichever type)
and cast string to numeric type on input into db?
thanks
mark
each entry (comma delim) is one field
some entries represent numbers
but since they start as strings,
is it just as well to store everything as NCHAR(x) ?
(where x is largest expected item)
and let app convert to number if and when nec?
or is it better to define fields as INTEGER (or whichever type)
and cast string to numeric type on input into db?
thanks
mark