In one of my .NET apps, I'm trying to call a stored procedure in a sybase db, and some of the values that I'm sending, according to our business logic, can be null.
However, if I do send a null value, I get an "Unsupported parameter type" exception.
Any suggestions?
Do not add the parameter to the command at all, that's considered null as far as .NET is concerned.