How do I create a view or a SQL statement that will support a user-supplied parameter? When I run the view or the SQL, it should pop up a window that will ask me to provide the parameter. In MS Query, I can do it this way:
Select * from Salesman WHERE Salesman = ?
How is this done in SQL Server?
Select * from Salesman WHERE Salesman = ?
How is this done in SQL Server?