0

Can anyone suggest me that how can I check if value entered by user is exist in some specific table or not through javaCode?

0

1 Answer 1

5

I'm guessing you need the JDBC tutorial first of all. That will enable you to run SQL against your DB from Java such as:

if EXISTS (select *
    from authors
    where name = 'Dan Brown')
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.