Are you not duplicating items within your request?
org_location.loc_Name is included in org_location.*
See below for reference to use of DISTINCT in a select query
http://www.w3schools.com/s
Run this query
SELECT DISTINCT org_location.loc_Name, org_location.*
FROM org_location
Same error?
Post the query that does work
select distinct [column_name],* from [table] I would think will generate the same error
i.e. How can DISTINCT be applied to any column in the table?
Main Topics
Browse All Topics





by: dotmeatPosted on 2005-09-01 at 22:54:39ID: 14807902
if one of a filed in "select statement" (org_location.loc_Name, org_location.*, organization.org_Name) is text, ntext, or image data type you can not use DISTINCT.
Try to remove DISTINCT in your query
SELECT org_location.loc_Name, org_location.*, organization.org_Name
FROM org_location
...