0
打開HTML網頁,我使用數據庫觸發器如何使用觸發
當數據庫行更新,我想獲得實時通知樣改變現在發生
假設我使用的消息表在我的數據庫
假設用戶在消息表中插入了值。我想變化應該使用實時
觸發注意,然後我想打開HTML頁面時,排在我
消息表然後html頁面應該打開或一個警告框,顯示通知
插入了「你收到了一條新消息」。
請幫我解決這個問題 例如 CREATE TRIGGER notifyMe
ON table1
AFTER INSERT, UPDATE, DELETE
AS
EXEC msdb.dbo.sp_send_dbmail
@profile_name = 'DB AutoMailer',
@recipients = 'user[email protected]',
@body = 'The DB has changed',
@subject = 'DB Change';
in above example mail is sending but i want to open html page i need syntax to open html page
感謝哈姆扎·薩利姆 –
來吧!做一些好事! –