-2

Hi people I have a problem.

I have a table in Oracle database called employee and I have a HTML form. I will read some parameters from the form and I want to run a query on the employee table and I just want to know whether that value is present in the table or not.

Nathan Hughes
  • 94,330
  • 19
  • 181
  • 276

1 Answers1

1

You'll want something like:

SELECT 1 FROM Employees 
WHERE EXISTS (<insert predicate>)
WPrecht
  • 1,340
  • 1
  • 17
  • 29