At the time of button click i am inserting edit text value to SQLite database.At the time of inserting i want to check that the same data is available in the table ,if it is available means i don’t want to insert otherwise insert the records to table
Please any one help me with some source code
Thanks in Advance
Perhaps a better solution is to declare each column you want to consider (when determining if a row is a duplicate)
UNIQUE. Then SQLite will handle this problem for you.http://www.sqlite.org/lang_createtable.html