Front page | perl.beginners |
Postings from December 2002
RE: first row of database
Thread Previous
|
Thread Next
From:
Bob Showalter
Date:
December 11, 2002 09:02
Subject:
RE: first row of database
Message ID:
2E4528861499D41199D200A0C9B15BC001D7E5B3@FRISTX
> -----Original Message-----
> From: Robbie Staufer [mailto:rstaufer@scd.ucar.edu]
> Sent: Tuesday, December 10, 2002 12:22 PM
> To: beginners@perl.org
> Subject: first row of database
>
>
> 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.
What kind of "database" are you talking about? If you're talking about a SQL
database like Oracle, PostgreSQL, MySQL, etc., then strictly speaking,
there's no such thing as a "first row".
Thread Previous
|
Thread Next