Project 2

Make the last two procedures autonomous transactions.

To create all these new unique IDs, write a function getID that takes only one argument that specifies what kind of ID it needs to create (CID, SID, PID, etc), uses appropriate sequences and returns the ID. Use this function in all your procedures.

This project is due by 11:59pm on Thursday, February 12, 2004.