The best way of inserting nulls is just skipping the column in the insert
statement. Don't write to it and it will be null unless there is a default
value set for the column. BTW, it's always a good idea to specify what
database you are working with.
My recommendation would be to simply do some String manipulation and replace
the "" with whatever keywords or control characters represent null in the
database you are using. This shouldn't be too hard, but you have not given
us enough information to do it for you.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.