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

RE: first row of database

Thread Previous | Thread Next
Bob Showalter
December 11, 2002 09:02
RE: first row of database
Message ID:
> -----Original Message-----
> From: Robbie Staufer []
> Sent: Tuesday, December 10, 2002 12:22 PM
> To:
> 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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About