When executing a query similar to SELECT * from myView where myView was a view that required parameters, the view parameters were not properly evaluated and the command Prepare call returned with the number of parameters set to 0. The logic has been modified to correct this issue.