I’m copying some tables from Excel to DB using VB code. There is a particular column in the Excel sheet that is supposed to be numbers. But on some occasions there isn’t a number (empty field). But this doesn’t mean that it’s zero. My SQL statement created in VB looks something like this:
INSER INTO Pressure (Type, Depth, Pressure) Values(‘Well’,, 25)
This gives an error.
How do I fix this?
INSER INTO Pressure (Type, Depth, Pressure) Values(‘Well’,, 25)
This gives an error.
How do I fix this?