ORDER BY in view definitions

ORDER BY was not allowed in view definitions in 7.3.4. It is allowed in 8.1.6 but I have not seen any documentation to say when or why it was introduced.
There is an old rule that a select statement does not guarantee the order of rows without an order by. Does this mean that this rule is no longer strictly true, ie the order IS guaranteed if selecting from a view which itself contains an order by ?
If the order of rows in this case is NOT guaranteed, then why allow an order by in the view definition?
This was brought to my notice by other writers to this forum who have pointed out that
(if the view does indeed guarantee the order of rows), then the pseudo column ROWNUM at last becomes useful for applying sequence numbers to queried rows if an in-line view with an order by is used. ROWNUM used to be of limited use because it was assigned before the order by.

SriDHAR,
Please don't take offense. My comment was not aimed at you. When I wrote the post, I was expressing some cumulative frustration at various things about these forums, including the unpredictable performance of the search feature, lack of forum monitoring, and a series of recent posts on this topic, not just this thread, that included various correct and incorrect responses and repetition of the question and starting of new threads on the same topic by the same people, even after correct responses were given, and requests for things like a "guarantee" even after "various people have suggested that technique". What I had in mind, when I wrote the portion of the post that you quoted, was some of the various responses that constituted nothing more than repetition of the question as if hadn't already been posed and answered. I certainly don't fault you or anyone else for responding with an answer. Perhaps hearing it from one more person one more time or explained in a slightly different way will make a difference. I certainly did not mean to imply that my explanation was any better than yours. I was merely expressing frustration at my prior efforts having gone to waste, since people are apparently unable to sufficiently refine the search criteria and wade through the duplicate topics to find it and similar efforts by many of us on various topics.
I encourage those who ask questions to search for the answers first themselves, both in the on-line documentation, where the master index search seems to work very well, and in the forums, where the search mechanism seems to work sporadically. I know I have seen some others post similar suggestions and unfortunately they are frequently not well-received, although sometimes that may be due to how the suggestion was phrased.
On some other forums, the discussions are monitored by multiple moderators or system operators who quickly remove duplicate posts, move posts to the correct forums, provide links to previous discussions on the same topic, and guide new users as to how to use the forums. The end result is that the forums are a lot less cluttered with repetitive stuff, which makes reading, searching, and everything easier and faster. Unfortunately, we don't seem to have that on this forum. I have heard that the monitoring of these forums by Oracle personnel is voluntary. I have noticed that same Oracle personnel, like Robert Pang, routinely respond to certain topics, like utl_smtp, and Goeff Lee seems to have adopted the Objects forum. A long time ago, Rick Post did a good job of monitoring this SQL and PL/SQL forum, but he vanished long ago. That was before the new forum format. So, as far as I know, we don't currently seem to have a monitor for this forum. I noticed that, for a while, the Forumm Administrator tried to monitor the Feedback forums, but was overwhelmed, and said "I give up" and appears to have quit deleting or moving off-topic posts, and rarely even responds to on-topic ones anymore. The longer it goes unchecked, the worse it gets.
I have seen some other forums, where, lacking official moderation, groups of frequent responders have taken it upon themselves to do what they can. Obviously, we can't delete duplicates or move things to the correct forums, and requests for moderators to do this has fallen on deaf ears, but we can point out duplicates and suggest searching documentation and previous posts. I would be interested in hearing what everyone else thinks we should do. Should we try to act as monitors ourselves? Or should we simply ignore duplicates and not respond? Or should we provide links to prior posts? Or should we respond to everything anew? Eventually, the forums just get so cluttered that, regardless of original plan, things go unanswered, simply due to too many posts and too little time. Or do we need to inundate the feedback suggestions forum with requests for better search functions and monitoring. I know several have already been posted. I figured that once a suggestion was made, they didn't need to see duplicates, but maybe I was wrong. Maybe they need to hear it from all of us. What does everyone else think? I have been biting my tongue for a long time.
Barbara

Similar Messages

  • Views - SELECT from VIEW and SELECT from the query inside view definition returning different results

    Hi,
    I am facing this weird issue. Any help would be appriciated.
    I have view with the following definition:
    CREATE VIEW [marketing].[OpenedMails]
    AS
    SELECT
    ID_EmailAddress, 
    ID_Date_Opened, 
    ID_Contact, 
    ID_MailSendJobs,
    COUNT(ID_OpenedMails) AS OpenCount,
    CASE
    WHEN ROW_NUMBER() OVER (PARTITION BY CAST(ID_EmailAddress AS VARCHAR(10)) + ' ' + CAST(ID_MailSendJobs AS VARCHAR(10)) ORDER BY ID_Date_Opened) = 1 THEN 1 
    ELSE 0 
    END
    AS UniqueOpenCount
    FROM            
    dbo.Fact_OpenedMails
    where ID_Contact = 382340
    GROUP BY ID_EmailAddress, ID_Date_Opened, ID_Contact, ID_MailSendJobs;
    order by ID_MailSendJobs 
    When I run the the select statement in the view definition I get combination of both 1 and 0 for the 'UniqueOpenCount' column.
    But when I run the select from the view itself using the following query:
    SELECT [ID_EmailAddress]
          ,[ID_Date_Opened]
          ,[ID_Contact]
          ,[ID_MailSendJobs]
          ,[OpenCount]
          ,[UniqueOpenCount]
      FROM [marketing].[OpenedMails]
    I get equal amount of rows but only 0 values for the 'UniqueOpenCount' column which seems to be very weird to me. Why is this happening ? Can anyone help regarding how to solve this ??
    Result from the select inside view definition:
    Result from the select query directly from the view:
    Thanks in advance.
    Vivek Kamath

    Please post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. Learn how to follow ISO-11179 data element naming conventions and formatting rules. You failed. Temporal
    data should use ISO-8601 formats – you failed again. Code should be in Standard SQL AS much AS possible and not local dialect. 
    This is minimal polite behavior on SQL forums. 
    Things like “ID_Date_Opened” are wrong. The affixes “id” and “date” are called attribute properties in ISO-11179 and data modeling. Since a date is a unit of measurement on a temporal scale, it cannot be an identifier by definition. My guess is this would be
    “open_date” if it were done right. And the only display format in ANSI/ISO Standard SQL is ISO-8601 (yyyy-mm-dd)
    An email address of -1?? Email addresses are VARCHAR(256), not numeric. There is no reason to cast them AS string!
    Your vague “mail_send_jobs” is plural, but columns hold scalars and cannot be plural by definition. The partition cause can hold a list of columns: 
    WHEN ROW_NUMBER() 
         OVER (PARTITION BY email_address, mail_send_job 
                   ORDER BY open_date)
         = 1 
    THEN 1 ELSE 0 END 
    This still makes no sense, but the syntax is better. You do not understand how ROW_NUMBER() works. 
    Would you like to try again with proper Netiquette? 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • JBO-25002: Definition ...of type View Definition is not found

    Hello,
    I am using JDev 11.1.1.4.0.
    I am having a problem creating read only VO, actually running on integrated weblogic server after creating one. I am getting this exception:
    oracle.jbo.NoDefException: JBO-25002: Definition com.model.viewobject.OrderLineStatusVVO of type View Definition is not found.
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:577)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:484)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:466)
    I created this VO using very simple sql statement, "SELECT ORDER_LINE_STATUS FROM ORDER". JDev creates it and the AM has it listed fine. But when running, I get the above exception.
    Many thanks in advance for your help.
    Bones Jones
    Edited by: Bones Jones on May 10, 2012 10:09 AM

    Fixed it somehow, sort of...
    It turned out my OrderLineStatusVVO.xml was not being deployed in the server. The server being integrated weblogic server, I had to dig it up a bit. The other VO xml files were present in the following folder:
    C:\Users\[USERACCOUNT]\AppData\Roaming\JDeveloper\system11.1.1.4.37.59.23\o.j2ee\drs\[MYAPP]\ViewControllerWebApp.war\WEB-INF\Classes\com\model\viewobject
    For some reason OrderLineStatusVVO.xml was not present. So I did what most of the top developers to, copy and paste. After that I am able to run the app.
    Thank you so much for your help!
    Bones Jones

  • Help with a Custom JSP - Select Box (entry view definition).

    I'm in no way an expert in HTML so please bear with me. We have quite a large list of Job Titles that we use on multiple forms and I wanted to use a custom jsp so I only have to update our title list once if we add/remove titles at our organization. I created a simple select box with all our titles and put them on the Vibe server under the custom jsp folder. The select box shows up on the entry form definition no problem... I just don't know how to make it show up on the entry view definition. The code is obviously pretty basic:
    <html>
    <select name ="Title">
    <option value ="Title1">Title1</option>
    <option value ="Title2">Title2</option>
    <option value ="Title3">Title3</option>
    <option value="Title4">Title4</option>
    </select>
    </html>
    What do I need to do in order for it to show up on the entry view definition side of things? Could anyone with html and/or Vibe knowledge please chime in? I'd really appreciate it.

    Try the following custom JSP, it works fine in my environment.
    Construction is a s I said before: while in edit mode (add or modify) it appears as Select Box, otherwise gives the value only.
    Regards, Darek
    <%@ include file="/WEB-INF/jsp/definition_elements/init.jsp" %>
    <c:choose>
    <c:when test='${ssOperation == "add_folder_entry" || ssOperation=="modify_folder_entry"}'>
    ${property_caption}<br>
    <select name="${property_name}">
    <option value="opt1">title1 1</option>
    <option value="opt2">title 2</option>
    <option value="opt3">title 3</option>
    <option value="opt4">title 4</option>
    </select>
    </c:when>
    <c:otherwise>
    ${ssDefinitionEntry.customAttributes[property_name]}
    </c:otherwise>
    </c:choose>

  • Bc4j view definition not found

    Within the doDML method in my PatientImpl class, I have implemented this snippet of code to insert a record into the TransactionLog entity after an insert into the Patient entity.
    DBTransaction trans = getDBTransaction();
    TransactionLogViewImpl txnLogView =
    (TransactionLogViewImpl)trans.createViewObject(
    " hmdclinical.customactiondemo.model.bc4j.TransactionLogView ");
    TransactionLogViewRowImpl row =
    (TransactionLogViewRowImpl) txnLogView.createRow();
    row.setAction('TEST');
    txnLogView.insertRow(row);
    txnLogView.remove();However, the error returned is "JBO-25002: Definition hmdclinical.customactiondemo.model.bc4j.TransactionLogView of type View Definition not found".
    What am I doing wrong ? My View object is called TransactionLogView and my business components package is hmdclinical.customactiondemo.model.bc4j ??
    Help ?
    Also - is it possible to perform the insert and then requery the same row to check for data in other columns on the table had that been populated by a trigger as the result on the insert performed by my business rule code ?? If i make the attribute refresh after update can I do a
    row.setAttribute
    view.insertRow(row)
    row.getAttribute ??
    How else would I get the values back from the row just inserted ??
    Thanks,
    Brent

    Please ignore the first part of my question - stupid typo that i always make !
    But the second part....
    Also - is it possible to perform the insert and then requery the same row to check for data in other columns on the table had that been populated by a trigger as the result on the insert performed by my business rule code ?? If i make the attribute refresh after update can I do a
    row.setAttribute
    view.insertRow(row)
    row.getAttribute ??
    How else would I get the values back from the row just inserted ??
    Can someone help me with this ?
    Thanks,
    Brent

  • Not able to create plnd order in prod view

    Hi,
    When I try to create an order using product view, it gives me an error message,
    'Invalid product-location combination (pegging area), A product-location combination exists in the APO database but not in liveCache'
    Can someone help me with getting apo data into LC?
    Thanks

    Hi Vardev,
    Try the following optilons.
    1) Use transaction /SAPAPO/RRP_NETCH and create pegging areas for the location product and then try
    2) Check both the location and product are in active integration model
    3) If it did not work, carry out a CIF run for the location product run and then try
    4) Check both the location and product are assigned to active model 000
    5) Check master data in R/3 (material master)
    I think step 1 should resolve your problem.
    Please confirm
    Regards
    R. Senthil Mareeswaran.

  • Oracle.jbo.NoDefException: JBO-25002 : View Definition Not Found

    Hi
    While Running a page i am getting the following exception:
    The error says View Definition not found:
    I have checked whether file exists in the same path or not, Checked whether it is assigned to application module.
    But everything is working fine in Development instance but i dont know why this error is coming in another instance.
    Can any body help me on this.
    Below is the stack trace when i am trying to run:
    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25002: Definition mycomp.oracle.apps.fnd.server.ReseqRequestsVO of type View Definition not found
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1223)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2680)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1683)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
         at oa_html._OA._jspService(_OA.java:84)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25002: Definition mycomp.oracle.apps.fnd.server.ReseqRequestsVO of type View Definition not found
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:988)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:750)
         at mycomp.oracle.apps.fnd.webui.ConcRequestsCO.getResequenceRows(ConcRequestsCO.java:839)
         at mycomp.oracle.apps.fnd.webui.ConcRequestsCO.processFormRequest(ConcRequestsCO.java:333)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:810)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1159)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2676)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1683)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
         at oa_html._OA._jspService(_OA.java:84)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:595)
    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25002: Definition mycomp.oracle.apps.fnd.server.ReseqRequestsVO of type View Definition not found
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:988)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:750)
         at mycomp.oracle.apps.fnd.webui.ConcRequestsCO.getResequenceRows(ConcRequestsCO.java:839)
         at mycomp.oracle.apps.fnd.webui.ConcRequestsCO.processFormRequest(ConcRequestsCO.java:333)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:810)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1159)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2676)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1683)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
         at oa_html._OA._jspService(_OA.java:84)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:595)
    Thanks in Advance
    Hari

    Hi,
    This error is not related to AM, it find the view in AM that is why it is giving error. The only reason is it is not bale to find xml file of view in specified path under $JAVA_TOP, please check.
    Regards,
    Reetesh Sharma

  • In Lion 10.7.5 is there a way to view files in alphabetical order in column view?

    In Lion 10.7.5 when viewing files/folders in column view, if I select arrange by name it does not sort the names alphabetically.  Is this a bug or is there a way to view files in alphabetical order in column view?

    I've been using Column View for years and have it set to None:
    It has always shown in alphabetical order automatically.

  • Controlling Post Order of Multiple View Objects

    Hi ,
    Here is the scenario:
    I have a use case of "Creating an Abstract"
    Steps:
    step1 ) (Page 1) Author presents the details of the abstract (Details goes to 2 tables ABSTRACT & ABSTRACT_CONTENT tables). For the 2 tables i have 2 entities. I use a view here called CreateAbstractView from both the tables( here i control the post order of the entities ....code from jdeveloper 11g guide)
    Step 2)(Page 2) Author presents details of Additional Authors. I use the view (*AdditionalAuthorDetailsView*) (Details goes to 2 tables AUTHOR & ABSTRACT). Here in the abstract table i have a parent key(parent abstract id) So all the additional authors has a record in Abstract table with parent_abstract_id from step1. ABSTRACT table also has a foreign key (author_id) .Here also i control the post order of the 2 entity object using the code from jdeveloper 11g guide.
    I also have a link from CreateAbstractView to AdditionalAuthorDetailsView (abstract_id in Abstract table from CreateAbstractView to parent_abstract_id in Abstract table from AdditionalAuthorDetailsView )
    If i have a commit on both the pages , i don't see a problem.
    But i want to have a commit process at the end so that the user can review the information. So when i try to add a commit process at the end , i get a exception (Parent Key not found exception) which i came to understand that commit from AdditionalAuthorDetailsView is happening first which is trying to insert a record into ABSTRACT table and cannot find the parent_abstract_id.
    How do i control the post order for multiple view objects in such scenarios?

    Hi!
    Please take a look at the dev guide. It comes down to controlling the posting order on entity level.
    http://download-uk.oracle.com/docs/html/B25947_01/bcadveo007.htm#CEGJAFCF
    Sascha

  • Refresh Order Management Materialized Views errors out in R12.1.3

    Hi All -
    Refresh Order Management Materialized Views errors out in R12.1.3 when submitted with blank parameters. Please find below error details ..
    OEXITORDMV module: Refresh Order Management Materialized Views
    Current system time is 15-OCT-2012 11:30:29
    **Starts**15-OCT-2012 11:30:29
    ORACLE error 12008 in FDPSTP
    Cause: FDPSTP failed due to ORA-12008: error in materialized view refresh path
    ORA-01555: snapshot too old: rollback segment number 4 with name "_SYSSMU4_3768336236$" too small
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2566
    ORA
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Thanks,

    Cause: FDPSTP failed due to ORA-12008: error in materialized view refresh path
    ORA-01555: snapshot too old: rollback segment number 4 with name "_SYSSMU4_3768336236$" too small
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2566Please see old threads for the ORA-015555 docs you need to refer to.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=ORA-01555&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=ORA-01555+AND+Materialized+AND+View&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Default Sort Order for Library View

    It would be fantastic if there were a user defined preference for a default sort order in Library view. For example, some users may prefer to always view the images by File Name, or Rating, etc, without having to change the sort order for each individual folder they view via Lightroom.
    Thanks!

    Thanks for your suggestion Allan, but it doesn't work.
    I'm specifically referring to the defaults that Aperture 3 adopts when you use the "File, Import, Folders as Projects with the projects and albums setting.
    What I'm finding is regardless of the setting in the Library preferences, the default sort order for the project is Date and Manual for the album.
    Yet if I create a project manually the default sort order is as per the Library prefs. Strange.

  • Finder - changing sort order in column view

    Anyone know a way to change the sort order when using the COLUMN view in Finder? It's defaulting to alpha and I'd like to change it so when I'm viewing a particular folder the contents are displayed by Date Modified like I can when using the other views.
    THANKS!

    Hi VFRJOEY,
    there is no way to change the sort order in column-view. This was under discussion since the very first release of MacOS X but never made it into any one of the releases.
    If this answered your question please consider granting some stars: Why reward points?

  • Select on view is long - Select on view definition short.

    Greetings Everyone -
    There is a view in Oracle called V$LOCK.
    If I do a count or a select on this view I get a result in *45 seconds*.
    There are only 77 records.
    However - If I do a select or a count on the view definition (found in V$FIXED_VIEW_DEFINITION)
    I get a result in no time. Immediately.
    I am signed in accordingly 'sqlplus / as sysdba'
    What's going on ??? My feable brain cannot comprehend!!!
    Thanks for any help,
    BB

    >
    There is a view in Oracle called V$LOCK.
    >
    On 11.2 that is not correct. A query of 'select * from dba_synonyms where synonym_name like '%LOCK%' shows
    V$_LOCK => V_$_LOCK
    V$LOCK => V_LOCK
    GV$_LOCK => GV_$_LOCK
    GV$LOCK => GV_$LOCK
    And a query of 'SELECT * FROM DBA_OBJECTS WHERE OBJECT_NAME LIKE '%LOCK%' shows
    GV_$LOCK => VIEW
    GV_$_LOCK => VIEW
    V_$LOCK => VIEW
    V_$_LOCK => VIEW
    So V$LOCK is a synonym. And you may be querying the correct underlying view for each of your queries but sometimes the queries may not be on the view that you think they are.
    >
    If I do a count or a select on this view I get a result in 45 seconds.
    There are only 77 records.
    However - If I do a select or a count on the view definition (found in V$FIXED_VIEW_DEFINITION)
    I get a result in no time. Immediately.
    >
    Let's see the first time you query data (when maybe there is nothing in the cache) it is slower than the second time you query the same data (when maby there is something in the cache)?
    That isn't unusual.
    >
    Well - that is interesting. Still it took you 11 seconds for 15 records !!!
    >
    Records? There aren't any 'records'. The V$s are 'dynamic' performance views not tables. And read consistency is not guaranteed for them. The data is continuously updated so if there are no updates the view data won't change and depending on the updated data the view data may barely change.
    It is unlikely that the data changed much, if at all, between your two queries.
    See 'About Dynamic Performance Views' in the Database doc
    http://docs.oracle.com/cd/B28359_01/server.111/b28320/dynviews_1001.htm#i1398692
    >
    Oracle contains a set of underlying views that are maintained by the database server and accessible to the database administrator user SYS. These views are called dynamic performance views because they are continuously updated while a database is open and in use, and their contents relate primarily to performance.
    Although these views appear to be regular database tables, they are not. These views provide data on internal disk structures and memory structures.
    You can select from these views, but you can never update or alter them.
    >
    And see the NOTE just below (as well as the section that discuss the V$ and GV$ views
    >
    Because the information in the V$ views is dynamic, read consistency is not guaranteed for SELECT operations on these views.

  • With SSMS Can a user with VIEW DEFINITION permissions on a procedure, see its source?

    Is there a way directly within the GUI itself to see the definition of a procedure if a user has VIEW DEFINITION permissions (as well as EXECUTE), or will they need to use sp_helptext?

    Yes, there is a way. Right-click procedure from Object Explorer and select Script from the context menu.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Portal: custom i-view definition (transaction) how to hide command box

    Dear Sirs,
    we are trying to define a transaction i-view (displaying a SRM transaction)
    in portal but hiding the command box.
    The i-view has been defined under portal content \..\iview\GUI\
    We have tested some values in "Parameters Forwarded to Transaction" in I-VIEW definition,
    like...
    noheaderOkCode = 1
    WEBGUI_SIMPLE_TOOLBAR  = hide, no etc..
    listed in other threads
    but whitout any effect.
    Is this a possible feature and what are the correct values ?
    From SRM side we have tested the transaction in SE93 in both modes, EWT and normal.

    Sorry but we have any result with these values
    ~NOHEADEROKCODE = 1 or
    ~WEBGUI_SIMPLE_TOOLBAR = 0
    In the "Parameter forwarded to transaction" in the iview definition from portal.
    The command box appears in any case.
    Whe should remove also the "menu" button.

Maybe you are looking for

  • Why is my macbook pro spontaneously swiping out of full screen mode?

    I have a 2 week old 13 inch MBP retina (256GB, 8GB ram, 2.5GHz Intel Core i5, Graphics  Intel HD Graphics 4000 768 MB, OSX 10.8.2)  which was working fine until yesterday. I have accounts on it for each of my 3 kids, one for my wife, and one for me.

  • IDOC_INPUT_INVOIC_FI taking G/L account from OBCB configuration

    We are calling IDOC_INPUT_INVOIC_FI  in order to post invoices. In E1EDP19  segment we are maintaining GL account in IDTNR field with qualifier '501'. But this standardfunctional module is taking GL account from the configuration maintained  in OBCB

  • It's possible to make ios apps in Windows with the new Flash Pro Cs5.5?

    It's very difficult to find a concrete answer for that question some people says yes and other no; i need to know before i pay the developer license fee. I will aprecciate alot the help. Thanks

  • 2 routers on the same network

    I have installed 2 Linksys routers type WRT160N and a WRT160Nv3. Both ar DHCP installed, channels are 1 & 10, IP adresses are divided so Linksys 1: 192.168.1.1 - 149 and Linksys 2 :192.168.1.150 - 200. If anybody have another idea please come forward

  • OnCuePoint clarified

    i was recently trying to use the .onCuePoint event handler for a project of mine, having caught a glimpse of it in the index. seemed like the right tool for the job... upon checking the good ol' F1-Help on the subject, i immediately had my eyes ravag