Re: keeping duplicates with certain associated fields
From: Anith Sen (anith_at_bizdatasolutions.com)
Date: 05/20/04
- Next message: Gregory A. Larsen: "Re: query for identity columns"
- Previous message: Anith Sen: "Re: Search and replace text in the entire database?"
- In reply to: neil: "keeping duplicates with certain associated fields"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 20 May 2004 15:04:41 -0500
Use MIN() function on the column code with a GROUP BY in your SELECT
statement. Refer to SQL Server Books Online for syntax of a SELECT statement
in t-SQL.
-- Anith
- Next message: Gregory A. Larsen: "Re: query for identity columns"
- Previous message: Anith Sen: "Re: Search and replace text in the entire database?"
- In reply to: neil: "keeping duplicates with certain associated fields"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|