Table Name: cursor = database.cursor("select tabname from systables where owner = '" + client.id + "'"); while(cursor.next()) { write("" + cursor.tabname + "\n"); }