Hi all. I'm having trouble with my task: Make a procedure to enable making new assignments for professors in school, check everything with TRY&CATCH, and if everything is OK display that table.On the beginning the code works fine, but it doesn't display the table on the end!Please help!CREATE PROCEDURE [dbo].[NewAssignment] @SubjectID as int, @ProfessorID as nvarchar(20), @Assignment as nvarchar(50)ASBEGIN BEGIN TRY INSERT INTO ProfessorAssignments VALUES (@SubjectID,@ProfessorID,@Assignment) END TRY BEGIN CATCH DECLARE @ErrNumb INT SET @ErrNumb = ERROR_NUMBER() IF @ErrNumb >0 BEGIN IF @ErrNumb =2627 SELECT 'That subject is already assigned for that professor.' AS ErrorExpl ELSE SELECT 'Other error' AS ErrorExpl END ELSE BEGIN SELECT * FROM ProfessorAssignments END END CATCHEND