Function of package of call per line in the statement INSERT INTO SELECT

Hello

I wrote the following SQL insert.

INSERT the Table_A (Col_A, Col_B, Col_C)

SELECT Col_A, Col_B, (SELECT PACKAGE1. DOUBLE FUNC())

FROM Table_A

WHERE Col_A = "AAA".

PACKAGE1. Func() is a function to create numbers using the sequence.

The result is

Col_a Col_B, Col_C

---------------------------------------

C003 AAA B1

C003 AAA B2
C003 AAA B3

What I want is as follows:

Col_a Col_B, Col_C

---------------------------------------

C003 AAA B1

AAA B2 C004
AAA B3 C005

I want different values per line in Col_C. is it possible to do this?

I think the fact that you put the function call in a subquery is why he executed only once (which is a useful thing to know if you want this feature). To get executed for each line, you only need to do this:

INSERT the Table_A (Col_A, Col_B, Col_C)

SELECT Col_A, Col_B, PACKAGE1. FUNC()

FROM Table_A

WHERE Col_A = "AAA".

However, as others have said, there is no reason to wrap a sequence.nextval in a function.

Tags: Database

Similar Questions

  • Limit the maximum number of characters per line in the TextField, help please

    Hello Livecycle designers!

    It would be great if you could help me with the following problem. I have a TextField with 5 lines (limit of the viewable area and the exact height) and I want to limit the maximum number of characters per line up to 10 (as well as the total in this field at 50, but I'm able to do with the option "time limit, max characters").

    As far as I know can be done only by the script so if you change that I wrote:

    lines of the var = xfa.event.newText.toString().split('\n');

    i = Lines.Length,
    maxChar = "10";

    If {(maxChar)
    While (I--> 0) {}
    If (rows [i] .length == maxChar) {}
    XFA. Event.change = "\n";
    }
    }
    }

    and actually who works very well when instead of '\n' in the 1st line, I put any character (e.g. ' |' and I won't pretend that ' |' is my new \n).

    So the main problem is to split the text entered by the user in lines (the '\n' is unfortunately not working). So the solution to this problem would somehow split my Textbox in lines (in table) after the user presses ENTER.

    I'd appreciate any help here, so if you have just 2 minutes of your time, please help me.

    Hello

    I have rebuild your idea... that is the result.

    var Input = xfa.event.fullText;

    var FullLength = Input.length;

    var SplitLength = 10

    var SplitParts = Math.ceil(FullLength / SplitLength)

    var JoinString = "";

     

    for (var i = 0; i)<= splitparts;="">

    {

    SplitString = Input.substring (0, SplitLength);

    Entry = Input.replace (SplitString, "");

    JoinString = JoinString + SplitString + "\u000a";

    }

    xfa.resolveNode("Textfield2").rawValue = JoinString;

  • You have no lines for the SQL query to select

    Dear Sir.

    I don't want to choose these lines in the second query, please guide me how to do.

    Request-> 1

    (SELECT ID_NO, ATTND_DATE
        FROM ATTND_REGISTER 
        WHERE ATTND_DATE BETWEEN :FD AND :TD
        ORDER BY ID_NO, ATTND_DATE
    )AT
    

    A query result.

    ID_NOATTND_DATE
    E1FEBRUARY 1, 14
    E1FEBRUARY 2, 14
    E13 FEBRUARY 14
    E14 FEBRUARY 14
    E1FEBRUARY 5, 14
    E1FEBRUARY 6, 14
    E1FEBRUARY 7, 14
    E1FEBRUARY 8, 14
    E1FEBRUARY 9, 14
    E110 FEBRUARY 14
    E1FEBRUARY 11, 14
    E1FEBRUARY 12, 14
    E1FEBRUARY 13, 14
    E114 FEBRUARY 14
    E115 FEBRUARY 14
    E116 FEBRUARY 14
    E117 FEBRUARY 14
    E118 FEBRUARY 14
    E119 FEBRUARY 14
    E120 FEBRUARY 14
    E4FEBRUARY 1, 14
    E4FEBRUARY 2, 14
    E43 FEBRUARY 14
    E44 FEBRUARY 14
    E4FEBRUARY 5, 14

    Request-> 2

    : VALUE OF THE VARIABLE FD = 1 FEBRUARY 14

    : VALUE OF THE VARIABLE TD = FEBRUARY 28, 14 '

    SELECT A.ID_NO,B.DATES,A.EMP_NAME, A.DESG_NAME
    FROM
      (
        SELECT  ROWNUM - 1 + TO_DATE(:FD, 'DD/MM/RR') DATES
        FROM ALL_OBJECTS
        WHERE ROWNUM < TO_DATE(:TD, 'DD/MM/RR') - TO_DATE(:FD, 'DD/MM/RR') + 2
      )B,
    
    
      (
        SELECT ID_NO, INITCAP(FL_NAME) AS EMP_NAME, INITCAP(UBN.DESG_NAME(DESG_ID)) AS DESG_NAME
        FROM PERSONAL
        WHERE (STATUS = 'A')
        AND (COMPANY_CODE = :COMPANY_CODE)---COMPANY CODE=6
        AND (ID_NO = :ID_NO OR :ID_NO IS NULL)
      )A
    ORDER BY A.ID_NO,B.DATES;
    


    Solved

    I changed in the second query with using the first query.

    in Where Clause

    WHERE B.DATES | A.ID_NO NOT IN (SELECT ATTND_DATE |) NBI ID_NO. ATTND_REGISTER

    WHERE ATTND_DATE BETWEEN: FD AND: TD)

    Thank you Allah (SWT).

  • Several radio buttons per line in the interactive report

    I added the code by radio buttons using Vincent Deelen "in a report of the APEX.

    Vincent Deelen: Using radio buttons in a report of the APEX

    It works exactly like his blog says that it will be a problem.

    My interactive report has more than one page of data. Whenever I click to go to the

    second page of data, the click event on the radio buttons in the dynamic action no longer works.

    I leave the page elements that stores my key no hidden values, and they do not change, once I have change the pages in my interactive report.

    Any ideas as to what to do or something I'm missing.

    Apex 4.2.1

    Oracle 11g Server

    theme of blue reagent 25

    Here's my query

    *********************************************************************************************************

    Select q_cev,

    apex_item. RadioGroup (p_idx = > rownum,)

    p_value = > 'Y ',.

    p_selected_value = > gmpick_flag01,

    p_display = > 'yes ', he said.

    p_attributes = > "class ="gmpickflag01 flagY"") "

    as RBYES,

    apex_item. RadioGroup (p_idx = > rownum,)

    p_value = > 'n',.

    p_selected_value = > gmpick_flag01,

    p_display = > 'no ', he said.

    p_attributes = > "class ="gmpickflag01 flagN"')"

    as RBNO.

    apex_item. RadioGroup (p_idx = > rownum,)

    p_value = > "U."

    p_selected_value = > decode (gmpick_flag01, null, 'U',

    'U', 'U', gmpick_flag01),

    p_display = > "undecided."

    p_attributes = > "class ="gmpickflag01 flagU"')"

    as RBUND,

    sort_qkey1, sort_qkey2, sort_qkey3,

    q_key1_trans, q_key2_trans, q_key3_trans

    from cts_ajha_q_ref LEFT OUTER join cts_gen_multipick

    on (cts_ajha_q_ref.q_cev = cts_gen_multipick.gps_cev

    and cts_gen_multipick.gmpickcode = 'CTS551HZGRCKLIST01. '

    and cts_gen_multipick.op_cev =: P155102_OP_CEV)

    where cts_ajha_q_ref.cts_no_show is null

    and cts_ajha_q_ref.cts_showflag01 is not null

    *********************************************************************************************************

    I created a dynamic Action

    Event:Click
    Selection type:jQuery Selector

    jQuery Selector: .gmpickflag01

    Run the JavaScript Code

    var rbyes = $("#radioreport_.apexir_worksheet_data_tbody_tr_td_[headers_="rbyes"]_{entree_:_checked').map (function)

    ({return $(this) .parent () .parent ().find('td[headers="Q_CEV"]').html ()}) .get (.join(':'))

    var rbno = $("#radioreport_.apexir_worksheet_data_tbody_tr_td_[headers_="rbno"]_{entree_:_checked').map (function)

    ({return $(this) .parent () .parent ().find('td[headers="Q_CEV"]').html ()}) .get (.join(':'))

    var rbund = $("#radioreport_.apexir_worksheet_data_tbody_tr_td_[headers_="rbund"]_{entree_:_checked').map (function)

    ({return $(this) .parent () .parent ().find('td[headers="Q_CEV"]').html ()}) .get (.join(':'))

    Send the Q_CEV bounded on the hidden page to submit items.

    $s ('P155102_RBYES', rbyes)

    $s ('P155102_RBNO', rbno)

    $s ('P155102_RBUND', rbund)

    Also have the code to step through the elements of the page to be inserted in the database.

    Try to define the scope of the event on the dynamic action to "dynamic".

  • Auto refreshing display objects when the new line in the table inserted on another computer

    Greetings,

    I'm using an application of ADF JDeveloper 11.1.2.4.0 its been used by 2 separate computers.

    It's the same application, but I shared with security ADF for the person (Secretary) will see the half view of the application

    and the other person (doctor), the other half seen. Basically, I put adf username expression (rendering) for each display mode

    the specific menu, buttons, tabs, etc.

    My problem is, say the Secretary, creates a doctor's appointment, rather than re - run display objects

    every X minutes on the advice of the doctor, is there a way to notify the application that the new data are inserted into the database and must be re/refresh-execute?

    I have about 100 objects from view and I don't want to discount/re-execute all objects from view because I don't know on what table a new record its been inserted.

    Appointment is just one example, there are many paintings that both views are connected to.

    Hello

    Here is the solution to your needs: http://matthiaswessendorf.wordpress.com/2010/01/22/flexible-active-data-service/.

    Instead of the pop-up window in the sample you would be re - run the table of appointment. Now all you need is a mechanism that informs the change, which may be a trigger in the database or application that updates the new appointment

    Frank

  • A single word per line in Internet Explorer

    Can someone tell me why one word per line is the display in Internet Explorer? It displays fine in all other browsers. Is this something to do with the table? It's supposed to be an email template, so I need a 600px width where the use of the table. It can be found here: http://chumpspotter.com/email/email.html thank you

    I solved. This line was originally the grief:

    table border = "0" cellspacing = "0" cellpadding = "10" class = "main".

  • Version 2 (9.2) - the maximum number of characters allowed per line is 32767 really?

    Hi all,

    The maximum number of characters allowed per line is 32767 really?

    The [Oracle documentation | http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96612/u_file2.htm#1002215] specify that the maximum size of a row of utl_file is 32767octets, but only accepts the 32766.

    If I try to include a line with 32767octets, the following error occurs:
    + "ORA-29285: error writing the file." + "

    Philips

    What new line character at the end.?

    max_linesize - the maximum number of characters per line, including the newline character, for this file. Minimum 1, maximum is 32767

  • Need to check delays in update of 1000 lines using the PL/SQL procedure.

    Hi all

    I'm new to PL/SQL. I need your help to build a procedure that executes the following statement and follows the time of update of 1000 rows. This is to check the performance of the database. I need to print the timestamp of start before the update and end timestamp after update. I need to do for the 1000 lines. The statement that will be used in the procedure is:

    SELECT

    'UPDATE XXAFL_MON_FACTS_F SET TASK_WID =' | NVL (TO_CHAR (TASK_WID), 'NULL') |', EXECUTION_PLAN_WID =' | NVL (TO_CHAR (EXECUTION_PLAN_WID), 'NULL').

    ', DETAILS_WID =' | NVL (TO_CHAR (DETAILS_WID), 'NULL') |', SOURCE_WID =' | NVL (TO_CHAR (SOURCE_WID), 'NULL') |', TARGET_WID = ' | NVL (TO_CHAR (TARGET_WID), 'NULL').

    ', RUN_STATUS_WID =' | NVL (TO_CHAR (RUN_STATUS_WID), 'NULL') |', SEQ_NUM =' | NVL (TO_CHAR (SEQ_NUM), 'NULL') |', NAME = "' | NVL (TO_CHAR (NAME), 'NULL').

    "', NO_POSITION =" ' | NVL (TO_CHAR (INSTANCE_NUM), e ') | " ', INSTANCE_NAME = "' | NVL (TO_CHAR (INSTANCE_NAME), 'NULL').

    "', TYPE_CD =" ' | NVL (TO_CHAR (TYPE_CD), e ') | " ', STATUS_CD = "' | NVL (TO_CHAR (STATUS_CD), e ') | " ', START_TS =' | NVL (TO_CHAR (START_TS), 'NULL').

    ', END_TS =' | NVL (TO_CHAR (END_TS), 'NULL') |', DURATION = ' | NVL (TO_CHAR (DURATION), 'NULL') |', STATUS_DESC = "' | NVL (TO_CHAR (STATUS_DESC), 'NULL').

    "', DBCONN_NAME =" ' | NVL (TO_CHAR (DBCONN_NAME), e ') | " ', SUCESS_ROWS =' | NVL (TO_CHAR (SUCESS_ROWS), 'NULL').

    ', FAILED_ROWS =' | NVL (TO_CHAR (FAILED_ROWS), 'NULL') |', ERROR_CODE = ' | NVL (TO_CHAR (ERROR_CODE), 'NULL') |', NUM_RETRIES =' | NVL (TO_CHAR (NUM_RETRIES), 'NULL').

    ', READ_THRUPUT =' | NVL (TO_CHAR (READ_THRUPUT), 'NULL') |', LAST_UPD = ' | NVL (TO_CHAR (LAST_UPD), 'NULL') |', RUN_STEP_WID = "' | NVL (TO_CHAR (RUN_STEP_WID), 'NULL').

    "', W_INSERT_DT = ' | NVL (TO_CHAR (W_INSERT_DT), 'NULL') |', W_UPDATE_DT = ' | NVL (TO_CHAR (W_UPDATE_DT), 'NULL').

    ', START_DATE_WID =' | NVL (TO_CHAR (START_DATE_WID), 'NULL') |', END_DATE_WID = ' | NVL (TO_CHAR (END_DATE_WID), 'NULL') |', START_TIME =' |

    NVL (TO_CHAR (START_TIME), 'NULL') |', END_TIME =' | NVL (TO_CHAR (END_TIME), 'NULL'). "WHERE INTEGRATION_ID ="' | INTEGRATION_ID | " « ; »  OF XXAFL_MON_FACTS_F;

    The above query creates instructions of update that must be executed 1000 times and the time required to update the 1000 lines should be followed.

    Thanks in advance!

    Code horribly wrong!

    Why this approach?

    Dynamic SQL is almost NEVER needed in PL/SQL. And if you think it's necessary and taking into account what is displayed as being problems here, you have a 99% chance of being wrong.

    This 1% where dynamic SQL is necessary, he will WITH bind variables to create shareable SQL, decrease memory requests, decrease the likelihood of a fragmented shared reel and decrease the burning CPU cycles on hard analysis.

    An example below. Your approach is the 1st. One that is slower than the correct approach to 37 (x_!) ...

    SQL> create table t ( n number );
    
    Table created.
    
    SQL>
    SQL> var ITERATIONS number;
    SQL> exec :ITERATIONS := 100000;
    
    PL/SQL procedure successfully completed.
    
    SQL>
    SQL>
    SQL> TIMING START "INSERTs using Hard Parsing"
    SQL> declare
      2          i      integer;
      3  begin
      4          for i in 1..:ITERATIONS
      5          loop
      6                  execute immediate 'insert into t values ('||i||')';
      7          end loop;
      8          commit;
      9  end;
    10  /
    
    PL/SQL procedure successfully completed.
    
    SQL> TIMING SHOW
    timing for: INSERTs using Hard Parsing
    Elapsed: 00:02:00.33
    SQL>
    SQL> TIMING START "INSERTs using Soft Parsing"
    SQL> declare
      2          i      integer;
      3  begin
      4          for i in 1..:ITERATIONS
      5          loop
      6                  execute immediate 'insert into t values ( :1 )' using i;
      7          end loop;
      8          commit;
      9  end;
    10  /
    
    PL/SQL procedure successfully completed.
    
    SQL> TIMING SHOW
    timing for: INSERTs using Soft Parsing
    Elapsed: 00:00:06.06
    SQL> drop table t;
    
    Table dropped.
    
    SQL> create table t( n number );
    
    Table created.
    
    SQL>
    SQL>
    SQL> TIMING START "INSERTs using a single parse and repeatable statement handle "
    SQL> declare
      2          i      integer;
      3  begin
      4          for i in 1..:ITERATIONS
      5          loop
      6                  insert into t values ( i );
      7          end loop;
      8          commit;
      9  end;
    10  /
    
    PL/SQL procedure successfully completed.
    
    SQL> TIMING SHOW
    timing for: INSERTs using a single parse and repeatable statement handle
    Elapsed: 00:00:04.81
    SQL>
    
  • Insert a blank line in the query output

    Is it possible to insert a blank line between two rows of the query output?

    In the EMP table, the column LINES is as follows:

    LINES
    1
    2
    3
    4
    1
    2
    3
    1
    2
    3
    4
    5

    I want to insert a blank line after every 1

    Please suggest.

    Sanjay

    I'm quite puzzled why you need rows in the dataset returned by a select statement that is empty.
    If you are using Oracle reports to the release date, you define the presentation of the report to have spaces between the rows returned by the select and have do not need to have the select statement returns a blank line after each line of data. If the output should be obtained by using another client, I think that the customer will have facilities for output formatting.

    Admit that you really need "blank lines" between data lines, I see only one way: use a temporary table and do an insert into select temporary_table (...) ... from... where... Then, in this temporary table, you can insert 'empty rows', which is actually not really empty, because they must have some fields that give the order of the rows. And then select in temporary_table, you place your order by the columns that are used to give the order for the release.
    Thus

    insert into temporary_table (
    ....
    )
    select ...
    from ...
    where ...
    ;
    for r in (
    select col1, col2, col3  -- columns used for order by
    from temporary_table
    order by col1, col2, col3
    )
    loop
      insert into temporary_table (col1, col2,col3, col4)
      values (r.col1,r.col2,r.col3, null);
    end loop;
    -- this way, a select * from temporary_tabel order by col1, col2, col3, col4 will return a blank row after each data row
    
  • Select the line with the smallest Beach

    Hello
    I am trying to build a complex query...
    He must select the line with the inner range...

    I'll explain for example:
    Location of poolsize ID value
    1 32 8
    2 40 6
    3 42 8
    4-36-3

    I want to select the line where the fork between value and value + poolsize is shared also with the other location...
    so:
    1 is 32-40 (in A place)
    2 is 40-46 (in place)
    3 is 42-48 (location B)
    4 is 36-39 (at location B)

    4 is located at 1 (and there are different places...) so sql must return to the fourth line.

    Any help will be appreciated!

    Thank you
    fcbman

    Hello

    fcbman1899 wrote:
    Hello
    I am trying to build a complex query...
    He must select the line with the inner range...

    I'll explain for example:
    Location of poolsize ID value
    1 32 8
    2 40 6
    3 42 8
    4-36-3

    Whenever you have a problem, please post CREATE TABLE and INSERT statements for your sample data, in order to let the people who want to help you re-Ridge the problem and test their ideas.
    See the FAQ forum {message identifier: = 9360002}

    I want to select the line where the fork between value and value + poolsize is shared also with the other location...
    so:
    1 is 32-40 (in A place)
    2 is 40-46 (in place)
    3 is 42-48 (location B)
    4 is 36-39 (at location B)

    4 is located at 1 (and there are different places...) so sql must return to the fourth line.

    To find all the rows that are within the range of at least one other line with another location:

    SELECT     *
    FROM     table_x  m
    WHERE     EXISTS (
                 SELECT  1
                 FROM        table_x
                 WHERE   location          != m.location
                 AND        value          <= m.value
                 AND        value + poolsize     >= m.value + m.poolsize
                )
    ;
    

    When you talk of the "" * most * inner range ", do you mean that you might have another line, such as"

    INSERT INTO table_x (id, vlue, poolsize, location) VALUES (5, 37, 1, 'C');
    

    which is inside the range of id - 4, and that's why you wouldn't have id = 4? If so, include examples in the results and data sample yout. You can do this with a query CONNECT BY, or, depending on your version of Oracle, a WITH recursive clause.

  • How to query start a new line in the column?

    How to query start a new line in the column?

    Exam

    SELECT ID, username | host name, details of xxx;

    on the 2 column, I need result below:

    Username ID | hostname in detail
    1 user1 xxxxxx
    host1
    2 user2 xxxxxx
    host2

    Kind regards
    Suradech

    Something like that?

    SQL> WITH tbl AS (SELECT 1 id,'user1' uname,'xxx' dtl,'host1' hname FROM DUAL UNION ALL
      2               SELECT 2 id,'user2' uname,'yyy' dtl,'host2' hname FROM DUAL UNION ALL
      3               SELECT 3 id,'user3' uname,'zzz' dtl,'host3' hname FROM DUAL
      4               )
      5  SELECT id,uname||dtl||chr(10)||hname FROM tbl;
    
            ID UNAME||DTL||CH
    ---------- --------------
             1 user1xxx
               host1
    
             2 user2yyy
               host2
    
             3 user3zzz
               host3
    
  • call function of package in the view object

    OK, I have a viewobject with a select statement on a table.
    I would like to call to a function of package, in where clause

    How can I do this?

    You're welcome :-)

    Please check the answer of the question, it might help others too, then.

    Timo

  • Zoom in French - to the acrobat reader do not reduce the number of words per line to fit screen

    Zoom in French - to the acrobat reader do not reduce the number of words per line to fit as screen micorsoft Word knows to extend this feature is the free acrobat reader - or only exist in a paid product Adobe - and how is - this product called from adobe on its less expensive way for Windows 10 .it.

    You don't ask to convert to word. You seemed to ask if you could zoom in on a pdf document and have the text reformatting "As Microsoft Word can do". The answer is higher. Drive abyy fine will not redistribute the text either. Is neither Adobe Acrobat

    But you touched kind on your answer. With ExportPDF or Adobe Acrobat, you can convert the PDF file to a Word document that will be redistributed as you want. But this is not a pdf file. It will be a Word document.

  • function and packages

    Hi friends,

    I have a requirement where in I need decode my source table values while inserting in my target table. I usually do my task by performing functions (don't use case and decode). My first question is

    (1) is using the function to accomplish these tasks is good. I have several of these conversion requirements.
    (2) Clubbing subprogrammes togther in packages is a good habit. But what should be the number of these subprogrammes. I can club togther 100 of this togther functions (a function of the average is 50 lines)? If this is not the case, what should be the thoughts of segregation?
    (3) are the oracle integrated like sqrt, length etc. deterministic functions?

    This code represents a typical requirement of the mine where in I map my name of source country in the target
    ID of country when migrating my data from the source to the target.

    create table source 
    (
    emp_id number,
    empname varchar2(100),
    sal number,
    country varchar2(100)
    );
    
    
    insert into source values (1,'ALEX',1000,'US');
    Insert into source values (2,'RAHUL',2000,'IND');
    Insert into source values (3,'KARTIK',3000,'IND');
    Insert into source values (4,'SHADOW',5000,'US');
    insert into source values(5,'LOUI',1500,'JAP');
    
    
    Create table source_country_code
    (
    country varchar2(100),
    abbrv  varchar2(100),
    area number,
    climate varchar2(100)
    );
    
    insert into source_country_code values ('UNITED STATES','US',10000,'COLD');
    insert into source_country_code values ('INDIA','IND',100000,'HOT');
    insert into source_country_code values ('JAPAN','JAP',1000000,'MODERATE');
    
    
    
    
    Create table target_country_code
    (
    country_id number,
    descr  varchar2(100),
    density number,
    weather varchar2(100)
    );
    
    insert into target_country_code values (101,'this is descrition txt 1',1001,'COLD');
    insert into target_country_code values (102,'this is descrition txt 2',1001,'HOT');
    insert into target_country_code values (103,'this is descrition txt 3',1001,'MODERATE');
    
    
    
    create table target
    (
    emp_id number,
    empname varchar2(100),
    sal number,
    country_id number
    );
    I generally functions for this kind of mappings. I have several of these requirements as indicated above and the
    cardinality of data is high.
    create or replace function transform (in_src_country varchar2) return number deterministic
    as
    l_country_id number;
    l_climate varchar2(1000);
    begin
    
    select climate into l_climate from source_country_code
       where upper(abbrv)=upper(in_src_country);
       
    select country_id into l_country_id
    from target_country_code
    where upper(weather)=upper(l_climate);
    
    return(l_country_id);
    exception 
    when no_data_found then
    return null;
    end;
    last step,

    so, what I usually do is

    insert into target
    Select emp_id, empname, sal, transform (country) in the source;



    As always, thank you

    Rahul

    Published by: Rahul K on 5 June 2013 10:51

    No technique is universally good or bad universally. You must understand your needs, the compromise and what you're trying to optimize for.

    If you don't care anything else you are looking for the absolute fastest performance, reduce what you have to do in PL/SQL is a good idea. Most of the people and most of the systems, however, prefer to have code that is a bit slower if it makes the code easier to maintain and easier to write or minimizes the number of places that the code is duplicated. If you attempt to load a data warehouse of company with billions of new lines every night, you're as almost exclusively worry about raw performance. And, if you design correctly, there is that one way to load any particular item of data, you don't have to worry about code duplication because there will always be an INSERT statement that inserts data in a particular table. If you build an OLTP application, on the other hand, it is very likely that there will be many places where you want to do something like search for a value and you are much less concerned about raw performance you're on maintainability and ensure that you do not duplicate the code. In these cases, well-designed functions and procedures are well worth the return miners (so if you do a query of single line as most OLTP systems are generally easier to treat if you write DSS queries that return millions of processing lines billionr lines.

    Justin

  • Multi-line textitem - maximum number of characters per line

    Hello specialists forms,.

    Is there anyone know how to set the maximum number of characters allowed per line for a multiline text item?

    Say: the number of characters per line will be 75. When the user reaches this limit, the text element will wrap the current Word and move the cursor to the next line.

    Any advice/solution/insult would be appreciated. Thank you

    The maximum number of characters in a line in a multiline text item is dictated by the width of the element - using the standard text element object. You can use the Rich Text Java Bean that could give you the functionality you're looking for.

    Craig...

Maybe you are looking for