I am new to SQL and I am running into error with my select statment.
When I try to check it with: response.write SQL
response.end
I get this:SELECT * FROM Registration WHERE Login='zoes'
My actual statement is:
SQL= "SELECT * FROM Registration WHERE Login='" & Replace(login,"'","''" & "'"
I am to new to see what the error is. Can anyone please help me?
Thank you
When I try to check it with: response.write SQL
response.end
I get this:SELECT * FROM Registration WHERE Login='zoes'
My actual statement is:
SQL= "SELECT * FROM Registration WHERE Login='" & Replace(login,"'","''" & "'"
I am to new to see what the error is. Can anyone please help me?
Thank you