I have a stored procedure in Sql Server 2005 with a varchar input parameter defined as:
@Value varchar(24) = NULL
in my VB6 application I t
if you want to pass a blank string to a parameter us adBSTR instead of adVarChar. It works for strings longer than zero chars too
eg (where oCmd is the command object in question):
oCmd.Parameters.Append oCmd.CreateParameter("@Parm", adBSTR, adParamInput, len(sParm), sParm)