I want to make sure if the input ID has been in the databas. I use SQL to find a record which ID is same as inputID. But it takes time. Is there any faster way to check the input ID?