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

Database

 
AnswerRe: Query Help Pin
Wendelius21-Dec-08 18:33
mentorWendelius21-Dec-08 18:33 
GeneralRe: Query Help Pin
Saiyed Alam21-Dec-08 19:13
Saiyed Alam21-Dec-08 19:13 
GeneralRe: Query Help Pin
Wendelius22-Dec-08 4:43
mentorWendelius22-Dec-08 4:43 
Questionhow seacrh text from table column Pin
amit sahu2021-Dec-08 17:38
amit sahu2021-Dec-08 17:38 
AnswerRe: how seacrh text from table column Pin
Wendelius21-Dec-08 17:58
mentorWendelius21-Dec-08 17:58 
AnswerRe: how seacrh text from table column Pin
Vimalsoft(Pty) Ltd21-Dec-08 20:44
professionalVimalsoft(Pty) Ltd21-Dec-08 20:44 
QuestionOleDb ? Pin
dec8221-Dec-08 16:35
dec8221-Dec-08 16:35 
AnswerRe: OleDb ? Pin
Wendelius21-Dec-08 17:55
mentorWendelius21-Dec-08 17:55 
GeneralRe: OleDb ? Pin
dec8222-Dec-08 1:54
dec8222-Dec-08 1:54 
GeneralRe: OleDb ? Pin
Wendelius22-Dec-08 4:44
mentorWendelius22-Dec-08 4:44 
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 

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.