Get recent parameters

Hi,
For example;
I run a sql script yesterday with dynamic parameter. (select * from dual where dummy = &v_parameter) . Such as this parameter is 'A'.
How can i get this parameter content ( which is 'A') now?
Which table or file contains this data?
Thanks.

I assume you are using sqlplus.
If you've used a single ampersand (&) then the value you entered for the parameters is not saved.
Had you used a double ampersand (&&) then the value would have been saved for the duration of the sqlplus session.
And you can see its value by typing 'define', which will print out all variables that currently have a value.
Toon

Similar Messages

  • How do I get the Parameters of a Stored Procedure from my Java Code?

    I want to get the parameters in my Java code. How do I do this with Jdbc?
    In ADO it was: myCmd.Parameters.Refresh();
    Any idea what it is in Jdbc?

    no, what I want is to know what parameters are required by my stored proc. So basically I tell it, "My Stored Proc is name 'SomeName'. What are the parameters I need to fill for this proc?" Then it puts those in for me, and then I fill the values. That's what Cmd.Parameters.Refresh() does in VB/C++. So if I had a proc name "MyProc" with:
    @Something int,
    @Another varchar(25)
    Then if I did cmd.StoredProc = "MyProc" (and told it where to find the DB), and then did cmd.Parameters.Refresh(), the cmd would then have those parameters with null values, so i could do:
    cmd.Parameters(0) = 5
    cmd.Parameters(1) = "hello"
    Any idea how to do that in Java/Jdbc?

  • HT1414 How do I get recent pictures back if I restored my old iPhone and it brought back the old pictures but the new ones are gone

    How do I get recent pictures back if I restored my old iPhone and it brought back the old pictures but the new ones are gone?!?

    Sorry your pictures are gone. 
    you should be doing this for all your pictures/videos http://support.apple.com/kb/HT4083  that way you can sync it back via itunes.

  • How to get two parameters in the same line of selection screen?

    hello
    i need to get my selection csreen like bellow.
    r1 radiobuttion  -some space --p1 parameter
    i should not get the parameter in the next line of  radiobuttion.
    how to get two parameters in the same line of selection screen?

    hi....
    modify the following code
    it will work
    SELECTION-SCREEN BEGIN OF BLOCK SL1 WITH FRAME TITLE TEXT-003.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 10(15) TEXT-001
                     FOR FIELD P1.
    SELECTION-SCREEN POSITION POS_LOW.
    PARAMETERS : P1 TYPE   C USER-COMMAND R2 RADIOBUTTON GROUP R2 DEFAULT 'X',
      P2 TYPE SCARR-CARRNAME,
      P3 TYPE CHAR1 RADIOBUTTON GROUP R2.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK SL1.

  • How to get recent 5 hours reports on dashboard

    hi folks,
    how to get recent 5 hours reports on dashboard
    if any body know pls help me
    thanks ,
    nataraj kesana

    do you have any time column in your report?
    then add a filter like time_column >= timestampadd(sql_tsi_hour,-5,current_timestamp)

  • Get method parameters at runtime?

    Hey guys,
    is there a way to get the parameters of a methods parameters at runtime? I have a reference to an object and would like to know which paranmeter does a method have.?
       thx

    Hello
    You can use class CL_OO_CLASS (instance attribute METHOD_PARAMETERS ).
    Regards
      Uwe

  • HT3275 The message I get recently and often is "Time Machine couldn't complete the backup to "LaCie TmMachn". Unable to complete backup. An error occurred while creating backup folder." Anyone that can help me?

    The message I get recently and often is "Time machine couldn't complet the backup to "LaC TmMachn". Unable to complete backup. An error occurred while creating the backup folder."

    Welcome to the Apple Support Communities
    See > http://pondini.org/TM/C10.html

  • Get the parameters from the URL

    Hi all,
    In my applet I need to know the parameters that are in the URL. But I don't know how to do this.
    I started with this:
    String URL=getDocumentBase().toString();So URL has the full url, like: http://127.0.0.1./test.html?Testparam1=hello
    What I could think of is to use :
    int i = URL.getindexof("?Testparam1");
    String value =URL.substring(i);But that is not very handy when using more parameters.
    Is there an other way to get the parameters from the URL?

    You could use a regex or a StringTokenizer, but I'll bet there's a library somewhere that'll do it for you. Probably something in Apache Jakarta Commons. As far as I know there's nothing in the standard library that'll fully parse query strings for you, although you can use java.net.URLDecoder to decode the url-encoding (the %xx encoding).
    If you don't want to find a specialized library, then probably a regular expression is the easiest approach.

  • Obtaining custom HTTP GET / POST parameters of variable length in Application Process

    Hi, I'm trying to connect a javascript UI control within my page to an APEX Application Process.
    The control calls the application process via AJAX and appends a variable number of GET / POST parameters to its URL.
    What is the best way to obtain these parameters from within the PLSQL procedure of the process? Or is there a better way to connect my javascript AJAX control to the Database behind my APEX app?
    Thanks,
    Steffi

    Steffi,
    I'm using APEX 4.1 and I've not used Treegrid before. It does look pretty interesting.
    Firstly, I'm not sure if you are aware but GET requests aren't as secure as POST requests. GET simply appends a key/value pair to the server as part of the url which can be easily sniffed. POST request on the other hand sends the data as key/value pairs to the server in the header which makes it harder to intercept.  This is why APEX outputs forms with POST methods.
    Secondly, back to your original question.I'm not sure this is possible with an Application Process. In the passed I've used POST methods to pass values to my Application Process. I have some code using native jQuery if you would like to see how its done. Alternatively, if you convert your application process to a standard pl/sql procedure (i.e SQL Workshop>Object Browser>Procedures) you can call this procedure and pass in values as you would with any PHP page.
    Simple example (untested)
    CREATE OR REPLACE PROCEDURE  "foo" ( my_name varchar(20)  
         , count NUMBER)
    IS  
         p_name varchar(20) := my_name;
         p_count NUMBER     := count;
    BEGIN
    --Do what you want
    --output something
       htp.p(p_count || '.: '|| p_name);
    END;
    The url on the page (or ajax call) would be something like "/pls/apex/{MY SCHEMA}.foo?my_name=Alistair&count=1"
    Of course for text you will need to escape single colons and special characters etc.
    I would really like to help you further so if you could create a working demo using a free workspace on http://www.apex.oracle.com and provide me with demo username/password. I can try and have a better look for you.
    In all honesty, I'm sure you would be looking to create this as a plugin so that you can easily reuse it in various parts of your application and can easily update it or maintain it. I can help you with that as well if you want.
    Alistair
    P.S You might want to update your profile on this forum to provide your name so people dont just see "31742965-2d09-4f42-849f-e39eb2cfbc9e" your profile name

  • Get URL parameters of Web Dynpro Application using Floor plan manager

    Hi Experts,
    I have a web dynpro component using FPM. The default window of the application is FPM_WINDOW which is an interface view of component of FPM framework. so I cannot get the URL parameters in handledefault of a normal web dynpro app which is not using FPM. How do I get URL parameters in this case through FPM? Thanks!

    Hi,
    I guess you might have created the application under FPM_OIF_COMPONENT/FPM_GAF_COMPONENT. For that add the pramaters to the PARAMTERS tab of teh application.
    Now, you can use
    data lo fpm type ref to if_fpm.
    lo_fpm = cl_fpm=> get_instance( ).
      CALL METHOD lo_fpm->mo_app_parameter->get_value
        EXPORTING
          iv_key   = 'PERNR'            "Application param name
        IMPORTING
          ev_value = lv_pernr.
    Regards,
    Lekha.

  • How get recent call back (because of I change password form other device)

    I use iphone 5 and ipad2
    all devices use same apple id
    I change apple id(password) on ipad
    my recent calls in iphone are lost      but  i cant remember one important number
    How get recent call back ?  i sign in my apple id on my iphone too but it not work.

    If you have previously employed Create and delete iPhone, iPad, and iPod touch backups in iTunes - Apple  Support, then restoring using iTunes should do the trick.
    From the above article (emphasis is mine):
    What iTunes backs up
    SNIP
    Contacts* and Contact Favorites. (You should regularly sync your contacts to a computer or cloud service, such as iCloud.)
    SNIP
    *Your contacts are part of the backup to preserve recent calls and favorites lists. To avoid any potential contact data loss, back up your contacts to a supported personal information manager (PIM) or another cloud-based service (such as Gmail or Microsoft Exchange). You can also make a copy of contacts that are in iCloud. Learn about backups in iCloud.
    ÇÇÇ

  • I get recent contact lists from another device

    I get recent contact lists from another device. I have two iPhones on my account and this is the first time I have ever shared recent contacts from separate contact lists.

    Please elaborate.

  • How can I get pubished parameters to display the available settings

    how can I get pubished parameters to display the available settings?

    according to the online help, I'm supposed to click on Title to get to the titles settings as follows
    "Adjust a title’s settings
    You can modify a title’s default settings in the Title inspector.
    Select a title in the Timeline.
    Choose Window > Show Inspector (or press Command-4), and click the Title button at the top of the pane that appears.
    Adjust the available settings as needed.
    Note:  You can also keyframe many of the settings in both the Title and Text inspectors."
    Gsoing to the Text inspector, there does not seem to be anything in the menu where I can change the color of the text.   Based on the photo that appears with the above instructions --it appears the ability to change ink color is under the Published Parameters that is the menu I cannot get to 'drop'

  • MAX function to get recent date doesn't work as expected

    Hi,
    I recently started working on Oracle and came across this problem. I coded below given query to get the latest date from table and compare it with Sysdate + 1 timestamp. I am not able to understand what I coded wrong but the query gives me wrong results as explained below :
    select NVL(MAX(to_char(max(last_update),'mm/dd/yyyy hh12:mi:ss AM')), to_char(sysdate + 1,'mm/dd/yyyy')||' 12:00:00 AM')
    from Audit_Table_Name
    where col1 = 'AA'
    and location_type = 'STATE'
    and original_flag = 'Y'
    group by col1,location_type,original_flag;
    Here Max(last_update) from Audit Table Contains value --> 08/25/2009 12:00:00 AM
    Note : Data type of last_update is Date
    so ideally speaking it should give 08/26/2009 12:00:00 AM but surprisingly it is giving 08/25/2009 12:00:00 AM as output. Anyone can explain why this is happening and what we need to do to get correct results?
    Regards,
    Amol

    1) Why would you expect this to return a date of 8/26? NVL returns the first parameter unless it is NULL. If the first parameter is NULL, it returns the second parameter. Since
    MAX(to_char(max(last_update),'mm/dd/yyyy hh12:mi:ss AM'))returns a non-NULL value, that value will be returned. Oracle never needs to evaluate the second parameter
    to_char(sysdate + 1,'mm/dd/yyyy')||' 12:00:00 AM'You state that you want to compare the MAX( last_update ) to SYSDATE + 1. Your code isn't doing a comparison now. And it's not clear from your description what comparison you actually want to do. Can you elaborate a bit on what you want to compare and what the output should be depending on the result of that comparison?
    2) You almost certainly want to do as much of the logic as possible using dates and only convert to a string at the very end. Otherwise, you risk comparing two strings that represent dates using string comparison semantics and getting a result you don't expect.
    3) My guess (and it is just a guess) is that you want something like
    SELECT GREATEST( max(last_update), trunc(sysdate+1) )or
    SELECT TO_CHAR( GREATEST( max(last_update), trunc(sysdate+1) ), 'mm/dd/yyyy hh12:mi:ss AM' )Justin

  • Custom authorization provider for WL7 problem (not getting all parameters from ContextHandler)

    I'm implementing a custom authorization provider for WebLogic 7.
    In my Access Decision isAccessAllowed method I need to check values of
    the parameters passed to an EJB method. Now, if an EJB method I have
    two parameters of the same type, for example int, when I get
    ContextElement array from ContextHandler and iterate through it to get
    names and values of the parameters I get the same value (value of the
    first int parameter) from both ContextElement's.
    Here is the code:
    String [] names = ch.getNames();
    for (int i = 0; i < names.length; i++)
    String name = names;
    System.out.println("name = " + name);//here it gets array of
    Strings, which contains two parameter names: "int","int",
    which are the types of EJB method parameters
    ContextElement[] ces= ch.getValues(names);
    for (int j = 0; j < ces.length; j++)
         ContextElement ce = ces[j];
         System.out.println(ce.getName()+ " = " + ce.getValue());
    //here if the value of the first int was 2 and the second 0,
    it would get 2 from both ContextElements (each of ContextElements will
    have name "int"
    If I try this with method parameters of different types, for example
    int with value 2 and long with value 0, then this code work fine -
    first ContextEleement has name int and value 2 and the second has name
    long and value 0.
    Thanks,
    -Oleg Kozlov.

    I'm implementing a custom authorization provider for WebLogic 7.
    In my Access Decision isAccessAllowed method I need to check values of
    the parameters passed to an EJB method. Now, if an EJB method I have
    two parameters of the same type, for example int, when I get
    ContextElement array from ContextHandler and iterate through it to get
    names and values of the parameters I get the same value (value of the
    first int parameter) from both ContextElement's.
    Here is the code:
    String [] names = ch.getNames();
    for (int i = 0; i < names.length; i++)
    String name = names;
    System.out.println("name = " + name);//here it gets array of
    Strings, which contains two parameter names: "int","int",
    which are the types of EJB method parameters
    ContextElement[] ces= ch.getValues(names);
    for (int j = 0; j < ces.length; j++)
         ContextElement ce = ces[j];
         System.out.println(ce.getName()+ " = " + ce.getValue());
    //here if the value of the first int was 2 and the second 0,
    it would get 2 from both ContextElements (each of ContextElements will
    have name "int"
    If I try this with method parameters of different types, for example
    int with value 2 and long with value 0, then this code work fine -
    first ContextEleement has name int and value 2 and the second has name
    long and value 0.
    Thanks,
    -Oleg Kozlov.

Maybe you are looking for

  • Is it just me..or lots of unanswered posts?  need help with sync/restore...

    nearly lost everything off my iPhone, due to a computer problem which holds primary iTunes library...I believe I'm finally having success right now in restoring..... But just in case...... my question is whether I can connect my iPhone to a second co

  • App store ploblems please help

    Hi im currently located in Australia and my app store somehow changed to US app store so I wanted to change back to Australia app store so i pressed view ID on app store and wanted to change it and it says you still have a store credit (which I do) a

  • Get description of tables and columns

    Good afternoon. Is there any option in SAP B1 to get a description of table and column dynamically? That is, without the "Tools -> Queries -> Query Generator"? I am developing an add-on, which lists all the tables and columns of the sap, and I have t

  • Scan for string

    HI erveryone, I am working with the Scan from String fuction, but I have a problem. The string that I have as input is "temp=32.2", so I am using the Scan function as follows: But as output 1 I have "temp=32.2" and 0 in the output 2. Does anyone have

  • Help on user exit

    hi all,   i want to read , Usr Exits, can any body tell me what is user exits? plz send me any documentation or file or presentation slide , step by step guide to read and create it, my email id is " [email protected]" thanks with regard chetan