If you ever need to browse through a database, and dip in and out of tables to see what the data looks like, but you have very little data to go on, then you will be aware that simply running a select * against each table can be a time consuming and inefficient process. I am in this situation currently with a database that has no enforced referential integrity between it's tables that I am having to explore (foreign keys exist but aren't enforced at the database level).
In such situations, I like to use the top N command to return just a portion of the data. This gives me enough to get a feel for what the data in a table looks like, but doesn't waste time trying to return all the rows. The following will return the top N rows for T-SQL and PL/SQL respectively:
T-SQL
SELECT TOP 100 field
FROM tablename
PL/SQL
SELECT field
FROM tablename
WHERE rownum <= 100
Obviously the top N rows will depend on what column the ordering is based on, and as above will run on whatever the default is. You can specify an order by clause, although this will increase the time taken to run the query.
James