🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.databases.ms-access
Article #487

Database query, part of records

#487
From: Peter
Date: Mon, 30 Aug 2004 20:06
19 lines
1414 bytes
Hello!
I have some records in a database (access), like this:

001111-10
001111-11
001111-12
002222-10
002222-11
002222-12

I need to retrive the first record of each sequence, "001111-10" and
"002222-10" in the example above.

Next part is I need to show only the first part of each record,
"001111" and "002222" on an Active Server Page (ASP).

Help with any part of this would be appreciated.

BR/Peter
Technical Details
Message-ID: <f6c505b5.0408301149.6e21dbb@posting.google.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews2.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: ff0ac,fe8adce8f4807dcf,start
X-Google-Thread: 10ef2d,fe8adce8f4807dcf,start
X-Google-Thread: f4d39,fe8adce8f4807dcf,start
X-Google-Thread: 1131db,fe8adce8f4807dcf,start
X-Google-Attributes: gidff0ac,gid10ef2d,gidf4d39,gid1131db,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews2.google.com!not-for-mail
From: peter@topcom.nu (Peter)
Newsgroups: comp.databases.ms-access,forum.sqlbase,microsoft.public.inetserver.iis,mailing.database.sql-general
Subject: Database query, part of records
Date: 30 Aug 2004 13:06:33 -0700
Organization: http://groups.google.com
Lines: 19
Message-ID: <f6c505b5.0408301149.6e21dbb@posting.google.com>
NNTP-Posting-Host: 213.67.232.121
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1093896415 16823 127.0.0.1 (30 Aug 2004 20:06:55 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 30 Aug 2004 20:06:55 +0000 (UTC)