You may not know this, but you can have an optional Parameter in SQL. It took me forever to figure it out. In any case, you can implement an optional parameter by declaring a parameter in your stored procedure and giving it a default value of NULL, then in your WHERE clause, you just do a check to see if the parameter (with the NULL value) is NULL. An example follows: CREATE PROCEDURE GetNameS@Las