Forms 10 g where SQLs run?

In Oracle Forms 10g it is Java Applet above which our Application is running. Now, suppose we have a button and we execute a SQL to get a column value.

Now where the fire SQL?

It fires in the Applet (i.e., customer) or it go on the App and then run?

Hello

Between the Application and the database server. The Applet is responsible for rendering only. No SQL – PL/SQL on the Client computer.

François

Tags: Oracle Development

Similar Questions

  • When utlpwdmg.sql runs?

    Issues related to the:

    1. when utlpwdmg.sql run? (Other than when a DBA running it manually)

    -When a user changes his own PWD?

    -What is when a DBA change PWD of a users?

    -When a user has a profile assigned a password check signs in function?

    -Sometimes?

    2. can you put password several functions in utlpwdmg.sql to check and apply different functions for different profiles? If so, only this function runs when a user tries to change their PWD?

    3. that is in it altered statements placed at the bottom of utlpwdmg.sql to modify the implementation of password in dba_profiles. When those work?

    If there is a manual that describes all this well, I will happily read. I can't find this information anywhere.

    Thank you

    David

    ponderdj wrote:

    Thank you rp0428 and thank you all for being so kind and patient with me to answer MY questions despite MY confusion.

    So, if you'll notice in my last response I reference utlpwdmg.sql all more. It is was explained to me that this is just an example of script and that is all. I'm sure that you can customize and run save functions that is held at the breast.

    Since it is a script provided by oracle, I would be opposed to personalization.  Instead, I (and have) create my own.  There is nothing magical about the name "utlpwdmg.sql".

    but it doesn't matter. I would like to ask a few other questions that have not been answered, then. I see that the example of utlpwdmg.sql function starts with 'CREATE function OR REPLACE... ", so:

    1. When a password already created and assigned check function is called, where it runs since then? (He of course did not form in utlpwdmg.sql, that I had been thinking about before) Is the function which is held in a different file, which is held in a table somewhere, loaded into a global variable or kept in memory differently?

    He occupied the same place any defined function is required.  When the CREATE FUNCTION statement is executed, the function is compiled and the compiled code stored in internal oracle structures.  When the function is called (in this case, as part of the code that changes the password), it is loaded in the shared pool for execution.

    1. If I inherit a DB of someone else and you want to inspect the password assigned currently check the operation, how can I get it?

      1. I'm assuming step 1 inspect the dba_profiles.limit WHERE the dba_profiles.resource_name AS 'password_verify_function '. This will give me the name of the function currently enforced, correct?

    SQL > select profile, resource_name, limit

    2 of dba_profiles

    3 where resource_name = "PASSWORD_VERIFY_FUNCTION";

    1. Now that I have the name of the function that is currently enforced, how can I get its content for inspection?

    SELECT DBMS_METADATA. GET_DDL('FUNCTION','MYPWFUNC','SYS') FROM dual;

    Thanks again,

    David

    Another concept, you need to keep in mind is that there is nothing inherently specific about these "password check functions".  Note that in the CREATE FUNCTION statement in the sample, it is simply CREATE FUNCTION.  It is not CHECK FUNCTION to CREATE of the PASSWORDS.  Point you create the function, it's just a function.  Fundamentally not different than any other function, you can create.  Oracle does not care what you are intending that it be used for.  And the PASSWORD_VERIFY_FUNCTION of the profile property named simply no matter what function you want to be called when a password is changed or created.  In the end, this feature must really do anything at all with a password.  Oracle does not really.  Of course, it is not sensible for this function to anything other that verify that a password respects the rules of the company, but at the level of the database, Oracle is not really give a flying figure.

    I would suggest that you spend a good time with the manual of Concepts to content

  • Oracle Form compile all active SQL rules fails

    Hello

    I finished the steps of Installation of the CCP.
    Now, I'm in the steps of the Installation of the poles.
    RCMP - rules of compilation of SQL, I clicked on "Oracle Form compile all active SQL rules" in the Tools menu bar.
    And I checked the State "process is finished with the error. Here is the error log:

    ---------------------------------------------------------------------------
    RCMP controls custom: Version: UNKNOWN

    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.

    Module LAGENLIB: library to generate controls RCMP
    ---------------------------------------------------------------------------

    Current system time is May 22, 2013 17:52:30

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

    Variable source CLASSPATH successfully...
    LAGENLIB: Input parameters are
    LAGENLIB: Name of the library: LABRSQL
    LAGENLIB: Connect str: jdbc:oracle:thin:@grc.4iapps.com:1541:GRCTEST
    LAGENLIB: The library will be: /ebiz/applmgr/apps/apps_st/appl/xxlaapps/12.0.0/bin/LABRSQL.pld
    ebiz/applmgr/Apps/apps_st/Appl/xxlaapps/12.0.0/bin/LAGENLIB. PROG: line 64: LAGENLIB: command not found
    LAGENLIB: Library Generation failed
    LAGENLIB: Quit smoking with the error...
    /EBiz/applmgr/apps/apps_st/appl/xxlaapps/12.0.0/bin/LAGENLIB
    Program exited with status 1


    ---------------------------------------------------------------------------
    Options, AutoComplete, the request for enforcement.

    Size of the output file:
    0


    End of query options AutoComplete.

    ---------------------------------------------------------------------------
    Simultaneous request ended
    Current system time is May 22, 2013 17:52:30

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

    And I tried the Document link for the solution below. But still am experiencing this problem.
    Compilation of SQL is any mistake when CCP 7.3.1 is installed against database 11g [1078979.1 ID]

    Please suggest me to fix this problem.

    Concerning
    Kumar V

    Thank you very much.

    The problem has been resolved.
    Solution.
    I run the script laconfig.sh once again, then complie all active sql rules, its normally filled.

    Thanks Yasser.

  • After clicking on "Download", nothing happens in Windows 8 - where the 'Run' or 'Start' to install it?

    new computer with Windows 8.
    attempt to download Firefox
    After clicking on "Download", nothing happens in Windows 8 - where the 'Run' or 'Start' to install it?

    Hello lashaw1002, windows 8 is not yet registered as an operating system supported
    https://www.mozilla.org/en-US/firefox.../system-requirements/.
    If you are able to install and run firefox, there will be many problems of stability and other oddities since there are still some integration work required to get firefox on windows 8.

  • Rename tables and columns in sql running that accessing these columns in the table.

    Hello

    Using oracle 11.2.0.3

    We want to rename columns, tables and work just a sql scripts for this.

    If sqls who have access to those running long tables/columns for example reports what is happening

    Existing sql running, will work perfectly in that picked up sql before table/colum rename or will they crash if tables/columns renamed during them.

    scripts wil take a few seconds to run maximum

    Thank you

    The only other activity that would go on select is against these tables/columns. No etl isnert/update/delete etc wil, which happened during the name change.

    Only possible activities are report instructions srunning select.

    Tried to run a long selection and rename that select while that was going on and got no error on the test system.

    This is because certain statements does not place locks on tables or lines, so even if a session is reading data, another session can make some ddl (or dml) manipulation.

    In this situation (with only selects, no other dml queries), renaming can be done, but the question remains, what the application code?

    If it refers to old column names after name change operation, is no good.

  • MSCOBJCL.sql runs for a long time everything by applying the patch 6678700 for 12.1.1 upgrade

    DB: 11.2.0.3.0

    OS: IBM AIX 64 bit 6.1 power system

    Hi all

    MSCOBJCL.sql runs for time while using a patch 6678700 12.1.1 put level. We are the upgrade of 11.5.10.2.0 to 12.1.1

    Could someone please share why the script takes so long to run?

    Thanks for your time

    Best regards, a1_win

    Thanks Asif

  • SQL running slow

    Hi experts,

    Suite sql running slow (average time elapsed 18 seconds), for me to ok research execution plan

    do you see problems in the execution plan, all wy we can leaving under sql


    Hash value of plan: 1838138027

    ---------------------------------------------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
    ---------------------------------------------------------------------------------------------------------------
    | 0 | UPDATE STATEMENT. 22 (100) |

    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    | 1. UPDATE | EXTERNAL_ID_ACCT_MAP |
    | 2. TABLE ACCESS BY INDEX ROWID | EXTERNAL_ID_ACCT_MAP | 258. 7224 | 22 (0) | 00:00:01 |
    | 3. INDEX RANGE SCAN | EXTRNL_D_CCT_MP_XCST_CCT_MP_KY | 258. 1 (0) | 00:00:01 |
    ---------------------------------------------------------------------------------------------------------------



    Thank you
    REDA

    Published by: 956212 on August 31, 2012 16:57

    Published by: 956212 on August 31, 2012 16:57

    See [url https://forums.oracle.com/forums/thread.jspa?threadID=863295] how do I post a sql tuning request.

    do you see problems in the execution plan, all wy we can leaving under sql

    Please also provide the SQL section and predicates as well--that may indicate problems such as implicit data type conversion.

    Bottom line - if the estimates in the SQL statement are reasonably correct, there is a very good chance that it is a good plan (given indices and the available paths).
    See http://www.centrexcc.com/Tuning%20by%20Cardinality%20Feedback.pdf

  • HTML form in a "PL/SQL (anonymour block).

    Hello

    I need a little guidance ugent

    I create a "form" in a "PL/SQL (anonymour block). The requirement is to show what looks like an HTML form as you build the code

    The problem is that I'm "Place Setting" treatment of the APEX which is wwv_flow.accept... I've added an example below...

    Any help very good home

    Thank you

    Pete

    ______________________________________________________________________________________________

    HTP.PRN('<!) DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN".
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
    (< html xmlns = "http://www.w3.org/1999/xhtml" > ');

    HTP. PRN ("< style type =" text/css"> '");

    HTP. PRN ('#form {do-family: "Trebuchet MS", Verdana, without serif; width: 25em ;}');})
    HTP. PRN ('h2 {margin: 0 0 0 0; padding: 0 ;}}) ") ;
    HTP. PRN ('p {margin: 0 0 1em 0; padding: 0; do-size: 90 %} ""});
    HTP. PRN ('fieldset {background: #C361D2; border: none; margin-bottom: 1em; width: 24em; padding-top: 1.5em}');

    HTP. PRN ('p.legend {background: #DED983;})

    color: black;
    Padding: .2em .3em;
    Width: 750px;
    do-size: 18px;
    border: 6px start #DED980;
    position: relative;
    margin:-2em 0 1em 1em;
    Width: 20em ;} ") ;

    HTP. PRN ('fieldset {margin-bottom: 1em; width: 66em; padding-top: 1.5em ;}}) ") ;
    HTP. PRN ('#company {background: #F3B4F5; border: departure #F3B4F5; width = "700" ;}}) ") ;
    HTP. PRN ('#company tag {position: absolute;})
    do-family: arial;
    do-size: 16px;
    Padding: .2em ;} ") ;

    HTP. PRN (' input {margin-left: 9è; margin-bottom: .2em; line-height: 1.4em ;}}) ") ;
    HTP. PRN (' #message1 {background: #a3B4F5; border: departure #a3B4F5; width = "700" ;}}) ") ;
    HTP. PRN (' #message2 {background: #c3B4F5; border: departure #c3B4F5; width = "700" ;}}) ") ;

    HTP. PRN ('button1 {make: 48px "Trebuchet MS", "Verdana", sans-serif;})
    background: #F0888A;
    {border: start #6EC6F1} ");"

    HTP. PRN (' input #buttons1 {background: #DED983;})
    {font: 1.2em "Trebuchet MS", Verdana, without serif} ");"

    HTP. PRN ('p #buttons1 {white-space: nowrap} "");

    HTP. PRN ("</style > '");


    HTP. PRN ("< table width ="760"> < tr bgcolor ="#D5EAE9"> ');

    HTP. PRN ("< BR > < BR > '");

    HTP. PRN ("< form method =" "action =" "> ');

    HTP. PRN ("< fieldset id ="company"> < class p ="legend"> < /p > company '");

    HTP. PRN ("< label > Comapany name: < / label > < input name ="company"type ="Text"size ="30"/ >");

    HTP. PRN ("< br > < br >");
    HTP. PRN ("< / fieldset > '");

    HTP. PRN ("< br > < br > < br >");
    HTP. PRN ("< fieldset id ="message1"> < class p ="legend"> < /p > Message'");
    HTP. PRN ("< / fieldset > '");
    HTP. PRN ("< br > < br > < br >");
    HTP. PRN ("< fieldset id ="message recu2"> < class p = 'legend' > two Message < /p > '");
    HTP. PRN ("< / fieldset > '");
    HTP. PRN ("< br > < br >");

    HTP. PRN ("< / make >");
    HTP. PRN ("< /tr > < / table > '");
    End;

    ______________________________________________________________________________________________________

    Pete:

    Delete the name attributes of all the entry elements defined by the process of pl/sql. For example
    should be replaced byor
    APEX accept process recognizes a predefined set of HTML form entry name. No matter which entry with a name not this game will result in the failure of the process accept. F01 through f50 are valid names for the acceptance procedure.

    CITY

  • Cannot update Table with form data in the SQL statement

    Hello. Joined the zip file of the error and the cfm 2 pages... selectstudents.cfm goes first.

    The question I have, is that the database is not being updated when I run the page editroster.cfm, submitted from the selectstudents.cfm page. Students #FORM. Exercise #_Class column should be filled with the #URL. ClassID # if the box is checked on the selectstudents.cfm page.

    Thanks for the help! It is appreciated

    I swear that I can kill text editor enriched this forum before the day is done (it can not be me). He stripped the part of the code for the function ListQualify. It should be

    WHERE Ad_Username IN (#ListQualify(Form.Checkbox,"'")#)
    

    The single quote was somehow unpacked since the quotation marks that surround it.

  • How to make this simple sql run faster?

    Here is a very simple sql, but it takes too long to finish as an hour or more, and the problem is in the table. It's a huge table with 17660025 lines.
    In addition, upd_dt is indexed.
    select distinct (dstn_type) from ims_ets_prty_msge where ims_ets_prty_msge.upd_dt > sysdate - 30;
    Execution plan seems to be no problem: (is 9i, and I do not think that it would not perform better if the UNIQUE HASH is used instead of SORT UNIQUE)
    -----------------------------------------------------------------------------------------
    | Id  | Operation                    |  Name                    | Rows  | Bytes | Cost  |
    -----------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT             |                          |     6 |    78 |  1409 |
    |   1 |  SORT UNIQUE                 |                          |     6 |    78 |  1409 |
    |   2 |   TABLE ACCESS BY INDEX ROWID| IMS_ETS_PRTY_MSGE        |   856K|    10M|    10 |
    |*  3 |    INDEX RANGE SCAN          | IMS_ETS_PRTY_MSGE_INDX5  |   154K|       |     2 |
    -----------------------------------------------------------------------------------------
     
    Predicate Information (identified by operation id):
    ---------------------------------------------------
     
       3 - access("IMS_ETS_PRTY_MSGE"."UPD_DT">SYSDATE@!-30)
     
    Note: cpu costing is off
    Here is some info on the table
    NUM_ROWS BLOCKS  EMPTY_BLOCKS AVG_SPACE CHAIN_CNT AVG_ROW_LEN
    17129540      455259     622           502             455278      188
    The thing is that we must make it run faster.
    And all I can think is to create a bitmap on dstn_type (low cardinality) index and partition the table using upd_dt;

    So my question would be is anyway that we can get a better response time without having to make that kind of change?
    Or is this kind of change really help?

    Any thoughts would be appreciated!

    Thank you

    Have you thought about putting an index on (upd_dt, dstn_type)?

    With the query you posted, and this index, it should be possible to use a full scan of the index, no visit to the table at all.

    A bitmap index would not be a good idea, if it is an OLTP application / table.

  • SQL run faster using the vertical bar (|) ... ???

    Hi all

    I have this sql that runs with pipes (|). Here's the original sql (from and where clause)
    which takes about 2 min to run... and the other query with pipes (|), and + 0 added to the cluase
    works as in 6 sec... and I wanted to know why the difference? What exactly does the pipes only and the
    + 0 do? as there is a big difference? This was settled by one of our dba SR... so I wanted to know what it means
    the hose not allowing so much faster sql?

    original SQL
     FROM ((SAMPLE SAMPLE 
           INNER JOIN TEST TEST 
              ON SAMPLE.SAMPLE_NUMBER = TEST.SAMPLE_NUMBER) 
           INNER JOIN SAMPLE ORIGINAL_SAMPLE 
              ON SAMPLE.ORIGINAL_SAMPLE = ORIGINAL_SAMPLE.SAMPLE_NUMBER) 
           INNER JOIN ANALYSIS ANALYSIS 
              ON (TEST.ANALYSIS = ANALYSIS.NAME) 
                 AND (TEST.VERSION = ANALYSIS.VERSION) 
     WHERE (ANALYSIS.ANALYSIS_TYPE = 'INORGANIC') 
       AND (TEST.STATUS IN ('I', 'C', 'P')) 
       AND (SAMPLE.STANDARD = 'F') 
       AND (SAMPLE.SAMPLE_NUMBER > 0 
            AND (ANALYSIS.X_DATA_TYPE <> 'SUMM' 
                 OR ANALYSIS.X_DATA_ANALYSIS IS NULL))
    SQL using pipe and + 0
       
      FROM ((SAMPLE SAMPLE 
           INNER JOIN TEST TEST 
              ON SAMPLE.SAMPLE_NUMBER = TEST.SAMPLE_NUMBER + 0) 
           INNER JOIN SAMPLE ORIGINAL_SAMPLE 
              ON SAMPLE.ORIGINAL_SAMPLE = ORIGINAL_SAMPLE.SAMPLE_NUMBER + 0), 
           ANALYSIS ANALYSIS 
     WHERE ANALYSIS.ANALYSIS_TYPE || '' = 'INORGANIC' 
       AND TEST.STATUS IN ('I', 'C', 'P') 
       AND SAMPLE.STANDARD = 'F' 
       AND SAMPLE.SAMPLE_NUMBER > 0 
       AND (ANALYSIS.X_DATA_TYPE < 'SUMM' 
             OR ANALYSIS.X_DATA_TYPE > 'SUMM' 
             OR ANALYSIS.X_DATA_ANALYSIS IS NULL) 
       AND ANALYSIS.NAME = TEST.ANALYSIS || '' 
       AND ANALYSIS.VERSION = TEST.VERSION

    Well, by concatenating a null value or adding 0 to a column you change column in expression. This forces the optimizer does not use the index on the column. For example

    ANALYSIS. ANALYSIS_TYPE = "INORGANIC".

    TO

    ANALYSIS. ANALYSIS_TYPE | "="INORGANIC ".

    Forces you to Oracle do not use the index on the ANALYSIS. ANALYSIS_TYPE. So I guess the first query is uning index while the second does not. It could be other diffs in execution plans. It must therefore produce plans of execution for both queries and compare them. Now, assuming that your SR dba knows tuning, it could be table stats are obsolete and optimizer decides to use the wrong plan. Make sure that his stats are updated, and then to produce execution plans, execute queries and compare run time.

    SY.
    P.S. And after the Oracle version.

  • When SQL running last time

    Hello

    I want to see what SQL data was last run.
    I tried to get this info from last_active_time v$ sql but I don't have (the Shared pool could have flushed out)
    Y at - it another way to get this in 10G.can that we get from the Hist. tables If so, how? Please help me

    Thank you
    Pramod

    Pramod.

    What I mean was not the SQL_EXEC_START column, but as tip.
    (It's just a thing, not at all perfect information)

    select min(sample_time)
    from dba_hist_active_sess_history
    where
      sql_id = ''
      and snap_id between  and 
    ;
    

    But only 1/10 of the history of the current session in memory is stored on the disk, so you should have a chance to meet your requirement.

    The amout of the session active history data flushed to the drive is controlled by the following parameters.

    UKJA@ukja102> @para ash_disk
    UKJA@ukja102> set echo off
    old   9: and i.ksppinm like '%&1%'
    new   9: and i.ksppinm like '%ash_disk%'
    
    NAME                           VALUE                IS_DEFAUL SES_MODIFI
    ------------------------------ -------------------- --------- ----------
    SYS_MODIFI
    ----------
    DESCRIPTION
    --------------------------------------------------------------------------------
    _ash_disk_write_enable         TRUE                 TRUE      false
    immediate
    To enable or disable Active Session History flushing
    
    _ash_disk_filter_ratio         10                   TRUE      false
    immediate
    Ratio of the number of in-memory samples to the number of samples actually writt
    en to disk
    

    ==================================
    Dion Cho - Oracle Performance storyteller

    http://dioncho.WordPress.com (English)
    http://ukja.tistory.com (Korean)
    http://dioncho.blogspot.com (Japanese)
    ==================================

  • killing the SQL running on the schema in the background

    Hi all

    This is my first post in oracle db.

    We have a scheme on which I run a query that takes more than 4 hours.

    another user had accidentally run the same query on the same schema.

    is there a way to kill a session or a query running in the background that is running on this scheme?

    Kind regards

    dattatray mate

    Yes, you may need to run the sys user.

    and run the query to find the session connected to the REPORTDATA schema

    Select sid, serial # of the v session $ where username = 'PRODUITLOGICIELS' and STATUS = 'ACTIVE ';

  • Form of questions 12 c, run the report, how to set up uifont.ali 12 c reports?

    I have installed Oracle Forms 12 c:

    There are a few questions (problems) in the configuration after the installation:

    1. I need NLS_LANG value CROATIAN_CROATIA. EE8MSWIN1250. Text and the fields displayed are displayed correctly (all that is displayed from database), but their guests and the menu is displayed incorrectly (wrong characterset).

    2. when the report is started from form, instead of run from port 9002 (report server), it runs from port 9001, so I need to manually change the url to view the report.

    3. I don't know how to define a subset of PDF (in the previous version, just edit uifont.ali and put the subset inside).

    4. how to start Report Builder?

    For me, after you apply this hotfix, pdf subsetting works very well. (Linux x 64 environment).

    Concerning

  • Show SQL running


    Is there a way in SQL Developer the opportunity to view the current SQL that is running, but has not been submitted through SQL Developer?

    I started a long process via another application that fills 25-30 tables and then uses these results to remove data from other tables.

    In Enterprise Manager, I could see SQL statements "Long Running" and evaluate the process of my task.

    Is there a comparable function in SQL Developer?

    Thank you

    Murray Sobol

    Tools > monitor Sessions

Maybe you are looking for