Advertisement

06.01.2004 at 12:46AM PDT, ID: 21008619
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.4

Multiple Parameteric Value in Reports 6i Parameter Form through in main Query and Subquery IN Clause

Asked by waqas_aslam_arain in Oracle 3rd Party Tools

Here is the Query which i want to pass the In Clause through Parameters

Select z.ProdID, z.DocID, z.ContVal, c.DoctorName||' '||c.Dr_Middle_Name||' '||c.Dr_Last_Name DrName, c.ANNUAL_INVESTMENT AnInv, n.Chem_Code ChCode,n.Region,
       d.Visits*12 Visits, (Select (SaleFrcCost/(NoReps*TotCallsPerRep)) From SegTest.SegTgt Where ProdID = z.ProdID)*(d.Visits*12) VstCost,
       (Select Sum(SpSal.SalesValue) From SegTest.Sap_Sales2 SpSal, SegTest.Product_HIstory PdHis Where SpSal.ProductID = PdHis.ProductID And SpSal.ChemistID = n.Chem_Code) ChemSal
From (Select Av.ProdID ProdID, Av.Doctor_ID DocID,
             (Select Sum(Percentage)/100 From SegTest.Allocate_DTL Where Doctor_ID= Av.Doctor_ID
And Disease_ID In :Para1)*(Select Sum(No_Patients) From SegTest.Patient_PerDay_Dtl P,  SegTest.Dr_Place DP Where P.Doctor_ID = Av.Doctor_ID And P.Doctor_ID = DP.Doctor_ID(+) And P.Place_ID = DP.Place_ID )*(NVL(PrDtl.Avg_Val_Prescription,1))*(NVL(PrDtl.AgePer_P_Y,0)+NVL(PrDtl.AgePer_M_G,0))/100 ContVal
      From SegTest.AvenProdRatio Av, SegTest.Practice_Dtl PrDtl
      Where  Av.Doctor_ID   = PrDtl.Doctor_ID(+)) z, SegTest.Doctors_History c, SegTest.Class_History d, SegTest.Visit_Ranking v, Chemist_Loc n
Where z.DocID = c.DoctorID(+)
  And z.DocID = v.DoctorID(+)
  And v.MIOClassID = d.ClassID
  And z.DocId = n.Doctor_Id
  And n.ChCode In :Para2
  and c.depotid = :para3
  and Av.ProdID = :Para4;

The parameters which i had to pass are defined here as PARA1 .... and the one which are required with in caluse are also mentioned like :Para1 and :Para2.

Please help

Thanks
Start Free Trial
[+][-]06.01.2004 at 01:35AM PDT, ID: 11201041

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.02.2004 at 03:48AM PDT, ID: 11210879

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.02.2004 at 04:18AM PDT, ID: 11211054

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.02.2004 at 04:19AM PDT, ID: 11211063

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.03.2004 at 01:54AM PDT, ID: 11220263

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.03.2004 at 02:02AM PDT, ID: 11220308

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.03.2004 at 03:32AM PDT, ID: 11220823

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.03.2004 at 03:57AM PDT, ID: 11220959

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.03.2004 at 04:14AM PDT, ID: 11221065

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.03.2004 at 06:32AM PDT, ID: 11222166

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.06.2004 at 10:33PM PDT, ID: 11246294

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.06.2004 at 11:42PM PDT, ID: 11246513

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.27.2004 at 10:35PM PDT, ID: 11413151

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]06.27.2004 at 11:10PM PDT, ID: 11413252

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Oracle 3rd Party Tools
Sign Up Now!
Solution Provided By: concon
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32