Der Vortrag „SQL - Procedure and Trigger“ von Martin Holzke ist Bestandteil des Kurses „SQL Database for Beginners“. Der Vortrag ist dabei in folgende Kapitel unterteilt:
5 Sterne |
|
5 |
4 Sterne |
|
0 |
3 Sterne |
|
0 |
2 Sterne |
|
0 |
1 Stern |
|
0 |
... to the table comments and verify that the trigger is working correctly. Answer: Insert into comments(notes) values (‘inserting a new note’) Post-test with: Select * from comments This should show the new record including primary key and timestamp. 6) Write a query adding a trigger to the table comments ...
... end; @@ delimiter; Note: This is a very basic solution lacking any error handling, etc. 10) Write queries adding a new project “SEO” with a budget of 400 using the above stored procedure and verify that the stored procedure works correctly. Answer: Call addproject(‘SEO’, 400); Post-test with: select * from project ...