Click here to Skip to main content
15,899,126 members
Home / Discussions / Database
   

Database

 
AnswerRe: Sql server 2000 reporting installation problem Pin
John_Adams15-May-08 20:32
John_Adams15-May-08 20:32 
GeneralRe: Sql server 2000 reporting installation problem Pin
veereshIndia15-May-08 23:27
veereshIndia15-May-08 23:27 
Questionfind discrepancy between two tables Pin
sqldba14-May-08 23:50
sqldba14-May-08 23:50 
AnswerRe: find discrepancy between two tables Pin
Alsvha15-May-08 0:09
Alsvha15-May-08 0:09 
GeneralRe: find discrepancy between two tables Pin
Naveed Kamboh15-May-08 1:52
Naveed Kamboh15-May-08 1:52 
GeneralRe: find discrepancy between two tables Pin
Alsvha15-May-08 23:08
Alsvha15-May-08 23:08 
QuestionProblem in select Pin
ksaw12314-May-08 21:52
ksaw12314-May-08 21:52 
AnswerRe: Problem in select Pin
Nic Rowan14-May-08 22:40
Nic Rowan14-May-08 22:40 
The problem there is the Group By clause.

A Group by is for aggregation (e.g. Averages, Sums, etc.) and your first name and last name aren't part of an aggregation.

Try adding a DISTINCT clause after your select. See if that helps.

SELECT DISTINCT
	Profile.FirstName, 
	Profile.LastName
FROM 
	AssignedTo 
	INNER JOIN Profile ON AssignedTo.Username = Profile.Username 
	CROSS JOIN Milestone
WHERE 
	(Milestone.MilestoneID = @MilestoneID) 
AND	(AssignedTo.ProjectID = @ProjectID)




Dad always thought laughter was the best medicine, which I guess is why several of us died of tuberculosis.

I can picture in my mind a world without war, a world without hate. And I can picture us attacking that world, because they'd never expect it.




GeneralRe: Problem in select Pin
mr_lasseter15-May-08 4:13
mr_lasseter15-May-08 4:13 
GeneralRe: Problem in select Pin
Nic Rowan15-May-08 22:15
Nic Rowan15-May-08 22:15 
QuestionHelp changing Server Collation. [modified] Pin
Nic Rowan14-May-08 21:31
Nic Rowan14-May-08 21:31 
Questionproblem saving arabic data Pin
Boshkash14-May-08 5:22
Boshkash14-May-08 5:22 
AnswerIGNORE Pin
leckey14-May-08 8:18
leckey14-May-08 8:18 
QuestionHow can set a picture in Access database? Pin
Le@rner14-May-08 2:18
Le@rner14-May-08 2:18 
AnswerRe: How can set a picture in Access database? Pin
Blue_Boy14-May-08 2:59
Blue_Boy14-May-08 2:59 
QuestionCorrelated sub query issue Pin
AJ du Plessis14-May-08 0:59
AJ du Plessis14-May-08 0:59 
AnswerRe: Correlated sub query issue Pin
SomeGuyThatIsMe14-May-08 2:10
SomeGuyThatIsMe14-May-08 2:10 
GeneralRe: Correlated sub query issue Pin
AJ du Plessis14-May-08 2:43
AJ du Plessis14-May-08 2:43 
GeneralRe: Correlated sub query issue Pin
SomeGuyThatIsMe14-May-08 3:09
SomeGuyThatIsMe14-May-08 3:09 
AnswerRe: Correlated sub query issue Pin
Ashfield14-May-08 3:10
Ashfield14-May-08 3:10 
GeneralRe: Correlated sub query issue Pin
AJ du Plessis14-May-08 4:20
AJ du Plessis14-May-08 4:20 
GeneralRe: Correlated sub query issue Pin
Ashfield14-May-08 21:09
Ashfield14-May-08 21:09 
QuestionSMO get backup file to store on another pc Pin
JoZ CaVaLLo13-May-08 23:33
JoZ CaVaLLo13-May-08 23:33 
AnswerRe: SMO get backup file to store on another pc Pin
Mycroft Holmes14-May-08 20:24
professionalMycroft Holmes14-May-08 20:24 
GeneralRe: SMO get backup file to store on another pc Pin
JoZ CaVaLLo14-May-08 22:42
JoZ CaVaLLo14-May-08 22:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.