Results 1 to 3 of 3

Thread: how to write a trigger when I call this store procedure

Threaded View

  1. #1
    Join Date
    Jul 2003
    Posts
    421

    how to write a trigger when I call this store procedure

    CREATE PROCEDURE dropStudent()
    BEGIN
    delete from PostDeferment where (Date(Current_Date)-Date(AccessTime))>=8;

    END

    I want select the UniversityN , and accessTime on PostDeferment and insert into my log table
    thank you!
    ________
    YAMAHA DRUMS
    Last edited by sql; 03-06-2011 at 02:08 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •