Construction of the line in Oracle

Hello
My version of db: database Oracle 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

I have a two tables as below:
CREATE TABLE CUST (
    custname VARCHAR2(30),
    cardtype VARCHAR2(20),
    cardvalue VARCHAR2(30));
    
CREATE TABLE CUSTDETAILS (
    custname VARCHAR2(30),
    cardstring VARCHAR2(250));
I have to write a procedure as below:
CREATE OR REPLACE PROCEDURE INSERTCUST (p_custname IN VARCHAR2(30)
    ,p_cardtype IN VARCHAR2(30)
    ,p_cardvalue)
AS
BEGIN
    INSERT INTO CUST(custname, cardtype, cardvalue)
    VALUES (p_custname, p_cardtype, p_cardvalue);
    
    INSERT INTO CUSTDETAILS (custname, cardstring)
    VALUES (p_custname, /*construct a string from input parameters*/);
END;
In the foregoing, if input parameters are Tracy, MASTERCARD, 098765432123
I need to insert into the column of the table CUSTDETAILS CARDSTRING something like this:
MASTERCARD~098765432123|
When I get another set of input parameters for custname even as Tracy, VISA, 123456789098
So I have to add the above already existing like this:
MASTERCARD~098765432123|VISA~123456789098|
Please advice.

Hello

934451 wrote:
Hello
My version of db: database Oracle 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

I have a two tables as below:

CREATE TABLE CUST (
custname VARCHAR2(30),
cardtype VARCHAR2(20),
cardvalue VARCHAR2(30));

CREATE TABLE CUSTDETAILS (
custname VARCHAR2(30),
cardstring VARCHAR2(250));

Thanks for posting this information; It is really useful.
Be sure to post the results. If questions of DML, results will be the content of the or are changed after each DML statement tables. After a few calls procedure sample, with different arguemnts and indicate what the tables must contain after each of them.

I have to write a procedure as below:

CREATE OR REPLACE PROCEDURE INSERTCUST (p_custname IN VARCHAR2(30)
,p_cardtype IN VARCHAR2(30)
,p_cardvalue)
AS
BEGIN
INSERT INTO CUST(custname, cardtype, cardvalue)
VALUES (p_custname, p_cardtype, p_cardvalue);

INSERT INTO CUSTDETAILS (custname, cardstring)
VALUES (p_custname, /*construct a string from input parameters*/);
END;

In the foregoing, if input parameters are Tracy, MASTERCARD, 098765432123
I need to insert into the column of the table CUSTDETAILS CARDSTRING something like this:

MASTERCARD~098765432123|

The operator of concatenation in Oracle is | NULL values do not hurt anything, in other words, these 3 phrases:
(1) x | NULL VALUE
(2) NULL | x
(3) x
result of the same value, if x is NULL or not.
If is cardstring for a single INSERT is simply:

p_cardtype || '~' || p_cardvalue || '|'

I guess ' ~' and ' |' are set the delimiters, in other words, there should always be a ' ~' after each cardtype and it should alays be a ' |' after each cardvalue.

When I get another set of input parameters for custname even as Tracy, VISA, 123456789098
So I have to add the above already existing like this:

MASTERCARD~098765432123|VISA~123456789098|

Please advice.

So, you want to just conctentate something at the end of cardstring. The way to do that is

cardstring || x

where x is any string expression, including another | operation. So, you could do this:

cardstring || p_cardtype || '~' || p_cardvalue || '|'

Is there only one line per customer in custdetails? If so, you will not necessarily want to INSERT new rows into custdetails whenever you INSERT a row into cust. If you insert a new card for a former client cust, I suspect you will want to UPDATE custdetails, rather than INSERT another line in it. Using MERGE to perform an UPDATE or an INSERT, depending on whether a line already exists or not. If you are not familiar with the MERGER, search for it in the Manual of the SQL language , like other DML statements, FUSION works the same in PL/SQL, as in SQL.

In addition, each line Cust represents his own credit card? If so, is cust really the best name for this table?

What would happen if you REMOVE a line from the cust?
Is it possible that 2 rows in cust may have the same custname, cardtype and cardvalue? If so, what would you like in custdetails? Include an example or two when you post the sample DML statements and results.

Published by: Frank Kulash, 13 December 2012 17:17

Tags: Database

Similar Questions

  • Another user has modified the line containing oracle.jbo.Key [186 primary key].

    $36F1884EBC353A84.jpg

    as summer sees in this photo, when I click on the button to edit, it will invoke the code like this:

    BindingContext bcxt1 = BindingContext.getCurrent ();

    DCBindingContainer bc1 = (DCBindingContainer) bcxt1.getCurrentBindingsEntry ();

    DCIteratorBinding iterProj = bc1.findIteratorBinding("CuxProjects1Iterator");

    DC DCDataControl = iterProj.getDataControl ();

    ApplicationModule am = (ApplicationModule) dc.getDataProvider ();

    ViewObject projVO = am.findViewObject("CuxProjects1");

    projVO.clearCache ();

    projVO.setNamedWhereClauseParam ("project", currProjId);

    projVO.executeQuery ();

    got this page with changes on the name of the project:

    $24017B6E59120421.jpg

    then click on 'done' button.invoke a procedure like this:

    State channel = null;

    DBTransaction connection BD = this.getDBTransaction ();

    CallableStatement st =

    BD connection.createCallableStatement ("start cux_projects_crud.update_proj(?,?,?,?,?,?,?); end; ", 0) ;

    try {}

    st.setInt (1, proId);

    st.setString (2, proName);

    st.setString (3, proSummary);

    st.setDate (4, null);

    st.setDate (5, endDate);

    st.setInt (6, userId);

    st.registerOutParameter (7, Types.CHAR);

    st.executeUpdate ();

    State = st.getString (7);

    Then return to the first page as the top image.

    My problem is not rested but redesigned data into DB. When I click on the button to edit again, I get ' javax.faces.el.EvaluationException: oracle.jbo.RowInconsistentException: Houston-25014: another user has modified the line containing oracle.jbo.Key [186 primary key].» This error. How to solve this problem?

    In addition, I see a problem that the changes you make in the procedure are not validated and will not be picked up by the query.

    Timo

  • Another user has modified the line containing oracle.jbo.Key primary key

    Hello

    In jdev 12 c

    I have a jsf page in a BTF, and there is a display of master(A:readonly table)-detail(B1:readonly table)-detail(B2:editable form) this page

    The (readonly table) B1 and B2 (editable form) are created on the same data control. There is no other layout compicated or functions on this page.

    The B2 (editable form) was based on a VO whose id is a type of DBSequence, and the new value has been created by a database trigger.

    I put

    All the columns that are updated by a database trigger or a PL/SQL call, are enabled for "Refersh on Insert" (for the case of the insertion) or "Refresh update" (for the case of update) or both in the entity object xml file.

    But when I submit/validate the page (form B2), the error msg 'another user has changed the line containing oracle.jbo.Key primary key' was always held randonly.

    And after the error msg, I can commit the data successfully by press the button validate again.

    How can I solve this problem?

    Thank you.

    The problem is that you use the pl/sql code. It is run out of the box. When a change is made in a row in this way, the framework removes upward, neither knowing that the change was done rightly and throws an error message.

    The code (which I copied from the other thread for reference) intercepts the error and re executs the lock in the case of the specific error.

    /*** customizing locking management:

    * Because attribute values can change 'outside' ADF standard life cycle,

    * when optimistic locking executes, the exception "Another User Changed the Row" is thrown.

    * In this case, we execute locking again, ignoring the exception

    */

    public void lock()

    {

    try

    {

      super.lock();

    } catch (oracle.jbo.RowInconsistentException e)

    {

      if (e.getErrorCode().equals("25014"))

      {

      super.lock();

      }

      else throw e;

    }

    }


    Timo

  • What is this error represents "another user has changed the line containing oracle.jbo.Key [21 primary key]."

    Mr President.

    What is this error represents "another user has changed the line containing oracle.jbo.Key [21 primary key]."

    Concerning

    You get this exception quite often when you have a business in PL SQL layer, but you can safely ignore (suppress) it by substituting the lock() method in all implementation of your entity classes.

    /*** customizing locking management: 
    * Because attribute values can change 'outside' ADF standard life cycle, 
    * when optimistic locking executes, the exception "Another User Changed the Row" is thrown. 
    * In this case, we execute locking again, ignoring the exception 
    */ 
    public void lock() 
    { 
     try 
     { 
      super.lock(); 
     } catch (oracle.jbo.RowInconsistentException e) 
     { 
      if (e.getErrorCode().equals("25014")) 
      { 
      super.lock(); 
      } 
      else throw e; 
     } 
    }
    
  • ADF: addition of the JSF error message: another user has modified the line containing oracle.jbo.Key [185 primary key].

    When you call the function DB. The function performs its operation, but shows an exception. In JDev 11.1.2.3

    And there is not another user. I'm testing alone.

    ADF: addition of the JSF error message: another user has modified the line containing oracle.jbo.Key [185 primary key].

    oracle.jbo.RowInconsistentException: Houston-25014: another user has modified the line containing oracle.jbo.Key [185 primary key].

    The problem is that the function db has a commit and my code also. However the db function called once in a case.

    Thanks a lot for your help.

  • Another user has modified the line containing oracle.jbo.Key [5046 primary key].

    The application of the ADF was working fine until I made the following changes. I changed the phone number field in the number to varchar2 database. Then I synced the entity with the database to take the field changes. I then updated to manually the setter methods and the Get accessor of < entity > RowImpl.java for the phone number field (channel number). I then did the changes associated with in the jspx file to show the phone field.

    Now I am facing this error: another user has modified the line containing oracle.jbo.Key [5046 primary key]. How to debug and fix this? Is that all I need to do to the view the feature-based object?

    Thank you

    Published by: user5108636 on February 8, 2012 15:31

    Published by: user5108636 on February 8, 2012 15:33

    maybe try to drop the EO/VO and create it again.

  • How to break the line in Oracle SQL?

    Hi all

    I have a long text with the value separated by commas. I'm storing this in a single table custom as it is. But I want that store with the next line, I mean split the comma separated line and insert in the table with the following line table or the character of new line.

    For example: my long text is A, B, C, D, E, F

    I need to insert as below in the table.
    A
    B
    C
    D
    E
    F

    Hello

    Can't you just use REPLACE to change all commas in the line breaks?

    INSERT INTO table_b
    (       txt
    ,      ...
    )
    SELECT  REPLACE ( txt
                    , ','
                    , CHR (10)   -- or whatever it is on your system
                    )
    ,       ...
    FROM    table_a;
    
  • CAP and images in the construction and the line of command vs eclipse plugin

    Hello

    I tried to get the CAP to compile our project from the command line with a lot of frustration.  All I want is a COD compiled with images (/res all inclusive)

    First of all, the eclipse console output doesn't seem to work exactly when run from the Windows command line, so there are many more things in the background that makes the plugin.

    It's the console output:

    C:\development\eclipse-java-galileo-SR1-win32\eclipse\plugins\net.rim.ejde.componentpack4.5.0_4.5.0.21\components\bin\rapc.exe codename=deliverables\Standard\4.5.0\WCUL deliverables\Standard\4.5.0\WCUL.rapc -sourceroot=C:\development\blackBerry\workspace\Azimuth\src;C:\development\blackBerry\workspace\Azimuth\res;C:\development\blackBerry\workspace\Azimuth\test -import=C:\development\eclipse-java-galileo-SR1-win32\eclipse\plugins\net.rim.ejde.componentpack4.5.0_4.5.0.21\components\lib\net_rim_api.jar;..\MobileDBLibrary\deliverables\Standard\4.5.0\mobileDbLib.jar;..\MicrologLibrary\deliverables\Standard\4.5.0\micrologLoggerCore203.jar;..\AnalyticsLib\deliverables\Standard\4.5.0\flurryAgent12.jar C:\development\blackBerry\workspace\Azimuth\bin
    

    Basically, which resembles CAP is executed on the precompiled classes.  This runs directly from the command line in the same environment:

    ...
    Warning!: No entry points found
    Optimizing
    Populating
    Warning!: No definition found for exported static routine: .main(String[])
    No errors.
    

    You get a COD in the output directory, no JAD and trying to load on the device is not successful (app does not seem to be on devicejava)

    Many positions and from my own experience, it seems that the CAP removes all the binary images even if they are on the path (import, sourcelist, etc.).

    I tried a workflow to:

    * compile sources (javac)

    * pot of classes and resources (images)

    * preverify jar

    * the cap on the jar

    This seems to work well, but running on the device - with all the loaded libraries - returns

    Error starting :
    Module '-1' has verification error 421 at offset 42e6
    

    This jar compiled Cap (checked all resources of the pot) does not contain any class - just the COD files - that is an anomaly of the release of eclipse Cap pot.

    Somehow the eclipse plugin Gets a sliding Cap compilation successful with the resources at the right time.  I would like to know how.

    Thank you

    PS I tried this with bb-ant-tools and command line.  about 1000 permutations of all the above

    I couldn't get the jar solution works, but it's basically what I was doing with rapc.exe.

    However, this post, has helped tremendously:

    http://codeforfun.WordPress.com/2008/10/05/How-to-get-images-in-your-cod-for-BlackBerry/

    So, after a few violin, I have all workers:

    • compile with Cap
    • pot update
    • compile with Cap
    • sign
    • updated jad (I have other libraries, use a macrodef here)
  • Houston-25014: another user has modified the line containing oracle.jbo.Key primary key [...] error on validation and subsequent edition + validation

    JDev Version: Studio Edition Version 11.1.1.7.0

    Java/JDK used in IDE (jdev.conf): jdk1.6.0_45

    I get this error after existing commit changes and then subsequent changes + undertakes, immediately after the first validation.

    In my view, this error is caused the type used in the column of the history of LastUpdateDate.

    In the occurrence area, the type of the attribute LastUpdateDate is defined as the Date (type Java) when the error occurred.

    Tried with Timestamp (Java type), as well, but the same error.

    Finally, tried with oracle.jbo.domain.Date type and the error does not occur.

    I would like to know if there is a directive to use Oracle Date type for columns of history using the date.

    Please let me know

    Take a peek inside

    http://www.jobinesh.com/2011/08/what-you-may-need-to-know-about-data.html

    See you soon

    AJ

  • oracle.jbo.TxnValException: unable to validate all the lines in a transaction

    After click on the button Save this error appears "Unable to validate all the lines in a transaction", while any attribute Required has been defined with correct values

    This not always displayed error, I can't catch the error scenario, so if anyone has idea about this error please tell me.

    Thank you.

    Error log

    at oracle.jbo.server.DBTransactionImpl.validate(DBTransactionImpl.java:4336)

    at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1956)

    at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2277)

    at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1578)

    at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1405)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1427)

    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2142)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:730)

    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:394)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)

    at oracle.jheadstart.controller.jsf.bean.CommitBean.execute(CommitBean.java:127)

    at oracle.jheadstart.controller.jsf.bean.CommitBean.execute(CommitBean.java:82)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at com.sun.el.parser.AstValue.invoke(AstValue.java:157)

    The solution in my case was to put

    -Transaction > begin always new transaction

    -check the data controls share with the call of workflow

    in the workflow of the page

  • Use: OLD and: NEWS in the triggers without oracle for each line

    I use Oracle 10 g.
    I want to insert a row in the table of the newspaper by each Witch of the query is executed on a table.
    And I want to insert on the line at a table of detailed log for each row changed in a query.
    I want to add modification date and time for each line in the two tables of the newspaper and I want it to be similar.

    So, I'm curious about using old and new variables without using for each row on the creation of the trigger. Is this possible?
    Or maybe I can score some variables static for this query (so sysdate will be the same and some of the Pavilion for the insertion of small newspapers)?
    Or maybe is there other ways to do it?

    LeopoldStoch wrote:
    But if I use sysdate in each trigger and it will update something as my sysdate 100000 lines will be different for different lines but I want it to be time and on the same date.

    Hi Leopold,

    Then today is your lucky day :-): sysdate is the same for all the DML. Even if it takes more than one second:

    SQL> create table rob
      2  ( id int
      3  , creation_date date
      4  )
      5  /
    
    Table created.
    
    SQL> create trigger t
      2  before insert on rob
      3  for each row
      4  begin
      5          :new.creation_date := sysdate;
      6  end;
      7  /
    
    Trigger created.
    
    SQL> set timing on
    SQL> insert into rob (id)
      2   select level
      3     from dual
      4  connect by level <= 10000
      5  /
    
    10000 rows created.
    
    Elapsed: 00:00:00.37
    SQL> set timing off
    SQL> select min(creation_date)
      2       , max(creation_date)
      3    from rob
      4  /
    
    MIN(CREATION_DATE)  MAX(CREATION_DATE)
    ------------------- -------------------
    07-05-2010 09:29:24 07-05-2010 09:29:24
    
    1 row selected.
    

    You can read more here: http://rwijk.blogspot.com/2008/07/sysdate.html

    Kind regards
    Rob.

  • How the line prefetch impact using memeory on oracle.

    Support, we have a table whose structure is like (a varchar2 (4000), b varchar2 (4000), b varchar2 (4000), b varchar2 (4000)). If we fill the with row table of maximum length, i.e.: all ranks will be have4 * 4 k = 16 k data. Then set line prefetch (in sqlplus, arraysize) 5K, then for each extraction, oracle will send 16 K * 5 K = 80 M data to the client. My question is: whence these 80 M stored in oracle?

    I first thought these 80 m will get PGA/UGA, but my tests show me the UGA and PGA are less than 5 M, that size is not enough to store the data of 80 M. Oracle will store the data in the buffer of the decision-making level operating system once all the data is ready? Such as: get 15 K data, put it in the socket buffer, get the data from 15 K one another, put it in the socket buffer, so there is no need for oracle store these 80 M within the oracle database? But 80 M data is too large for the buffer of the socket.

    user646745 wrote:
    My question is if the customer will use super great memory if set prefetch too high. The trace file said oracle is occupied on sending data of 5000 lines without interruption. If the customer must have little need of memory to store. My perl above test has confirmed that it takes a lot of memory to the high setting prefetch.

    Yes. It depends on how the OCI (Oracle Call Interface) is used. The [Oracle® Call Interface Programmer Guide | http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14250/oci04sql.htm#sthref645] States:

    >
    In order to minimize the server back and forth and optimise performance, the SPOUT can preload lines of result set when executing a query. You can customize this prefetching by setting an OCI_ATTR_PREFETCH_ROWS or OCI_ATTR_PREFETCH_MEMORY of the statement handle attribute using the OCIAttrSet() function. These attributes are used as follows:

    * OCI_ATTR_PREFETCH_ROWS sets the number of lines to be read beforehand. If it is not set, the default value is 1. If the OCIStmtExecute() iters parameter is 0 and prefetching is enabled, lines are buffered during calls to OCIStmtFetch2(). The value of read-ahead can be changed after the execution, as well as between extractions.

    * OCI_ATTR_PREFETCH_MEMORY sets the allocated memory to be a prior extraction lines. The application then retrieves lines as much as can fit in this amount of memory.

    When both of these attributes are specified, the Prerecupere BEAK of the lines up to the OCI_ATTR_PREFETCH_ROWS limit, unless the limit OCI_ATTR_PREFETCH_MEMORY is reached, in which case the NOZZLE return so many rows than fit in a buffer of size OCI_ATTR_PREFETCH_MEMORY.

    By default, the preload is turned on, and the SPOUT recovers an additional line all the time. To enable disable prefetching, define the attributes of the OCI_ATTR_PREFETCH_ROWS and the OCI_ATTR_PREFETCH_MEMORY to zero.
    >

    Therefore, if either prefetch value is high. client memory use will also increase at the same time. The '+' safer + two methods would be to OCI_ATTR_PREFETCH_MEMORY the value that you specify then a size of buffer extraction absolute memory... whereas the use of OCI_ATTR_PREFETCH_ROWS can cause a heavy memory hit to extract lines very large and in turn use very little memory when you read the small lines.

  • Publish with the construction of the dimension of the oracle tables

    Hello

    I'm currently building dimensions of tables, but it seems that Essbase is not read all the lines of the results of my query set in the rules file. The build dimension through without error, but the hierarchy is incomplete. Many members are missing in some levels. When I exported the same data in tables in a text file and loaded the same thing to Essbase, all records are to take. In both cases, the file dataload.err is empty. Help, please!

    Kind regards
    Krishna

    I know someone who had a similar sounding problem when using OIC on 11.1.2.1, don't know if it's regarding the data load or dimension building or both. The taken solution was to use ODBC, however I think he was also a patch to resolve the issue. Not sure if this applies to you or not!

  • PLSQL question about printing the line number when an exception occurs

    Hi all

    My database: oracle 10G

    Here's my question:

    Explain my problem using a simple procedure, such as:

    create or replace procedure p_hello_world
    as
    [a few variables declared]
    Start
    [a lot of code here]
    exception
    while others
    dbms_output.put_line ('Exception occurred for the p_hello_world procedure');
    dbms_output.put_line ('sqlerrm' |) SQLERRM);
    dbms_output.put_line ('sqlcode' |) SQLCODE);
    -Suppose I want to print the line number where the exception occurred, pourrais I do, if so please help me with this
    end;

    Now it's the same construction that I use for my use, I have a comment in the above exception block where I need to print the line number where the exception is produced, now since I'm on so that any other article, my procedure is always succeed even if an exception occurs, but using this technique I am not able to quickly debug my code but print line number would help me a lot Please help me with this as its rescue me great distress.

    Concerning
    Rahul

    Try something like:

    dbms_output.put_line(sqlerrm || chr(10) || dbms_utility.format_error_backtrace);
    

    (Hoping that this is a simplified example and you are not actually using dbms_output as an exception handler...)

  • order of the lines of the global temporary table

    I have a global temporary table "TMP_PAYMENT_ANNUITY" and I insert records in there with loop for each iteration of loop insert a row in the table.
    Now, I'm back records inserted user with cursor in this way:
       open o_annuity_payments for 
          select * from TMP_PAYMENT_ANNUITY;
    Can I be sure that the slider will have records in exactly the same order as inserted loop them?
    Or do I also insert rownumber column of my table that I filled with the loop iteration variable, and I'll be back slider like this:
       open o_annuity_payments for 
          select * from TMP_PAYMENT_ANNUITY
           order by ROWNUMBER;
    Currently, I have "ROWNUMBER"-column in the table, but maybe I should create then? ".
    The question is about the order of the rows, how this order will be without "in order to" - clause?

    Published by: CharlesRoos on June 2, 2010 03:03

    CharlesRoos wrote:
    >
    What makes the solution of the temporary table better?
    >

    1. This approach/solution is easier to read for other developers. Ugly hierarchical query with the function LAG is difficult to read and edit.

    I agree with you! It's one of the reasons when you should stop developing very sophisticated SQL statements. Even if the performance is slightly better.

    2-hierarchical-feature in sql is always slow and friendly error.

    I don't think that a hierarchical solution is necessary. but it may depend on your version of Oracle (think MODEL clause).

    3. it is easy to implement the "temporary table solution." with complex sql construction will be time-consuming and bug-friendly and complex.
    3. I'm not sure the question of perfomance, here I may be wrong, I test/compare.

    ...

    CharlesRoos wrote:
    1 can someone confirm that I don't need "ORDER byclause?

    I never would implement it WITHOUT a prescription by cluase. Why depend on such a solution?
    One of your strong points would improve maintainability. It is against this requirement.
    Imagine this happening, for example, when another developer decided to move from a temporary to a normal table. Maybe by adding a field 'user '.
    In such a scenario, you can find ways where the output is sorted not more properly.

    I can't find Google evidence.

    2. what happens if I order by as:

    select * from TMP_PAYMENT_ANNUITY
    ORDER BY ROWID;
    

    This approach maybe gives me the order of the rows as they are in the table?

    main problem is that you cannot test if it STILL works without order. But you will need to find not only one rare case that breaks it.

    * In a multiuser environment, the table could put a few lines where another session comes to delete certain lines. This could influence the agenda.
    * oracle could change something for the release of "like orders ' (I did they did already in the GROUP BY clause from 9i to 10g).

Maybe you are looking for

  • How to reset the SMC on mid 2011 mini

    Do I have to remove the battery to reset the SMC on a mini mid 2011? Thank you John

  • HP Officepro 8625: document hp officepro 8625 feeder keeps blocking

    I recently bought a hp officepro 8625 and noted that document feeder keeps jamming.  I faxed the individual leaves on the glass ok but when I want to 3 sheets, the 1st page jams.  I would return the printer?  I offended want a lemon. Thanks for any h

  • Aspire S7 - 392 stop every 30 minutes after the upgrade to Windows 10

    Hello My S7-392 stops after 30 minutes (exactly) to be on almost everytime (I normally use it plugged in). This problem became very regular after the upgrade to Windows 10. When I had Windows 8.1 it is happened, but not every day, it is now very regu

  • Unable to connect to the hpeprint user account.

    I registered my printer at hpeprint.com but later, I can't signin using the email address of the printer. The web page says "invalid email address" what should I do to access my account... Thanks for any response.

  • computer dead after reboot xp update

    After the restart of all our computers, we had four crashing.  All show the windows startup screen and then go black with the cursor in the middle.  Was able to restart my laptop but my office does nothing.  Same thing with my another desktop compute