How can I display SQL%ROWCOUNT in the "Process Success Message"

Hi all;
I am trying to display SQL%ROWCOUNT in the "Process Success Message" of a custom update Process.
Any ideas?

Chris,
I assume,
ORDER_ITEM_LOAD.MERGE_INTELLI_LABS ( in_DEPARTMENT_UID );
is a package / procedure you call to do something. Change the procedure and add an
out parameter to it, which will get the
SQL%ROWCOUNT
value. Then, call this package like this:
DECLARE
  in_DEPARTMENT_UID NUMBER;
BEGIN
  in_DEPARTMENT_UID := :P4_DEPARTMENT_UID;
  ORDER_ITEM_LOAD.MERGE_INTELLI_LABS ( in_DEPARTMENT_UID,  :P4_ROW_COUNT );
END;Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://htmldb.oracle.com/pls/otn/f?p=31517:1
-------------------------------------------------------------------

Similar Messages

  • How can i display a portlet in the Edit view only ?

    Dear All,
    I'm developing a portal in which the end user can change the content of the portal page (personalize) using Edit smart link and i ask How can i display a portlet in the Edit view only ? not shown in the production view ?

    Last time I heard with Oracle they said the only way is to look at the current URL. If it contais _mode=16 then we are in edit mode.
    This is a function I use:
    FUNCTION inEditMode return boolean is
    bEdit boolean := false;
    begin
    if PORTAL.wwpro_api_parameters.get_value('_mode', 'qaz') = '16' then
    bEdit := true;
    end if;
    return bEdit;
    end inEditMode;
    Kind regards
    Tomas Albinsson
    Stockholm, Sweden

  • How can I display on a string the symbol omega (ohms)

    how can I display on a string the symbol omega (ohms)

    Hi,
    See there : http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000032410000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
    Hope this helps !
    Julien

  • How Can I Retrieve SQL Statement From The User ?

    Hi
    I want to know, how can I make the user can enter the SQL statement from himself ?? in this code he can't enter it. Only he can display the SQL that i wrote it...
    this is my Code:
    import java.sql.*;
    public class db_testing {
         static final String DRIVER = "com.mysql.jdbc.Driver";            
         static final String DATABASE_URL = "jdbc:mysql://localhost/S204111933";
         public static void main(String[] args) {
              Connection cn=null;
              Statement st= null;
              ResultSet rset=null;
              try{
                   Class.forName(DRIVER);
                   cn=DriverManager.getConnection(DATABASE_URL, "root", "admin");
                   st=cn.createStatement();
                   rset=st.executeQuery("select * from employee");
                   ResultSetMetaData metadata=rset.getMetaData();
                   System.out.println("The begining: ");
                   for(int i=1;i<=metadata.getColumnCount();i++)
                   System.out.print(metadata.getColumnName(i)+"\t");
                   System.out.println();
                   System.out.println();
                   while(rset.next()){
                   for(int i=1;i<=metadata.getColumnCount();i++)
                   System.out.print(rset.getObject(i)+"\t\t");
                   System.out.println();}
              catch(Exception e){
                   e.printStackTrace();
              finally{
                   try{
                   cn.close();
                   st.close();
                   rset.close();
                   catch(Exception e1){
                        e1.printStackTrace();
    }

    The following changes in the code will make the user to give the input
    import java.sql.*;
    public class db_testing {
    static final String DRIVER = "com.mysql.jdbc.Driver";
    static final String DATABASE_URL = "jdbc:mysql://localhost/S204111933";
    public static void main(String[] args) {
    Connection cn=null;
    Statement st= null;
    ResultSet rset=null;
    try{
    Class.forName(DRIVER);
    cn=DriverManager.getConnection(DATABASE_URL, "root", "admin");
    // st=cn.createStatement();
    // rset=st.executeQuery("select * from employee");
    PreparedStatement pstmt=null;
    pstmt=cn.prepareStatement("select * from employee where id=?");
    pstmt.setInt(1,Integer.parseInt(args[0]));
    rset=pstmt.executeQuery();
    ResultSetMetaData metadata=rset.getMetaData();
    System.out.println("The begining: ");
    for(int i=1;i<=metadata.getColumnCount();i++)
    System.out.print(metadata.getColumnName(i)+"\t");
    System.out.println();
    System.out.println();
    while(rset.next()){
    for(int i=1;i<=metadata.getColumnCount();i++)
    System.out.print(rset.getObject(i)+"\t\t");
    System.out.println();}
    catch(Exception e){
    e.printStackTrace();
    finally{
    try{
    cn.close();
    st.close();
    rset.close();
    catch(Exception e1){
    e1.printStackTrace();
    }

  • How can i display units only for the result set

    hi
    i do not want to display units (example: $ or %) for my key figure columns but i want to display units to the result.
    how can i do that

    Hi Surya,
    I don't think it is possible to have both non-unit and unit in the same kf.
    One potential workaround to do this is to create a calculated key figure/ formula that use the NODIM function for single values. Example: NODIM(0AMOUNT). Then, create a calculated key figure/formula that computes overall result on the same kf and supresses individual values but does not use NODIM....perhaps this can help you work out a solution.
    Hope this helps.
    Regards,
    Petter
    Message was edited by: M Petter

  • How can I display lyrics in iPad, the song which I purchase in iTunes, and added lyrics in iTunes.

    I just brought some song in iTunes, and add lyrics in it, can be display in MAC, but can't display in my IOS8 iPad .  Please help!

    For whatever reason the iPad will not display lyrics, I think its been this way since iOS 7.  The iPhone will display them, but not iPad.  I don't think its a bug, I think Apple wants it this way for some reason ... give your feedback here:
    http://www.apple.com/feedback/ipad.html

  • How can I display browsing history (like the "history" function in IE)

    In IE when you click "history" you get a list of all the websites visited. In FF "history" only shows Bookmarks. Can I display my browsing history in FF?

    See:
    *[[/questions/932927]] Firefox 14.01 not importing html bookmarks

  • How can I display event notes on the relevant event in week/day view?

    Hi folks,
    I'm looking for a way to display the event notes on the actual event in week or day view.
    This will greatly help plan out my week (especially for repetitive events with custom notes for each occurrence).
    I can understand that Apple ommitted this feature to avoid clutter on short-duration events perhaps?
    Clicking on the event (or using the Inspector) to see the notes is not an option. I need an overview that can be viewed at a glance or even printed.
    Looking forward to your suggestions...
    Trev

    Hi Trev,
    With iCal as it is the only suggestion I have would be to add the full text to the title of the events.
    FYI, this is a user to user forum. By posting here you are not guaranteed someone from Apple will read it. If you'd like Apple to know about this I suggest you send them feedback.
    Best wishes
    John M

  • How can I display procedure body in the sqlplus

    Could any one tell me how I can show the procedure/function body in the sqlplus?
    Thanks.

    Select Text from User_source
    where type = 'PROCEDURE'
    and name = '<procedure name>'
    order by line;
    Regards,
    Murali Mohan

  • How can I display previous monthname including the year?

    I have the following sql statement:
    SELECT Cast(datename(month, dateadd(mm, -1, getdate())) as varchar(15)) + '-' + Cast((DATEPART(YYYY,GETDATE())) As CHAR(4))
    The result displays as July-2014 which is correct for previous month...
    But on next year January-2015 it will display December-2015.
    Is it possible to have the date shown as December-2014?
    I appreciate any help.
    Thanks in advance.

    The date shows the result that I am looking for.
    SELECT Cast(datename(month, dateadd(mm, -1, getdate())) as varchar(15)) + '-' + Cast((DATEPART(YEAR,GETDATE()-1)) As CHAR(4))

  • How can I display three images in video rate succession (60 Hz)?

    For a structured illumination microscope application, I have developed a VI that creates three images and displays them in rapid succession (as fast as the loop will go) on a second monitor.
    From the naked eye it's pretty apparent that the loop is not displaying the images at video rate.  Is there a way (perhaps with some sort of buffer) to get them to display faster?  Is WinShow simply not going to be fast enough, and if not, what's an alternative method of displaying the images?  If it helps, the images need only be displayed once each (the loop was just for testing).
    Also, what is a way to measure the frame rate output of the images?
    (sorry for the sloppy code, new to LabView)
    Thanks,
    -T
    Attachments:
    illuminationpattern.vi ‏31 KB

    Hello,
    Why don't  you try drawing one window, call IMAQ WindShow once outside of the loop, then redraw that window each iteration within the loop.  Hopefully this stops the flutter of the window.  You can build a 3 element array of the 3 IMAQ images then use an index array to alternate through which image you want to be redrawn into the single window.  The constant calling of IMAQ WindShow seems messy.
    Regards,
    Isaac S.
    Applications Engineer
    National Instruments

  • How can I display the name of my refnum on the front panel?

    I am writing data to a file. To do this, I am using "Open/Create/Replace File" to prompt the user for a filename, which is then output to my VI as a refnum. I then write strings to this file with "Write to Text File".
    How can I display this filename (with the path) on the front panel after the user has input it?
    Michael
    Solved!
    Go to Solution.
    Attachments:
    refnum.JPG ‏45 KB

    Use the Refnum to Path function, in File I/O -> Advanced File Functions palette. You can wire this to a path indicator.

  • Can I change the position of "process success message"?

    Hello all,
    I've looked around the forum but can't seem to find away to control the position of the "process success message" that displays when an update is made in a page process.
    The message appears to be centered on the page, however because I have a region with a lot of columns the user will have to scroll to the right to see the "Update Successful" message that is returned from the process.
    Does anyone know how to Left Align this message on the page?
    Thanks for the help!

    Thanks for the help!
    I was able to left align the message by modifying the page template. In my case it was the template for "One Level Tabs"
    I changed the following section in Body the body, I change the align from "center" to "left"...
    <td class="t3PageBody"><div class="t3Messages" align="left">#GLOBAL_NOTIFICATION##NOTIFICATION_MESSAGE#Interestingly enough it did not work for me to change the Success Message in the Subtemplate section.

  • How can we display the list of Report Names in Dashboard Prompt?

    How can we display the list of Report Names in Dashboard Prompt?

    Hi,
    No its not possible to display list of reports in dashboard prompts.
    Can do this using SQl results in prompt(we write query checking out report names manualy),but its not easy thing if you are having many report names to be displayed.
    Assign points and close your threads if answered.
    Refer : http://forums.oracle.com/forums/ann.jspa?annID=939
    Regards,
    Srikanth

  • How can  i  display the Number  instead of  E

    Hello Everyone ;
    I am getting confused. How can i display the Number but the Exponential value is coming as E.
    SQL> select sum(amount_sold) from sales;
    SUM(AMOUNT_SOLD)
    1.1287E+11
    Table details ..
    SQL> desc sales
    Name                                          Null?        Type
    AMOUNT_SOLD NUMBER
    i want to change 1.1287E+11 to "numeric"
    DB : 10.2.0.4
    os : rhel 5.1

    Just a minor correction on an obvious math/responding too fast error: 1.1287E+11 is a 12 digit number. You move the decimal 11 positions to the right which would add 7 zeroes to the value.
    MPOWEL01> l
      1  select length(to_char(1.1287E+11)), to_char(1.1287E+11,'999,999,999,999'), 1.1287E+11 "TEST"
      2* from sys.dual
    MPOWEL01> col TEST format 999999999999
    MPOWEL01> /
    LENGTH(TO_CHAR(1.1287E+11)) TO_CHAR(1.1287E+          TEST
                             12  112,870,000,000  112870000000the problem was that the OP failed to alias the sum result to the formatted column rather than the lenght of the data.
    HTH -- Mark D Powell --

Maybe you are looking for

  • Vista..Can't connect to the iTunes store... Could before, but not now...

    I recently had a problem with not being able to connect to the iTunes store on Vista. I was able to connect, and then all of a sudden one day it wouldn't connect. When I tried to go to the iTunes store it would give me the box that is the same as the

  • My songs on my playlist wont update on my ipod!

    When i try to update my IPod it says- "Songs on the IPod cannot be updated becuase all of the playlists selected for updating no longer exist" but all my music is still in my Itunes and on my Playlist but not on my IPod? PLEASEEE HELP!!!

  • Sharp Edge using the Ellipse Tool?

    I am using Fireworks 8 and trying to create an atom image but when I create the proton paths using the ellipse tool the edges show up as jagged instead of sharp after flattening the image and uploading as jpg, png or gif files to the server.  I've tr

  • CD drive slow at ripping after ITunes error

    I was simply ripping a disc in ITunes when it froze and I had to ctrlaltdelete the program. After starting it back up and attempting to burn again, I noticed that it not only made the computer resources go to roughly 100% (previously it was not nearl

  • Formating in scripts

    Hi guru's,   please explain about the formating options L and LT specified in brackets (bold letters). /* &it_tax_sumwa-CUST_DUTY(LT11.2)& CUUC1 =  &it_tax_sumwa-CUST_DUTY(T11.2)&