Teiid supports calling foreign procedures and defining virtual procedures and triggers using a procedure language.