It's UWAweek 47

help1402

This forum is provided to promote discussion amongst students enrolled in CITS1402 Relational Database Management Systems.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

How do I ask a good question?
Displaying selected article
Showing 1 of 684 articles.
Currently 150 other people reading this forum.


 UWA week 40 (2nd semester, week 10) ↓
SVG not supported

Login to reply

👍x1
helpful
9:13am Sat 5th Oct, Eusha K.

I have the same question! After looking up online, it should be something like: CREATE TRIGGER abort_delete_from_my_tbl BEFORE DELETE ON my_tbl BEGIN SELECT RAISE(ABORT, 'You can''t delete records from my_tbl'); END; However, my output runs perfectly, but the way the error is presented in the Expected section of the test cases don't match my output. Expected section shows: Trigger failed as expected due to related po_items: Error: Cannot delete pos record with associated po_items. My section shows: Unexpected sqlite3 error: Error: near line 12: Cannot delete pos record with associated po_items Don't know how to fix that though!

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy