I use a code behind a search form to get sql sentence like below:
strSql = "SELECT *"
strSql = strSql & "FROM [CLAIM]"
strSql = strSql & (" where " & Mid(varMyWhere, 6) & ";")
How to pass entire sql sentence as parapeter to store procedure? Or only where clause to store procedure?
strSql = "SELECT *"
strSql = strSql & "FROM [CLAIM]"
strSql = strSql & (" where " & Mid(varMyWhere, 6) & ";")
How to pass entire sql sentence as parapeter to store procedure? Or only where clause to store procedure?