I am trying to write a query with a few where clauses in it. One of the clauses I want to compare the right 4 chars/nums with a known 4 digit number.
Much like the Right function in ASP
Here is my query
Select * from users Where USERNAME = 'myuser' AND (DOB = to_date('8/6/1964','mm/dd/yyyy') AND right(PIN,4) = 7151) AND EMAIL = 'myuser@user.com'
Much like the Right function in ASP
Here is my query
Select * from users Where USERNAME = 'myuser' AND (DOB = to_date('8/6/1964','mm/dd/yyyy') AND right(PIN,4) = 7151) AND EMAIL = 'myuser@user.com'