Advertisement

12.21.2005 at 03:53AM PST, ID: 21671695
[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!

5.2

order by result is wrong?

Asked by bhpr in Oracle Database

Tags:

hi all,

please see the below part and say what shud be the result..

i tried and expecting result ....
1 and 100..
but in both cases it is giving 1 why?

can u pls resolve this puzzle?

-bhpr


--PART 1
CREATE TABLE TEMP123
(
      ID NUMBER(5)
)

--PART 2
BEGIN
      FOR i in 1..100
      LOOP
            INSERT INTO TEMP123 VALUES (i);
      END LOOP;
      COMMIT;
END;


--PART 3
DECLARE
TEMP_ORDER VARCHAR2(30);
TEMP_ID VARCHAR2(30);

BEGIN
      TEMP_ORDER:='ASC';
      SELECT ID  INTO TEMP_ID FROM
      (
            SELECT
                  ID
            FROM      
                  TEMP123                  
            ORDER BY ID || TEMP_ORDER                         
      )
      WHERE ROWNUM <=1
      ;

      DBMS_OUTPUT.PUT_LINE('ID ASC : '||TEMP_MSG_ID);

      TEMP_ORDER:='DESC';
      SELECT ID  INTO TEMP_ID FROM
      (
            SELECT
                  ID
            FROM      
                  TEMP123                  
            ORDER BY ID || TEMP_ORDER                         
      )
      WHERE ROWNUM <=1
      ;

      DBMS_OUTPUT.PUT_LINE('ID DESC : '||TEMP_MSG_ID);

END;Start Free Trial
[+][-]12.21.2005 at 03:57AM PST, ID: 15525492

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.

 
[+][-]12.21.2005 at 04:34AM PST, ID: 15525696

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.

 
[+][-]12.21.2005 at 04:38AM PST, ID: 15525713

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.

 
[+][-]12.21.2005 at 06:43AM PST, ID: 15526437

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.

 
[+][-]12.21.2005 at 08:33PM PST, ID: 15531883

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.

 
[+][-]12.21.2005 at 08:35PM PST, ID: 15531894

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.

 
[+][-]12.22.2005 at 09:22PM PST, ID: 15540113

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.

 
[+][-]12.23.2005 at 02:04AM PST, ID: 15540938

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 Database
Tags: order
Sign Up Now!
Solution Provided By: suresh_m
Participating Experts: 6
Solution Grade: B
 
 
[+][-]12.23.2005 at 03:32AM PST, ID: 15541276

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.

 
[+][-]12.23.2005 at 06:10AM PST, ID: 15542191

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.

 
[+][-]12.24.2005 at 11:45AM PST, ID: 15547553

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.

 
[+][-]12.24.2005 at 03:07PM PST, ID: 15547963

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.

 
[+][-]12.24.2005 at 03:18PM PST, ID: 15547982

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.

 
[+][-]12.24.2005 at 03:27PM PST, ID: 15548005

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.

 
[+][-]12.24.2005 at 03:34PM PST, ID: 15548016

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.

 
[+][-]03.24.2006 at 11:09PM PST, ID: 16287000

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.

 
[+][-]04.04.2006 at 05:01AM PDT, ID: 16369873

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.

 
[+][-]04.04.2006 at 02:33PM PDT, ID: 16376030

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.

 
[+][-]04.04.2006 at 09:31PM PDT, ID: 16378084

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.

 
 
Loading Advertisement...
20081112-EE-VQP-42