Click here to Skip to main content
15,898,628 members
Home / Discussions / Database
   

Database

 
AnswerRe: OleDb ? Pin
Rob Graham28-Dec-08 8:48
Rob Graham28-Dec-08 8:48 
Questionhow to register / config oledb provider in sql report server 2005? Pin
YARON_PH21-Dec-08 4:45
YARON_PH21-Dec-08 4:45 
AnswerRe: how to register / config oledb provider in sql report server 2005? Pin
Wendelius21-Dec-08 5:12
mentorWendelius21-Dec-08 5:12 
QuestionWhat sql data field is the most suitable to store file navigation url Pin
tomertro21-Dec-08 4:17
tomertro21-Dec-08 4:17 
AnswerRe: What sql data field is the most suitable to store file navigation url Pin
Wendelius21-Dec-08 4:22
mentorWendelius21-Dec-08 4:22 
GeneralRe: What sql data field is the most suitable to store file navigation url Pin
tomertro21-Dec-08 4:28
tomertro21-Dec-08 4:28 
GeneralRe: What sql data field is the most suitable to store file navigation url Pin
Wendelius21-Dec-08 4:31
mentorWendelius21-Dec-08 4:31 
GeneralRe: What sql data field is the most suitable to store file navigation url Pin
Mycroft Holmes21-Dec-08 13:42
professionalMycroft Holmes21-Dec-08 13:42 
GeneralRe: What sql data field is the most suitable to store file navigation url Pin
Wendelius21-Dec-08 18:07
mentorWendelius21-Dec-08 18:07 
AnswerRe: What sql data field is the most suitable to store file navigation url Pin
dan!sh 21-Dec-08 4:25
professional dan!sh 21-Dec-08 4:25 
QuestionHow can I show Query result in the following way??? Pin
Chadamama21-Dec-08 3:17
Chadamama21-Dec-08 3:17 
AnswerRe: How can I show Query result in the following way??? Pin
Wendelius21-Dec-08 3:51
mentorWendelius21-Dec-08 3:51 
Chadamama wrote:
Result from SQL
--------------------
DeptId DeptCode DeptName EmpId EmpName
D00001 MS00001 SQL E00001 ABC
D00001 MS00001 SQL E00002 EFG
D00001 MS00001 SQL E00003 XYZ

My requirement is
---------------------
DeptId DeptCode DeptName EmpId EmpName
D00001 MS00001 SQL E00001 ABC
E00002 EFG
E00003 XYZ

in my requirement only one row will be displayed.


You have three rows in the data example. Do you mean that you don't want to show repeating values. If that's the case, as far as I know, you can't do it with SQL. You could write a procedure and manipulate the result in the proc.

The need to optimize rises from a bad design.My articles[^]

GeneralRe: How can I show Query result in the following way??? Pin
Chadamama21-Dec-08 17:22
Chadamama21-Dec-08 17:22 
GeneralRe: How can I show Query result in the following way??? Pin
Wendelius21-Dec-08 18:08
mentorWendelius21-Dec-08 18:08 
QuestionQuery Help Pin
Saiyed Alam20-Dec-08 23:59
Saiyed Alam20-Dec-08 23:59 
AnswerRe: Query Help Pin
Wendelius21-Dec-08 0:39
mentorWendelius21-Dec-08 0:39 
GeneralRe: Query Help Pin
Saiyed Alam21-Dec-08 0:57
Saiyed Alam21-Dec-08 0:57 
GeneralRe: Query Help Pin
Wendelius21-Dec-08 1:46
mentorWendelius21-Dec-08 1:46 
AnswerRe: Query Help Pin
Blue_Boy21-Dec-08 0:47
Blue_Boy21-Dec-08 0:47 
GeneralRe: Query Help Pin
Saiyed Alam21-Dec-08 0:56
Saiyed Alam21-Dec-08 0:56 
GeneralRe: Query Help Pin
Blue_Boy21-Dec-08 0:58
Blue_Boy21-Dec-08 0:58 
QuestionQuestion Update a Query with Case When Data Pin
pdnet20-Dec-08 2:58
pdnet20-Dec-08 2:58 
AnswerRe: Question Update a Query with Case When Data Pin
Wendelius20-Dec-08 4:56
mentorWendelius20-Dec-08 4:56 
GeneralRe: Question Update a Query with Case When Data Pin
pdnet21-Dec-08 17:56
pdnet21-Dec-08 17:56 
GeneralRe: Question Update a Query with Case When Data Pin
Wendelius21-Dec-08 18:17
mentorWendelius21-Dec-08 18:17 

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.