CREATE AUTHORIZATION mail_token AS DEFINER DEFAULT USER 'mailmgr' PASSWORD 'secret'; REPLACE PROCEDURE tdmail(in From_ VARCHAR(100), in To_ VARCHAR(100), in Subject VARCHAR(200), in Message VARCHAR(32000)) LANGUAGE C NO SQL PARAMETER STYLE SQL EXTERNAL name 'CS!tdmail!tdmail.c' EXTERNAL SECURITY DEFINER;