Saving all output to "!!{outputDirectory}!!/udf_date_sub.q.raw". Enter "record" with no arguments to stop it. >>> !run !!{qFileDirectory}!!/udf_date_sub.q >>> DESCRIBE FUNCTION date_sub; 'tab_name' 'date_sub(start_date, num_days) - Returns the date that is num_days before start_date.' 1 row selected >>> DESCRIBE FUNCTION EXTENDED date_sub; 'tab_name' 'date_sub(start_date, num_days) - Returns the date that is num_days before start_date.' 'start_date is a string in the format 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd'. num_days is a number. The time part of start_date is ignored.' 'Example:' ' > SELECT date_sub('2009-07-30', 1) FROM src LIMIT 1;' ' '2009-07-29'' 5 rows selected >>> !record