twb_initial_sql function

Extract Initial SQL statements from connections (if present)