When rownum used it is not displaying the rows

iam using the following query
select last_logged_in,user_name_code from (select last_logged_in, user_name_code,hc_pro_first_name,hc_pro_last_name,health_center_name center_of_work,locked_yn account_status,hc_pro_user_name.deleted_yn deleted_yn from (select pm_user_name_code from pm_role_assgmt where pm_user_name_code in (select user_name_code from hc_pro_user_name where user_type_code=(select user_type_code from user_type where user_type='PROGRAM MANAGER')) and user_type_code=(select user_type_code from user_type where user_type='CARE TAKER'))a,hc_professional,hc_pro_user_name,health_center where hc_professional.hc_pro_code=hc_pro_user_name.hc_pro_code and hc_professional.health_center_code=health_center.health_center_code(+) and (hc_pro_user_name.deleted_yn='N' OR hc_pro_user_name.deleted_yn='n') and user_name_code=a.pm_user_name_code and hc_professional.health_center_code in (select health_center_code from hc_professional,hc_pro_user_name where user_name='pmanager' and hc_professional.hc_pro_code=hc_pro_user_name.hc_pro_code) order by hc_pro_first_name)
it works fine and yeilds me with rows.
when i add rownum to the above query it returns no rows.
can any one help on this

i used rownum in the select query like
select last_logged_in,user_name_code,rownum rn from (select last_logged_in, user_name_code,hc_pro_first_name,hc_pro_last_name,health_center_name center_of_work,locked_yn account_status,hc_pro_user_name.deleted_yn deleted_yn from (select pm_user_name_code from pm_role_assgmt where pm_user_name_code in (select user_name_code from hc_pro_user_name where user_type_code=(select user_type_code from user_type where user_type='PROGRAM MANAGER')) and user_type_code=(select user_type_code from user_type where user_type='CARE TAKER'))a,hc_professional,hc_pro_user_name,health_center where hc_professional.hc_pro_code=hc_pro_user_name.hc_pro_code and hc_professional.health_center_code=health_center.health_center_code(+) and (hc_pro_user_name.deleted_yn='N' OR hc_pro_user_name.deleted_yn='n') and user_name_code=a.pm_user_name_code and hc_professional.health_center_code in (select health_center_code from hc_professional,hc_pro_user_name where user_name='pmanager' and hc_professional.hc_pro_code=hc_pro_user_name.hc_pro_code) order by hc_pro_first_name)

Similar Messages

  • When I use airplay it only displays the audio not the video

    How can i display the image and the audio on airplay.  It only shows the audio when I use airplay.  Please need help.

    This is usually due to the app not allowing video to airplay for nebulous rights reasons.
    Check the app provider's website or itunes store reviews.
    AC

  • Using is prompted not displaying the results

    Hi,
    I have a situation here where i want to show all the live reports that are available and then by clicking on the report i will be able to to to adifferent report shows other details like the Dashboard and the Dashboard page.
    I have created the report which has the report name display and then have done a "Value Interaction" -> Navigate under Column format and had mentioned the other report which shows the details of the reports.
    Then created the Detailed report and have the Report name in the detailed report as "Is prompted".
    But when i click on the report the details report could not fetch details of the report giving me the below error
    No Results
    The specified criteria didn't result in any data. This is often caused by applying filters that are too restrictive or that contain incorrect values. Please check your Request Filters and try again. The filters currently being applied are shown below.
    Report Name New is equal to Entries
    I figure out the problem is that if it uses equal to it is not able to fetch the data but if i choose "Contains All" from the filter in the details report it shows me the data.
    But using "is prompted" does equal to. So how do i pass the report name to the Detailed report and use a SQL in the filter.
    Rgds,
    Amit

    Hi David,
    I did the trimboth, another problem which i am facing is that even after putting a filter saying "Dashboard Name not null" i am seeing blank rows in the Dashboard Name column.
    I am having a reports with the below columns:
    Report Name Dashboard Name Dashboard Page
    Any idea why is the Dashboard Name coming blank when after putting TRIMBOTH and not null criteria.
    Rgds
    Amit

  • Select will not displaying the Rows in any order

    hai
    in oracle 8i if i give run this
    SELECT "Payor Name","UnappliedMonth1" AS "Apr 04", "UnappliedMonth2" AS "Mar 04",
    "UnappliedMonth3" AS "Feb 04", "UnappliedMonth4" AS "Jan 04", "UnappliedMonth5" AS "Dec 03", "UnappliedMonth6" AS "Nov 03", "UnappliedMonth7" AS "Oct 03", "UnappliedMonth8" AS "Sep 03", "UnappliedMonth9" AS "Aug 03", "UnappliedMonth10" AS "Jul 03",
    "UnappliedMonth11" AS "Jun 03",
    "Total Cash Applied" AS "Total Cash Applied", "Total Unapplied Cash" AS "Total Unapplied Cash", "Percentage Unapplied" AS "Percentage Unapplied" FROM "RP_Unapplied0I1" GROUP BY "Payor Name", "UnappliedMonth1", "UnappliedMonth2", "UnappliedMonth3", "UnappliedMonth4", "UnappliedMonth5", "UnappliedMonth6", "UnappliedMonth7", "UnappliedMonth8", "UnappliedMonth9", "UnappliedMonth10", "UnappliedMonth11", "Total Cash Applied", "Total Unapplied Cash", "Percentage Unapplied"
    statement it is displaying the result in ascending order
    but if i run in oracle 9i It is not displaying in a ascending order
    what is the problem?
    please help me

    Yes.
    Please note that without the presence of an ORDER BY clause Oracle is free to display the resultset in any order it may choose (may depend on the plan the optimizer comes up with).
    if you need results displayed in a particular order, you MUST supply an ORDER BY clause.
    You cannot rely on the order of the resultset as you get today when executing the query (if not using ORDER BY clause), since the ordering can (and will) change in the future.

  • Just purchased a new iMac and transferred all info from my old iMac. Now when using iPhoto slideshow is displays the pictures in reverse order.

    Just purchased a new iMac and after transferring all info from my old iMac.  Now when using iPhoto slideshow it  displays the pictures in reverse order.

    There's a bug in iPhoto 9.5.1 and Mavericks that affects slideshows played directly from an album.  The slideshow will not play correctly if the photos have been sorted manually.  Any other type of sort, date, rating, keyword or title, will play correctly.
    If you need that manual sort of pictures for your slideshow create the slideshow in iPhoto's slideshow mode.
    OT

  • Why is RoboHelp not displaying the required data content of .chm when linked as Help in my App ?

    Gorgeous Hello All,
    Has anyone encountered the below-said show- stopper. Another BIG TIME help required, will help me in tremendous fashion.
    Am using Adobe RoboHelp, Version 10 and IE version being 10.
    In my local machine :
    1.)I have completed my technical writing courtesy Design editor
    2.)Generating chm File : View -> Pods –> Single Source Layouts -> Right Click on Microsoft HTML Help -> Tagged Set as Primary Layout
    3.)Generating Primary Layout : File -> Generate -> Primary Layout (Microsoft HTML Help)…
    4.)Viewing Primary Layout : File -> View -> Primary Layout
    Everything works FANTASTICALLY till here with the required output (as Hide, Back, Refresh, Home, Print, Options, Contents, Index, Search, Glossary and with the data contents)
    Show Stopper, At my Application Server :
    5.)I copy the entire robohelp project folder from my local machine to my application Server path
    6.)My Application has been developed in ASP .NET, Version 4.0.
    7.)Help link has been created in this application wherein here the file name of < >.chm has been linked in the code to be read from the  Server’s RoboHelp project folder\!SSL!\ Microsoft_HTML_Help\
    8.)I login into my above-said application -> click on the Help page -> Displays the required structure /buttons as Hide, Back, Refresh, Home, Print, Options, Contents, Index, Search, Glossary
    a.)Clicking on any of the Books or Topics appearing beneath Contents : The System prompts out with error cautionary message called “ Navigation to the webpage was cancelled. What you can try: Retype the address ”
    *** This is a huge SHOW-STOPPER. I spent plenty of hours on this, but unable to deciper with a solution at all) ***
    ( Note : Am able to directly open and read the required data contents by Clicking on any of the Books or Topics appearing beneath Contents from Server’s RoboHelp project folder\!SSL!\ Microsoft_HTML_Help\ < >.chm )
    Why is the RoboHelp not displaying the required data contents of <>.chm when linked as Help in my Application ?
    Cheese – Vipin Nambiar

    If you looked at the error message and searched the forum, you should find the answer as this is a problem that started in 2005. You should not run CHM files from a server and cannot without editing the users registry. See the page below.
    http://www.grainge.org/pages/authoring/chm_mspatch/896358.htm
    All along your questions have been based on webhelp, why suddenly are we going go CHMs.
    See Snippets on my site for the correct form of help to use in different scenarios.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Screen briefly flashes white but does not display the page when the Safari icon or other icons are tapped.

    A problem has just started with my IPAD Air after 3 months of use.
    If I try to open Safari by tapping on the icon the screen  briefly flashes white but does not display the page.
    Similarly if I try to open Settings page, Mail page, Calendar or Clock the screen just briefly flashes but the Apps do not run.
    Some of the Apps do work on tapping the icon e.g. Maps, iBooks, Appstore, iTunes, Newstand etc.
    I do have some website links which display when the icon is tapped e.g. John Lewis but some links do not work.
    I have ensured that the ipad is fully charged,  powered it off an on again, and cleaned the screen with a lint free cloth  but the
    same problem keeps occurring.

    I saume you used a second display at one time, otherwise the Display settings wouldn't be treating your primary display as a secondary.
    IF you open your System Preferences>Displays (-System Preferences) and click "Gather Windows" it should pull everything to the display on which you clicked it.

  • When I stream a movie via Apple TV from my iPad Air into my Samsung TV, I'm getting the "soap opera" effect. This only happens when I use Apple TV, not when I view a movie directly through a cable channel. Is there a way to eliminate this effect?

    When I stream a movie via Apple TV from my iPad Air into my Samsung TV, I'm getting the "soap opera" effect. This only happens when I use Apple TV, not when I view a movie directly through a cable channel. Is there a way to eliminate this effect?

    I'm having the same problem.  It's not an issue with my TV, i've turned this feature off.  I've tried playing with the ATV display settings but nothing works.  When I stream netflix from my Samsung bluray player, I don't get the soap opera effect, but when I stream any video from the ATV, the soap opera effect is there.  I'm thinking it's a choice that Apple made, but I really wish it could be turned off.  Not a lot of people are searching for this, because it can be easy to overlook, but it's driving me nuts!

  • I have installed iOS7 on my iPhone4. I am able to add/edit contacts by clicking the "contact" icon. But when I am trying to do the same after clicking the "phone" icon, it is not displaying the keypad. I believe it is a bug in iOS7. Please confirm. iPhone

    I have installed iOS7 on my iPhone4. I am able to add/edit contacts by clicking the "contact" icon. But when I am trying to do the same after clicking the "phone" icon, it is not displaying the keypad. I believe it is a bug in iOS7.
    Please confirm.
    iPhone 4, iOS 7

    Hello jayanand,
    You may need to force close all open apps, then restart the phone. If necessary, you may need to reset the phone after that.
    iOS: Force an app to close
    http://support.apple.com/kb/HT5137
    iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/HT1430
    Cheers,
    Allen

  • We are using SAP SRM to punch out external catalogs. Firefox version 3.5 and below works fine and the items from the catalogs are brought back to SRM .But when we use version 3.6.12 the items are not getting transferred back to SRM from the Catalogs.

    SRM is a procurement system from SAP which we use to purchase goods and service. We have external catalogs like officemax, cdw etc which we punchout the items and bring it to SRM for ordering.
    When we use firefox version 3.5 and below the items which we add from the Catalogs are correctly brought back to SRM for us to order. But when we use versions 3.6.12 the items are not brought back to SRM.
    Internet Explorer 7 and 8 works fine. Is there anyway you can help us.
    Thanks
    Jayant

    Hi,
    Firstly I would suggest you to upgrade your database from Oracle Release 11.2.0.1.0 to Oracle Release 11.2.0.2 . This is the recommended Oracle 11g database version  for SAP solutions. Many of your problem will get resolved with it.
    Question 1:
    So my first question would be is there any other suggestions besides adjusting the mentioned parameter above in order to ensure that no work processors going into hang state due to RFCs' occupying it as this issue always happens at the end of the month only when there are massive users accessing it.
    For immediate resolution the approach you have followed is correct viz limiting number of dialog processes for RFC. Secondly you need to analyze why RFC processing takes so much time. You need check which programs are getting executed by those RFC.
    Generate EarlyWatch report for more detailed view
    Question 2:
    My second question is what went wrong with the libttsh11.so file. How could it be 0 size in PRD when no signs of changes had happen to the PRD system. Is this a proven Oracle Bug or something else since I have never encountered anything like this before.
    The libttsh11.so library cannot be found in the related directory.
    Cause
    The file system is mounted using CIO option, but per Note 257338.1 Direct I/O (DIO) and Concurrent I/O (CIO) on AIX 5L, an ORACLE_HOME on a filesystem mounted with "cio" option is not supported.
    Such a configuration will cause, installation, relinking and other unexpected problems.
    Solution
    Disable the CIO option on the filesystem.
    References
    NOTE:257338.1 - Direct I/O (DIO) and Concurrent I/O (CIO) on AIX 5L
    Hope this helps.
    Regards,
    Deepak Kori

  • I just bought a 13inch mac book with retina display. When Im using adobe illustrator or photoshop, the fonts and designs look pixelated! How can I fix this?

    I just bought a 13inch mac book with retina display.
    2.4GHz dual-core Intel Core i5 processor with 3MB shared L3 cache. Version 10.9.4 / OS X Mavericks
    When Im using adobe illustrator or photoshop, the fonts and designs look pixelated!
    How can I fix this?

    WOW!!
    That was great to hear.
    I have just read this tread: https://forums.adobe.com/thread/1626784?start=0&tstart=0
    So therefore I was worry about Illustrator which I use most of all programs.
    Thank you !!

  • I have manipulated a photo using layers etc and then flattened it and saved it under a new name.  When I use 'Preview' (mac) to view the finished photo it doesn't look right.  It's as the layers have not flattened correctly.  When viewed in Elements 12 it

    I have manipulated a photo using layers etc and then flattened it and saved it under a new name.  When I use 'Preview' (mac) to view the finished photo it doesn't look right.  It's as the layers have not flattened correctly.  When viewed in Elements 12 it looks OK.  The photo looks incorrect in other software such as photo books.
    Looking at the same photo before flattening, what is being shown is only the top layer.
    How do I correct this?

    STEVEN1A wrote:
    I have manipulated a photo using layers etc and then flattened it and saved it under a new name.  When I use 'Preview' (mac) to view the finished photo it doesn't look right.  It's as the layers have not flattened correctly.  When viewed in Elements 12 it looks OK.  The photo looks incorrect in other software such as photo books.
    Looking at the same photo before flattening, what is being shown is only the top layer.
    How do I correct this?
    The top layer is indeed the one that is visible, unless there is/are area(s) of translucency on that layer, so that you can visualize a portion of the subjacent layer.
      the finished photo it doesn't look right.  It's as the layers have not flattened correctly. 
    Are your settings targeted to have the printer manage colors, or, to have PSE manage colors?

  • How do i type in tamil in microsoft office for mac? my previous tamil documents from my pc are not displaying the font correctly, nor am i able to use the inbuilt mac tamil font to write in microsoft office

    How do i type in tamil in microsoft office for mac? my previous tamil documents from my pc are not displaying the font correctly, nor am i able to use the inbuilt mac tamil font to write in microsoft office

    You should probalby post your question on Microsoft's own forums for their Mac software since it's their stuff you're asking about:
    http://answers.microsoft.com/en-us/mac

  • When my Firefox language settings are fr_fr or fr_ca Firefox does not display the e with acute accent character correctly when it is displayed in a javascript alert box. However, it does display it correctly when my language settings are just fr. Please t

    Firefox does not display the e with acute accent character correctly from a javascript alert box when my browser language settings are fr_ca or fr_fr. However, it does it correctly when my browser language setting is fr. How do i get it to display e with acute accent and other iso8859 characters correctly in a javascript alert box when my browser language settings are fr_fr and fr_ca?
    == This happened ==
    Every time Firefox opened

    Use Unicode (UTF-8) for those characters.
    Then you will always be sure that they are displayed correctly.

  • Why does firfox not display the footer on my web site when IE9 does?

    I have made a web site, firfox does not display the whole page content... why wont it show the footer?
    http://home2.btconnect.com/kcaringagency/
    (test site)

    The footer is being displayed for me on Firefox 5.0 and 3.6.18 - to the right side of the rest of the page content.
    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

Maybe you are looking for

  • Why I'm leaving Verizon...

    For almost the past two years I've been a reluctant Verizon customer.  I chose the service based on a device (the Galaxy Nexus) and I'm leaving the service behind as soon as I get my hands on a new Nexus 5.  I wanted to post my reasons why I willingl

  • Problem with text-overflow:ellipsis

    I have a panel on my page that I am trying to stop from becoming too deep, so I have set a max-height and am expecting the text to present me with '...' when the box is no longer large enough. Trouble is, it's not working. The only time I can get CSS

  • Deploying Web Application

    Hi I downloaded the Free JSP Editor version of Workshop, I really like it. However, is there a way to deploy the webapplication to the server from Eclipse for a project created using this version of the Workshop. thanks Anand

  • After upgrading from Prosight V6 to V7.5 we are having issue with API's

    Team, Current version 6 of prosight upgraded to version 7.5. We are having our external webservice consumes Prosight webservice which defaulted installed under ProsightWS virtual directory. After up gradation we are running into issue in external app

  • Too much spacing in grid layout

    Hello, I have a grid layout in a tootlbar of my table, it has too much spacing in it, the lowest span I could get was "L1" for large screen which is all I care about. I have 3 buttons and I want them next to eachother instead of all that spacing inbe