def show_qry_ex(querystr, table, fld_join='\t', row_separator=None, linefilter=None):
	"""like show_qry() but with table name as first column"""
	rs = select_qry(querystr % table)
	if rs:
		for row in rs:
			output_line("%s%s%s" % (table, fld_join, fld_join.join([field_str(s) for s in row])), linefilter=linefilter)
			if row_separator:
				output_line(row_separator)
like show_qry() but with table name as first column
recipes/Python/576621_Dump_Informix_schema_to_text/recipe-576621.py