Click here to Skip to main content
15,918,268 members
Home / Discussions / Database
   

Database

 
AnswerRe: Slow App ... Pin
originSH27-Sep-07 1:57
originSH27-Sep-07 1:57 
AnswerRe: Slow App ... Pin
gabi_coman27-Sep-07 2:08
gabi_coman27-Sep-07 2:08 
Questiondoes sqlServer2005 allow multiple user to connect? Pin
PadmaPriya.S26-Sep-07 23:36
PadmaPriya.S26-Sep-07 23:36 
AnswerRe: does sqlServer2005 allow multiple user to connect? Pin
Marek Grzenkowicz26-Sep-07 23:52
Marek Grzenkowicz26-Sep-07 23:52 
QuestionKeyBoard Key Code [modified] Pin
Venkataramuc26-Sep-07 22:39
Venkataramuc26-Sep-07 22:39 
AnswerRe: KeyBoard Key Code Pin
pmarfleet26-Sep-07 22:43
pmarfleet26-Sep-07 22:43 
AnswerRe: KeyBoard Key Code Pin
Paddy Boyd27-Sep-07 0:16
Paddy Boyd27-Sep-07 0:16 
QuestionHelp in this query..., Pin
Member 387988126-Sep-07 20:59
Member 387988126-Sep-07 20:59 
Hi i have one query this is giving o/p:
But Probs is its taking long time to produce the o/p:
any one give me the solution to fetch quickily for the below query:
My query:
Select CO_NAME,Sector,Analyst,edate,CurrentSector,CurrentConSec,Sec_Recomm,Sec_Confidence,CurrentMarket,
CurrentConMark,LastMarket,LastConMark,ClosingMarketPrice AS ClosingPrice,
CurrentClosingMarketPrice AS CurrentClosingPrice,
((CurrentClosingMarketPrice)/(ClosingMarketPrice)) AS Performance,AnnId
from
(SELECT first 100 MASTER.CO_NAME, NewCompany.Co_Name AS Company, SectorMaster.Sector_Name AS Sector,
UserMaster.UserName AS Analyst, AnalystViews.DOE AS edate, AnalystViews.Sec_Recomm AS CurrentSector,
AnalystViews.Sec_Confidence AS CurrentConSec,

(SELECT first 1 Q.Sec_Recomm FROM AnalystViews Q ,MeetingSchedule INNER JOIN MeetingSchedule M ON
Q.AnnounceId = M.AnnounceId WHERE (Q."ACTIVE" = 'T') AND (Q.Completed = 'Y') AND
M.CO_CODE = MeetingSchedule.CO_CODE ORDER BY Q.DOE) ,

AnalystViews.Sec_Confidence,AnalystViews.Mark_Recomm AS CurrentMarket,
AnalystViews.Sec_Confidence AS CurrentConMark ,AnalystViews.Mark_Recomm AS LastMarket ,

(SELECT first 1 Q.Sec_Confidence FROM AnalystViews Q ,MeetingSchedule M INNER JOIN
MeetingSchedule ON Q.AnnounceId = M.AnnounceId WHERE (Q."ACTIVE" = 'T') AND (Q.Completed = 'Y') AND
M.CO_CODE = MeetingSchedule.CO_CODE ORDER BY Q.DOE) AS LastConMark ,

(SELECT first 1 "CLOSE" FROM DLYPRICEBSE ,MeetingSchedule ,AnalystViews
WHERE (DLYPRICEBSE.Co_Code = MeetingSchedule.Co_Code) AND (DLYPRICEBSE."DATE"<= AnalystViews.DOE)
ORDER BY DLYPRICEBSE."DATE" DESC) AS ClosingMarketPrice,

(SELECT first 1 "CLOSE" FROM DLYPRICEBSE ,MeetingSchedule WHERE
(DLYPRICEBSE.Co_Code = MeetingSchedule.Co_Code) ORDER BY DLYPRICEBSE."DATE" DESC) AS CurrentClosingMarketPrice,

AnalystViews.AnnounceID AS AnnId FROM MASTER RIGHT OUTER JOIN NewCompany RIGHT OUTER JOIN
MeetingSchedule ON NewCompany.Co_code = MeetingSchedule.Co_Code ON MASTER.CO_CO





Regards,
Magi

AnswerRe: Help in this query..., Pin
pmarfleet26-Sep-07 21:51
pmarfleet26-Sep-07 21:51 
AnswerRe: Help in this query..., Pin
andyharman26-Sep-07 23:21
professionalandyharman26-Sep-07 23:21 
QuestionSQL 2005 Client problem Pin
david bagaturia26-Sep-07 19:48
david bagaturia26-Sep-07 19:48 
AnswerRe: SQL 2005 Client problem Pin
Frank Kerrigan27-Sep-07 2:53
Frank Kerrigan27-Sep-07 2:53 
Questioni need some urgent help in this issue ! Pin
matched26-Sep-07 10:55
matched26-Sep-07 10:55 
AnswerRe: i need some urgent help in this issue ! Pin
leckey26-Sep-07 11:38
leckey26-Sep-07 11:38 
JokeRe: i need some urgent help in this issue ! Pin
Paul Conrad26-Sep-07 16:22
professionalPaul Conrad26-Sep-07 16:22 
GeneralRe: i need some urgent help in this issue ! Pin
Pete O'Hanlon26-Sep-07 23:33
mvePete O'Hanlon26-Sep-07 23:33 
GeneralRe: i need some urgent help in this issue ! Pin
Colin Angus Mackay27-Sep-07 1:48
Colin Angus Mackay27-Sep-07 1:48 
GeneralRe: i need some urgent help in this issue ! Pin
Paul Conrad27-Sep-07 2:36
professionalPaul Conrad27-Sep-07 2:36 
AnswerRe: i need some urgent help in this issue ! Pin
Colin Angus Mackay26-Sep-07 13:24
Colin Angus Mackay26-Sep-07 13:24 
GeneralRe: i need some help in this issue ! Pin
matched3-Oct-07 17:20
matched3-Oct-07 17:20 
GeneralRe: i need some help in this issue ! Pin
Colin Angus Mackay3-Oct-07 21:26
Colin Angus Mackay3-Oct-07 21:26 
QuestionDrag-And-Drop Binding - Simple Question Pin
ekareem26-Sep-07 7:53
ekareem26-Sep-07 7:53 
QuestionWebService Sql Notification - Advice Pin
markpirvine26-Sep-07 6:46
markpirvine26-Sep-07 6:46 
QuestionChanging Procedure from Old DB to New DB Pin
lcerni26-Sep-07 5:33
lcerni26-Sep-07 5:33 
QuestionSelect multiple rows in single row view Pin
Juan Pablo G.C.26-Sep-07 3:47
Juan Pablo G.C.26-Sep-07 3:47 

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.