0

My application sends bulk messages to customers. What I want is:

1.Application should not accept more than 10 duplicate message per day. 2.should be checked for same sender, same number and on same message.

How can i do it in database? The sent message details are saved in a table and it has columns to store sender id, mobile no, message and datetime

Before insertion, the condition should be checked.

please help me out.

4

1 回答 1

0

您可以在表上创建触发器以对其进行验证,或者在插入之前通过查询检查 UI。

于 2012-10-23T10:55:00.827 回答