You could create an application variable and set it to Blank if the Querystring is not set:
<%
dim myparam
If Request.QueryString("myparam") = "" Then
myparam = " "
Else
myparam = Request.QueryString("myparam")
End If
%>
and use the application variable in the database insert instead of the query string variable.