subject

Write a PL/SQL procedure that assigns a reviewer to a paper in a certain round of review. The input includes a paper ID, reviewer ID, round, and due date. The procedure does ALL of the following: a. First check whether there is a paper with the given paper ID, if not, print an error message 'Wrong paper ID' and stop;
b. Next check whether there is a reviewer with the input reviewer ID. If not, print an error message 'wrong reviewer ID' and stop.
c. Next check whether there is already a row in paper_review with given paper ID, reviewer ID, and round. If so, print a message 'Already assigned' and stop.
d. Now check whether there is a conflict of interest, i. e., whether any author of the paper and the input reviewer has the same affiliation. If a conflict exists, print a message 'X and Y have conflict of interest' where X and Y are the names of author and reviewer with the same affiliation and stop. Please note that a paper may have multiple authors with the same affiliation with the reviewer.
e. If none of the above happens, insert a row to paper_review with given paper ID, reviewer ID, round, due date, and give null values to receive_date, decision and comment. Please use a sequence to generate new prid and print out the new prid. Please include the drop sequence and create sequence command before the procedure creation code such that your procedure can be created correctly.

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 07:00, yyy77uh
You will be given two character arrays of the same size, one will contain a number of ships. ships will move around the character array based on which way they are facing and the route they are on. routes are given in the other array. the route consists of '-' and '|' for straight paths, '\' and '/' for curves, and '+' for intersections. there are ships on these routes. ships always face a direction, '^' for up, '> ' for right, 'v' for down, and '< ' for left. any time the ships hit a '\' or a '/' it will turn as you would expect a ship to turn (e. g. a '^' that moves into a '/' will turn right). at an intersection, ships will always continue straight through. all ships move at the same speed, ships take turns moving and all ships move during one 'tick'. the one in the most top left goes first, followed by those to its right, then the ones in the next row. it iterates along the rows and then down the columns. each ship moves one space on its turn moving along the route. your function needs to return the position of the first collision between two ships and the number of ticks before the crash occurred.
Answers: 2
image
Computers and Technology, 22.06.2019 18:30, leannhb3162
Which of these options are the correct sequence of actions for content to be copied and pasted? select content, click the copy button, click the paste button, and move the insertion point to where the content needs to be inserted. click the copy button, select the content, move the insertion point to where the content needs to be inserted, and click the paste button. select the content, click the copy button, move the insertion point to where the content needs to be inserted, and click the paste button. select the content, move the insertion point to where the content needs to be inserted, click the copy button, and click the paste button.
Answers: 3
image
Computers and Technology, 22.06.2019 21:00, raquelle66
So im doing this school challenge and the teachers said whats the average text a student gets a day so i need to get about 20 in a day but dont know how can you guys 2163371293
Answers: 2
image
Computers and Technology, 23.06.2019 06:30, eddsworldfrantic
You have a small company and want to keep your costs low, but it is important your employees share data. which network would provide you with the most economical solution?
Answers: 1
You know the right answer?
Write a PL/SQL procedure that assigns a reviewer to a paper in a certain round of review. The input...

Questions in other subjects:

Konu
Mathematics, 04.12.2020 04:10
Konu
Mathematics, 04.12.2020 04:10