Signal Scripts: Dynamic Procedure for MEDEVENTS

I wrote this procedure to dynamically generate new fast performance SQL
procedures on the fly in Hana. The generated procedures can join any
numeric signal recordings to MEDEVENTS, and chronologically order them
for further analysis.