add_sql_code