Click here to Skip to main content
15,908,455 members
Home / Discussions / Database
   

Database

 
QuestionSSAS , No connection could be made because the target machine actively refused it Pin
irfanhaleem@hotmail.com12-Apr-11 22:09
irfanhaleem@hotmail.com12-Apr-11 22:09 
AnswerRe: SSAS , No connection could be made because the target machine actively refused it Pin
Wendelius13-Apr-11 5:18
mentorWendelius13-Apr-11 5:18 
AnswerRe: SSAS , No connection could be made because the target machine actively refused it Pin
S Douglas28-Apr-11 10:55
professionalS Douglas28-Apr-11 10:55 
QuestionHow Do I display current date and time in Toad for Oracle? Pin
Justiin126512-Apr-11 9:45
Justiin126512-Apr-11 9:45 
AnswerRe: How Do I display current date and time in Toad for Oracle? Pin
Wendelius12-Apr-11 10:54
mentorWendelius12-Apr-11 10:54 
AnswerRe: How Do I display current date and time in Toad for Oracle? Pin
Jörgen Andersson12-Apr-11 20:51
professionalJörgen Andersson12-Apr-11 20:51 
AnswerRe: How Do I display current date and time in Toad for Oracle? Pin
Prasanta_Prince13-Apr-11 1:29
Prasanta_Prince13-Apr-11 1:29 
Questionorder by clause Pin
venkat11612-Apr-11 1:47
venkat11612-Apr-11 1:47 
Hi All,

I have one table containing few columns.
LruName, ChName and Type.

I want to fetch a query from the above table
order by LruName, ChName, Type

by using the above query I am getting output like this
-------------------------------------------------------------------------------------------------------
LruName ChName Type
ADU1 CH1 Tx
ADU2 CH2 Tx
AHRS1 CH3 Tx
AHRS2 CH4 Tx
DVS CH24 Rx
DVS CH28 Rx
DVS CH5 Tx
DVS CH6 Tx
FADEC1 CH1 Tx
FADEC1 CH2 Tx
FADEC2 CH3 Tx
FADEC2 CH4 Tx
NLDW CH8 Tx
OAS CH7 Tx
----------------------------------------------------------------------------------------------------------

But I want output like this

----------------------------------------------------------------------------------------------------------
LruName ChName Type
ADU1 CH1 Tx
ADU2 CH2 Tx
AHRS1 CH3 Tx
AHRS2 CH4 Tx
DVS CH5 Tx
DVS CH6 Tx
DVS CH24 Rx
DVS CH28 Rx
FADEC1 CH1 Tx
FADEC1 CH2 Tx
FADEC2 CH3 Tx
FADEC2 CH4 Tx
NLDW CH8 Tx
OAS CH7 Tx


ie I want LruName, Chname and Type to be order wise
again in Type Tx ( rows ) should come first then Rx.

how to write a query by getting the above results.
AnswerRe: order by clause Pin
Luc Pattyn12-Apr-11 1:56
sitebuilderLuc Pattyn12-Apr-11 1:56 
GeneralRe: order by clause Pin
venkat11612-Apr-11 2:03
venkat11612-Apr-11 2:03 
GeneralRe: order by clause Pin
Luc Pattyn12-Apr-11 2:10
sitebuilderLuc Pattyn12-Apr-11 2:10 
GeneralRe: order by clause Pin
venkat11612-Apr-11 2:23
venkat11612-Apr-11 2:23 
GeneralRe: order by clause Pin
Luc Pattyn12-Apr-11 2:34
sitebuilderLuc Pattyn12-Apr-11 2:34 
GeneralRe: order by clause Pin
venkat11612-Apr-11 2:40
venkat11612-Apr-11 2:40 
AnswerRe: order by clause Pin
Chris Meech12-Apr-11 3:02
Chris Meech12-Apr-11 3:02 
GeneralRe: order by clause Pin
venkat11612-Apr-11 3:47
venkat11612-Apr-11 3:47 
GeneralRe: order by clause Pin
Jörgen Andersson12-Apr-11 9:31
professionalJörgen Andersson12-Apr-11 9:31 
GeneralRe: order by clause Pin
Chris Meech12-Apr-11 9:43
Chris Meech12-Apr-11 9:43 
GeneralRe: order by clause Pin
Jörgen Andersson12-Apr-11 9:46
professionalJörgen Andersson12-Apr-11 9:46 
GeneralRe: order by clause Pin
David Skelly12-Apr-11 22:23
David Skelly12-Apr-11 22:23 
GeneralRe: order by clause Pin
Jörgen Andersson12-Apr-11 23:06
professionalJörgen Andersson12-Apr-11 23:06 
AnswerRe: order by clause Pin
Prasanta_Prince13-Apr-11 1:31
Prasanta_Prince13-Apr-11 1:31 
QuestionDealing with apostrophe in stored procedure Pin
berba11-Apr-11 22:15
berba11-Apr-11 22:15 
AnswerRe: Dealing with apostrophe in stored procedure Pin
Eddy Vluggen12-Apr-11 0:02
professionalEddy Vluggen12-Apr-11 0:02 
AnswerRe: Dealing with apostrophe in stored procedure Pin
Chris Meech12-Apr-11 2:52
Chris Meech12-Apr-11 2:52 

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.