You need to learn SQL first: The following statement is not correct SQL. SELECT login VALUES (@username, @password). The statement should look like this:.