How to write comments in PL/SQL executed inside the app engine.

Hi all

Is it possible to write comments inside PL/SQL that is executed using %Execute(/) commnad in Application Engine? I tried "/ * /" to write comments, but the program out errors.

You are right. I thought that I said that, but now that I look at, I have not. I'm sorry.

Tags: Oracle Applications

Similar Questions

  • How to write a query to return rows with the varchar column that contains even a single occurrence of the characters, such as Ÿ and

    How to write a query to return rows with the varchar column that contains even a single occurrence of the characters, such as Ÿ and

    I have a table whose columns with values such as

    MINNEAŸPOLIS and ¿VV ¿A

    Only the characters that are allowed in this column are alphabets, numbers, spaces, points and supports.

    Please help to write a SQL SELECT with Regexp_like query or any other option.

    Thanks to you all! Under query worked for me. Thank you Frank to explain the concept of hooks inside regexp_like.

    SELECT * FROM testspecial, WHERE REGEXP_LIKE (sampletext, "[^] ^ A - Z ^ a - z ^ 0-9 ^ [^.]") ^ {^} ^]') ;

  • How to write a simple select query to get the data of the table as an XML.

    How to write a simple select query to get the data of the table as an XML. In the query, I'm just adding items below which i need be there in the XML document
    select '<test_tag>'||EMP_NAME||'</test_tag>','<date>'||sysdate||'</date>' 
    from temp_table where id_num BETWEEN 1 AND 10;
    I have need to add the root tag as well in the beginning and the end of < root > < / root > this xml file. Please advice if this is possible with the select query
    without using XMLGEN, XMLQUERY or any other packages built and function?

    I need to URL escapes with the UTF-8 code points that we have already achieved using the utl_http package. Please help how to do that without using the utl_http package.

    What is wrong with him?

    At present, the only way I can think of to avoid a call to UTL_HTTP. SET_BODY_CHARSET is to write your own little wrapper.
    In this way, you can specify the Boolean parameter or omit it if you choose to use named parameters:

    SQL> create or replace function my_url_escape (url in varchar2)
      2  return varchar2
      3  deterministic
      4  is
      5  begin
      6   return utl_url.escape(url, false, 'AL32UTF8');
      7  end;
      8  /
    
    Function created
    
    SQL> select my_url_escape('http://some.uri.com/param?lang=fr&text=contrôle') from dual;
    
    MY_URL_ESCAPE('HTTP://SOME.URI
    --------------------------------------------------------------------------------
    http://some.uri.com/param?lang=fr&text=contr%C3%B4le
     
    
  • How to write a script for date get to the Clipboard

    Hi experts,

    How to write a script for date get to the Clipboard.

    the date format will be like this:

    05 - may

    respect of

    John

    Thanks guys, thanks Sanon

    I finally use the .bat doc

    like this:

    @@echo off
    for /f "delims =" % in (' wmic OS Get localdatetime ^ | find ".") "") Set "dt = %% a"
    the value "YYYY = % dt: ~ 0, 4%.
    the value "MM = % dt: ~ 4, 2%.

    If MM % is 01 set MM = January
    If % MM == 02 set MM = February
    If MM % is MM value = March 03
    If MM % is 04 MM value = April
    If MM % is 05 MM value = may
    If MM % is 06 MM value = June
    If MM % == 07 set MM = July
    If MM % is MM value = August 08
    If MM % is MM value = September 09
    If MM % is 10 MM value = October
    If MM % is 11A set MM = November
    If MM % is game MM 12 = December

    the value "DD = % dt: ~ 6, 2%.
    the value "HH = % dt: ~ 8, 2%.
    the value "Min = % dt: ~ 10, 2%.
    Set "s = % dt: ~ 12, 2%.

    Echo DD - MM HH % %% % Min | Clip

    It works

    respect of

    John

  • How to use &lt; C:when test... inside the column in the table of the ADF

    I use ADF table with two columns
    in the first column, I check the Type of document is doc type so I have to use commondlink to download this file, otherwise I need to display only text.

    to this I added
    * < c:when test = "{boolean ($favoriteType eq 'doc')}" > *.
    that does not work.

    Please let me know how to use < C:when test... inside the column in the table of the ADF

    < tr:column sortProperty = "favoriteName" sortable = "true".
    headerText = "#{res ['favorite.favoritename ']}" "
    width = "500" noWrap = "false" >
    < c: choose >
    * < c:when test = "{boolean ($favoriteType eq 'doc')}" > *.
    < tr:commandLink actionListener = "#{bindings.downloadFile.execute} '"
    Text = "#{row.favoriteName} '"
    Disabled = "#{!}" Bindings.downloadFile.Enabled}"/ >
    < / c:when >
    < c: otherwise >
    < af:outputText value = "#{row.favoriteName}" / >
    < / c: otherwise >
    < / c: choose >
    < / tr:column >
    < tr:column sortProperty = "favoriteType" sortable = "true".
    headerText = "#{res ['favorite.favoriteType ']} ' rendering ="true">"
    < af:outputText value = "#{row.favoriteType}" id = "favoriteType" / > "
    < / tr:column >

    Hello

    I do not see, you use a Table of the ADF, but I see that you use Apache Trinidad. JSTL is executed analysis of time then that JSF is to render time, that's why it does not work what you see. Trinidad is a part of tr:switcher, and you can try this. Note that it doesn't ' r allow to change components by rank.

    Frank

  • I have one membership year for cloud creative after that I got with my update, but recently the other day, it changed all my applications of trial versions. How to return to my membership and demo of the apps?

    I have one membership year for cloud creative after that I got with my update, but recently the other day, it changed all my applications of trial versions. How to return to my membership and demo of the apps?

    Check that your current account (and only the adobe, used in the next step id is good) by logging in here and check the status of your subscription, https://www.adobe.com/account.html

    then, if it's current, disconnect and then back to your client application using the adobe with the link above in cc id: http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html

    If this fails to solve the problem, Cloud Creative applications back in test mode after an update until 2015 for CC

  • How to write a procedure to call and run the custom package backend

    Hi all

    Oracle 10g
    Oracle Apps R12

    I work with here oracle order management, we have a package called (Pick Release) to customize. Due to a problem, we have this concurrent program execution manually giving Route_id as parameter. The route_id comes from the road to the Table. By using this query

    Select distinct route@DB_LINK_APPS_TO_ROADSHOW route_id
    When trunc (route_date) = trunc (sysdate + 2).

    on a daily basis, we have almost 42 routes and we run this simultaneous program manually close times.

    so now how to write a procedure for this

    Step 1 make the route to the routing table. (By cursor we can get the route_id accordingly)

    Step 2 How to trigger custom backend package and run accordingly to this output of the cursor (route_id)

    If 40 routes of cursor get is - that the simultaneous program runs 40 times according to this route_id.


    can some could provide the steps to do this


    Thanks and greetings

    Srikkanth.M

    To submit a competing request from the back - end:

    FND_REQUEST. SUBMIT_REQUEST (Client or server)

    Summary

    function FND_REQUEST. SUBMIT_REQUEST

    (application IN varchar2 default NULL,

    program IN varchar2 NULL by default,

    Description IN varchar2 default NULL,

    start_time IN varchar2 default NULL,

    sub_request IN default boolean FALSE

    Argument1,

    argument2,..., argument99.

    Return to argument100 number);

    Description

    Submits a competing treatment by a simultaneous Manager. If the query is successful, this function returns the ID of the concurrent request; Otherwise, it returns 0.

    ATTENTION: FND_REQUEST needs to know information about the user and accountability whose application is submitted. Therefore, this feature works of concurrent programs or forms within the Oracle Applications.

    The FND_REQUEST. SUBMIT_REQUEST function returns the ID of the concurrent application after successfully. It is up to the caller to issue a commit to complete the application.

    Your code should retrieve and handle the error message generated if there is a problem of presentation (the ID of the concurrent request returned is 0). Use FND_MESSAGE. RETRIEVE and FND_MESSAGE. ERROR to retrieve and display the error (if the application is made on the client side).

    Related essays: overview of the Message dictionary (see page)

    You must call FND_REQUEST. SET_MODE before calling FND_REQUEST. SUBMIT_REQUEST of a database trigger.

    If FND_REQUEST. SUBMIT_REQUEST fails to go anywhere but a database trigger, database changes are cancelled until the time of the function call.

    After a call to the FND_REQUEST. SUBMIT_REQUEST function, installation of all parameters are reset to their default values.

    Arguments (input)

    short name of the application associated with the concurrent request for enforcement.
    short simultaneous program (not the executable) name of the program for which the application must be made.
    Description Description of the application that appears in the form of concurrent requests (optional).
    start_time time during which demand is expected to start running in the (optional) HH24 or HH24:MI:SS format.
    sub_request set to TRUE if the request is made by another application and should be treated as a subquery.
    From version 11, this parameter can be used if you submit requests for in a concurrent program of PL/SQL stored procedure.
    argument1... 100 arguments for the concurrent request; up to 100 arguments are allowed. If the Oracle Forms submitted, you must specify all arguments of 100.

  • How to track a condition physical sql not in the filter

    Hello

    I created a simple analysis based on finance - GL balance sheet with columns like company, fiscal year, Fiscal Quarter and Cash (Fact - check). When I run the analysis, I had these physical conditions of SQL not in the filter at all. How to track where these conditions are defined as TRANSLATED_FLAG = ' not ?

    Thank you

    New kid in bi

    Select T111515.ORG_NUM as c3,

    trim (both ' ' of T146058.) LEDGER_CATEGORY_CODE) as c4.

    T156337. MCAL_PERIOD_NAME like c5,

    T156337. MCAL_PERIOD as c6,

    T156337. MCAL_PERIOD_WID in c7,

    sum (case when T102174.) GROUP_ACCOUNT_NUM = '110' then T134466. End BALANCE_LOC_AMT) as c8.

    sum (case when T102174.) GROUP_ACCOUNT_NUM = '300' so T134466. End BALANCE_LOC_AMT) as c9.

    T156337. ROW_WID in c10

    Of

    W_MCAL_DAY_D T156337 / * Dim_W_MCAL_DAY_D_Fiscal_Day * /,.

    W_LEDGER_D T146058 / * Dim_W_LEDGER_D * /,.

    W_GL_GROUP_ACCOUNT_D T102174 / * Dim_W_GL_GROUP_ACCOUNT_D * /,.

    W_INT_ORG_D T111515 / * Dim_W_INT_ORG_D_Company * /,.

    W_GL_BALANCE_A T134466 / * Fact_Agg_W_GL_BALANCE_A * /.

    where (T102174. ROW_WID = T134466. GROUP_ACCT_WID

    and T111515. ROW_WID = T134466.COMPANY_ORG_WID

    and T134466. BALANCE_DT_WID = T156337. ROW_WID

    and T111515.COMPANY_FLG = 'Y '.

    and T134466. TRANSLATED_FLAG = ' no

    and T134466. LEDGER_WID = T146058. ROW_WID

    and (T102174. GROUP_ACCOUNT_NUM in ('110 ', ' 300')))

    Group

    T111515.ORG_NUM, T156337. ROW_WID,

    T156337. MCAL_PERIOD_WID,

    T156337. MCAL_PERIOD_NAME,

    T156337. MCAL_PERIOD, trim (both ' ' of T146058.) LEDGER_CATEGORY_CODE)

    Check in the layer of MDB, properties of the respective table source.

    Thank you

    Srini vieren

  • How I write more specific instruction of if at the same time!

    I'm trying to use an IF / formula of EELS in JavaScript for autopopulate a text field in a table, but I get a syntax error.

    Could someone please help?

    and I want to write a specific text on the cells of a table, but before I want to check if this cell was empty or not, if it's empty (this cell1.rawValue = 'text') silt must go in the cell 2 silt and piloted at the other. And so on.

    Tabel1

    1Yes
    2None

    tabel2 |

    cell1"text".
    cell2
    cell3
    cell4

    something close with that can help you understand me more: (it's not really in the code)

    If tabel1.rawValue = 1

    and if tabel2.cell1.rawValue is nothing then

    tabel2.cell1.RawValue = "text".

    on the other

    If tabel2.cell2.rawValue == null then

    tabel2.cell2.rawValue = "text".

    Silt

    If tabel2.cell3.rawValue == null then

    tabel2.cell3.rawValue = "text".

    Silt

    If tabel2.cell4.rawValue = null then

    tabel2.cell4.rawValue = "text".

    Silt

    {

    xfa.host.messageBox ("there is no space in the table!");

    }

    Thnak you! I wish you can help me!

    Hello

    before understanding in JavaScript syntax, there are databases, you need to understand with operators

    JavaScript operators:

    the use of "=" is to assign a value to the value of the left side of the operator (this operator should not be in an if statement)

    the use of "is" is to compare the 2 values

    for another explanation on operators, search for 'Operators JavaScript' on google

    JavaScript syntax:

    "then" is omitted in JavaScript and {} is used instead

    don't forget to put the end of line (semicolon) on each line (excluding statements (if, switch, otherwise ElseIf, etc...))

    If (tabel2.cell1.rawValue == null) {}

    tabel2.cell1.RawValue = 'text ';

    } Else if (tabel2.cell2.rawValue == null) {}

    tabel2.cell2.RawValue = 'text ';

    } Else if (tabel2.cell3.rawValue == null) {}

    tabel2. CELL3. RawValue = "text";

    } Else if (tabel2.cell4.rawValue == null) {}

    tabel2.cell4.RawValue = 'text ';

    } else {}

    xfa.host.messageBox ("there is no space in the table!");

    }

    To help you understand how to fix your JavaScript syntax, you can use the validator to syntax like, Esprima: validator for syntax

    More information on the syntax JavaScript can be found on google, W3Schools is a good start

    I hope this will help you!

  • Need help to write to Oracle and SQL Server in the Oracle triggering

    We have a third which feeds data for us. Their client application feeds directly to some source tables in our Oracle database 10g. We have triggers on those tables that sort and treat lines as they come.

    We have a new operation and try to write some of these incoming data now to a SQL Server database through heterogeneous services - essentially the same exact data in two databases. I have a related database that works very well for the selection, but I've never tried to write Oracle PL/SQL to write in a DB SQL Server 2008. My first attempt was met with the following error: "ORA-02047: impossible to join the current distributed transaction.

    I found another thread where they say that the only way to do it is by using a stand-alone transaction, but they do not give an example. Here is the section of relaxation that I use:
      select to_char(new_date,'MM-DD-YYYY') into sql_txt from dual;
      insert into mancamp_location@sqlweb
           ("UnitID", "ManCampID", "Lat", "Long", "UpdateDT", "VehSpeed", "VehDirection", "Landmark")
        values (v_truck, f_unit, f_lat, f_long, sql_txt, f_spd, f_dir, f_ldmk);
    Can someone point me to a way to accomplish this simple insertion?

    An example of a standalone trigger is:

    Suppose you have a table in Oracle:

    CREATE TABLE emp_sal
    (
    EMPNO NUMBER 4,
    SAL NUMBER (7.2));

    and a similar table in a SQL server:
    SQL Server:

    CREATE TABLE emp_sal
    (
    EMPNO NUMERIC (4).
    SAL NUMERIC (7.2));

    Then, you can create an insert trigger that replicates the data:
    CREATE OR REPLACE TRIGGER dg4odbc_repl AFTER INSERT ON emp_sal
    FOR EACH LINE
    DECLARE
    PRAGMA AUTONOMOUS_TRANSACTION;
    BEGIN
    INSERT INTO 'emp_sal"@MSODBCSQLSERVER_DG4ODBC_EMGTW_1123_DB '.
    VALUES (: new.empno,: new.sal);
    COMMIT;
    END;
    /

    -Note the validation, otherwise risk of ORA-6519

    When you now insert a record into the Oracle database:
    insert into emp_sal values (1234, '1200,89');
    the trigger is activated and inserts the record in SQL Server:
    Select * from 'emp_sal"@MSODBCSQLSERVER_DG4ODBC_EMGTW_1123_DB;
    EMPNO, SAL
    ----- -------
    1234 1200.89

    It works fine when you post data insert, but as soon as restore you the insert only data Oracle will be cancelled - data will remain as long as the independent transaction dedicated to its SQL Server insert:

    insert into emp_sal values (1384, '1200,89');
    Rollback;
    Select * from emp_sal;
    EMPNO, SAL
    ----- -------
    1234 1200.89

    Select * from 'emp_sal"@MSODBCSQLSERVER_DG4ODBC_EMGTW_1123_DB;
    EMPNO, SAL
    ----- -------
    1234 1200.89
    1384 1200.89

    So I strongly recommend to use the DG4MSQL gateway which is able to participate in distributed transactions and allows validation/restore transactions.

    DG4ODBC lie on OTN (http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html-online check out the "See all" link for your favorite platform), cloud of delivery of software Oracle (https://edelivery.oracle.com/) or "My Oracle Support". My Oracle support welcomes the latest version 11.2.0.3. In My Oracle Support goto patches and updates, then search for 11.2.0.3 data set Patch 10404530patch: 11.2.0.3.0 PATCH SET for ORACLE database SERVER, choose your preferred platform and see the Readme which CD contains the gateway software.

    Published by: kgronau on April 24, 2012 08:44

  • How can I get Pages back without paying in the app store?

    I used to have Pages, Numbers and Keynote. How to buy in the App store... How do you get free return?

    See the tab 'bought' in the Apple App Store.

  • extend ListField, how to get a valid result of getSelectedIndex inside the method object?

    Hi all

    I have replace the method object to extend ListField to create my own color ListField.

    I need to avoid the double drawRow between the method object

    and the drawFocus() method.

    inside the method object, I always get the 'bad' selectedIndex (previous)

    (or rectangular previous on getFocusRect()).

    my questions are:

    1. how to get current selectedIndex (or FocusRect) inside the method object when we extend ListField?

    2. is there any other method called before object, the method which returns SelectedIndex valid?

    3. how to avoid the double drawing between object and drawFocus()?

    Thank you.

    If everything you do is add your own color, and then you can do this by using a fillRect in the drawListRow method.  In there.  I have the code that did this, but only for lines not targeted, as it detects with:

    If (listField.getSelectedIndex ()! = index) {}

    //

    }

  • How can I email PDF as an attachment inside the Muse?

    I want to include a form to fill out on a page of Muse. Once the person fills in, how can I have them send the filled form to inside the Muse page?

    I would advise against trying to send the PDF by email. It is generally improper to be many, many reasons. For HTML forms, an experienced web developer needs to rewrite the end server (ASP, CGI, PHP,...). PDF forms are not simple.

    I would use a widget in muse. Go to your menu on the right Muse, select widget library, select Forms.

    from there, you can create any field and insert your own content. This will allow you to send content to your e-mail address, once completed by the end-user.

    Concerning

    Shane

  • URGENT: How to identify Parent movie when we're inside the COMPLETE event

    Hi all
    I have try it for 4 days for a Solution, I don't know how to solve this problem.
    Well, I'll explain the Situation. I'm list creation of thumbnail using AS3 coding. Everything will work well.
    After the loading of the thumbnail, I want to resize the thumbnail to fit the size of the thumbnail. To set the exact size that I have to get the sample size movie that is placed inside the MC sticker, I can't able to get the name of the Instance. Here with, I have attached my sample Code. Please help me on this

    Try this code in onThumbLoaded:

  • How to write the Sql values in the Application Engine

    I am trying to write dynamic sql statements in AE
    E.g.
    I have SQL n Action
    DELETE
    OF %Table(%BIND(RECNAME))
    WHERE Bind (FIELDNAME) = % (AMIT_VALUE_TO_DEL) Bind %;

    at runtime, it converts into

    DELETE
    OF PS_TABLE1
    WHERE 'EMPLID '=' AJ23;

    THE QUOTATION MARK SINGLE AROUND EMPLID IN WHERE CLAUSE CREATES PROBLEM BCZ, IT IS A COLUMN NAME, IS THERE A SOLUTION THIS?

    Add NOQUOTES to your % Bind(). For example, % (FIELDNAME, NOQUOTES) Bind.

    I must warn you however. When generating dynamic SQL, make sure that you have absolute control over the input text used to generate the SQL statement. For example, make sure that you, not a user, determines the value of RECNAME and FIELDNAME. It is too easy to create a SQL Injection flaw in converting the values entered by the user in SQL statements.

Maybe you are looking for

  • Alternative for Turbo C++

    Is there any application under or off the power of the App Store that I can download on my MacBook Pro which is exactly the same as Turbo C++ and uses the same type of orders a libraries for encoding. I use codelite which I am not very happy to help.

  • Logic &amp; Numerology?

    one last question for The Art Of Sound I see that you also use numerology. How do you use it with logic? How to connect together the two apps? Thank you!

  • Application builder

    Hello I hope sombody can help me with my problem. I created an application with the Application Builder. The application works and communicates with the hardware, but only on the PC, on which is installed Labview. On other PCs, the application runs,

  • Microsoft Money 2005 does not update the quotes online.

    Since July 1, 2013 my Microsoft Money 2005 update quotes. I get a message indicating that the quotes have been updated, but prices remain at July 1. Then, when I go directly to the Comstock updated link, I get another message that the update has been

  • NT Kernel & System using 100% of CPU

    Hello I just bought a new laptop with Window Vista Home Basic. The laptop has 3 GB of ram. I just read an article online and then I begin to hear the laptop fan run like crazy. then I went on the resource monitor and there was a picture/program that