Can I use this as a stored procedure?

Like what I'm doing at the "where"

* textbox for searching
* comboBox for selecting what column it is on the table

Code:

```
 Create procedure sp_Search
    @Searchthis Varchar(50),
    @Searchwhat Varchar(50)
 as
    Select * 
    from tbl_person
    where @Searchwhat = @Searchthis

```