Sql server 2005 knowing new record is inserted

前端 未结 4 1923
遥遥无期
遥遥无期 2020-12-22 08:34

Is there any way to find out whether a new record is inserted other than writing trigger in sql server 2005. (it can be tsql or by java...) Since the vendor is not allowing

4条回答
  •  庸人自扰
    2020-12-22 08:56

    Does the table have an auto increment primary key or a createDate column? You could write your a cron job that wakes up periodically and queries to see if anything new has hit the database since you last time you ran the cron job.

提交回复
热议问题