0

I have a table like this: select * from UserMaster_tbl my output like this:enter image description here

i want to check each record insertion time ,if can how i can show the insertion time as last column of this result

4

1 回答 1

0

一种方法是在此表中包含一个新的 DateTime 字段,其中包含您需要的信息。

如果您不想修改此表,我建议您创建一个包含 2 个字段的新表:

uid => UserMaster_tbl Pk,

插入时间 => 日期时间

您可以在 UserMater_table 中创建与插入相关的触发器,并且每次有新插入时,您都会在新表中创建一条新记录。

于 2013-08-22T08:38:15.380 回答