One way of performing the compilation: sqlplus sa/<pass>@<sid> @ora_trig.sql where: <pass> is sa's password <sid> is the name of the database SID (security ID)
When finished, you should see a message that the trigger was created. If there are any error messages, fix the error and recompile.