Guest_imported
New member
- Jan 1, 1970
- 0
I'm having problems inserting empty strings, which come from empty form fields, into the Numeric columns in my SQL table. I keep getting this error message:
"Error converting data type varchar to numeric."
I need to know how I can insert NULL values for those empty strings. Is this even possible? I don't want to insert '0' (zero) because shows a value when returned.
I know that this problem could be easily solved if I used another data type, but I need to use Numeric in serveral instances.
Thanks
"Error converting data type varchar to numeric."
I need to know how I can insert NULL values for those empty strings. Is this even possible? I don't want to insert '0' (zero) because shows a value when returned.
I know that this problem could be easily solved if I used another data type, but I need to use Numeric in serveral instances.
Thanks