I am developing an android application but I do not know how to prevent the user from registering two equal times.
Bank:
String sql4 ="CREATE TABLE "+TABELAAGE+"("
+IDAGE+ " integer primary key autoincrement,"
+NOMECLIAGE+ " text not null,"
+DATA+ " text not null,"
+HORA+ " text not null,"
+SERVICO+ " text not null,"
+VALOR+ " text not null"
+")";
I can not let the user book two equal times on the same date