The dbvarname is not supported in CF 6 or 7. I do not see it
in the documentation for CF 8 either although it I read somewhere
that it "may" be supported. There is also a hotfix for CF7 to
enable support for dbvarname.
http://kb.adobe.com/selfservice/viewContent.do?externalId=kb400074
Without dbvarname you should specify all your parameters in
the order they appear in the stored procedure's definition. To
specify NULL as the value of a parameter set null="yes" in the
cfprocparam.
To treat an empty string as NULL
<cfprocparam value="#form.myField#"
cfsqltype="cf_sql_varchar" maxlength="50"
null="#YesNoFormat(Trim(form.myField) eq '')#" />
To ease creating the cfstoredproc code block run this on your
SQL server in SQL Management Studio with query results sent to
text. You can then copy the output to your CF file. Note this was
written for MS SQL 2005, but *should* work on 2000. You will need
to add any desired cfprocresult tags.