Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要检查一条记录是否已插入表中,如果是,我必须检索特定信息并在第二个表中搜索。请告诉我一旦记录到达第一个表中搜索第二个表的正确方法.
提前致谢
不确定,你到底在找什么。您是否在数据库中寻找触发器,一旦插入记录就会触发?
CREATE [DEFINER = { user | CURRENT_USER }] TRIGGER trigger_name trigger_time trigger_event ON tbl_name FOR EACH ROW trigger_body