develooper Front page | perl.beginners | Postings from December 2002

first row of database

Thread Next
From:
Robbie Staufer
Date:
December 10, 2002 09:22
Subject:
first row of database
Message ID:
3DF622BF.566FDF67@scd.ucar.edu
Hi,

Is there a way to refer to the first row of a database (row 0?) ?

For example, the first row of my database contains header information.
I want the header row to print out first whenever data is requested, so
the output file looks like this:

header,  header, header, header, header
data, data, data, data, data,
data, data, data, date, data

I know how to print out the data, but can't figure out how to ask for
the first row.

Many thanks,
Robbie

--
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Robbie Staufer
NCAR/SCD
1850 Table Mesa Dr. Rm. 42
Boulder, CO. 80305
(303) 497-1836



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About