Re: flat-file insert question
From: Jeff Zucker (jeff_at_vpservices.com)
Date: 05/17/04
- Previous message: Leegold: "flat-file insert question"
- In reply to: Leegold: "flat-file insert question"
- Next in thread: Leegold: "Re: Another flat-file insert question"
- Reply: Leegold: "Re: Another flat-file insert question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 17 May 2004 08:33:52 -0700 To: leegold <leegold@fastmail.fm>
leegold wrote:
> Given a flat-file:
>
> 1###A###703
> 2###D###203
> 3###E###303
> 4###J###901
>
> The file is sorted by field2.
In SQL it is irrelevant what order the physical file is sorted in. If
you want a list sorted by field2, you just use the SQL clause "ORDER BY
field2" when you do a SELECT and it will be returned to you in that
order regardless of the order of the physical file.
This question has to do with SQL, not with DBI. You'd be better off
looking for SQL answers someplace devoted to SQL. Try a google for "SQL
Tutorial".
-- Jeff
- Previous message: Leegold: "flat-file insert question"
- In reply to: Leegold: "flat-file insert question"
- Next in thread: Leegold: "Re: Another flat-file insert question"
- Reply: Leegold: "Re: Another flat-file insert question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|