Why do you need to check for the existence of the row first? Is this for a class or something?
There is no need to check, just delete. If you want to do something if no row is deleted, then you can check the @@ROWCOUNT and do something.
COURSE_REFERENCE = -1465586182