Run query does not return a lines

Hello

I find that the Executequery code does not return everything.

{

pageContext.writeDiagnostics (this, "connection entry-front connection", 1);

Connection Conn = pageContext.getApplicationModule (webBean) .getOADBTransaction () .getJdbcConnection ();

pageContext.writeDiagnostics (this, "connection entered" & conn, 1);

pageContext.writeDiagnostics (this, "input connection [AJ]" & conn, 4);

Dim Query = "select CODE a.secondary_uom_code, (select b.unit_of_measure from MTL_UNITS_OF_MEASURE b where b.uom_code = a.secondary_uom_code) GLU, xxtmxc_primary_selling_suom (: 3, a.inventory_item_id) ' PSUOM from mtl_system_items_b where a.inventory_item_id =: 1 and a.organization_id =: 2 and a.secondary_uom_code is not null ';"

'UNION select 'OUR' CODE, UOM 'Number', 10 double PSUOM;

String query = "" select secondary_uom_code CODE of mtl_system_items_b where inventory_item_id =: 1 and organization_id =: 2 and secondary_uom_code is not null '; "

pageContext.writeDiagnostics (this, ' [AJ] after the query string", 4");

pageContext.writeDiagnostics (this, "message query" + Query, 1);

PreparedStatement stmt = conn.prepareStatement (Query);

pageContext.writeDiagnostics (this, "prepared statement Post" + stmt, 1);

stmt.setString(1,Item);  ver1

stmt.setString(2,Org);  ver1

stmt.setInt (3, Dis.intValue ());

stmt.setString(3,Dis);

stmt.setInt (3, Ext.intValue ());

stmt.setString (3, Ext); ver1

pageContext.writeDiagnostics (this, "Post Ext after SetString" + Ext, 1);

ResultSet resultset = stmt.executeQuery ();

pageContext.writeDiagnostics (this, "Resultset" + resultset, 1);

If (resultset.next ())

for (ResultSet resultset = stmt.executeQuery ();)

ResultSet.Next ();)

While (resultset.next ())

{

String code = resultset.getString ('CODE');

String uom = resultset.getString ("UOM");

String psuom = resultset.getString ("PSUOM");

row.setAttribute ("UomCode", code);

row.setAttribute ("UnitOfMeasure", GLU);

row.setAttribute ("LineAdjustedPercent", psuom);

pageContext.writeDiagnostics (this, "secondary UOM" + resultset.getString ('CODE') + resultset.getString ("UOM") + resultset.getString ("PSUOM"), 1);

pageContext.writeDiagnostics (this, "secondary UOM" + row.getAttribute ("UomCode") + row.getAttribute ("UnitOfMeasure"), 1);

pageContext.writeDiagnostics (this, "LineAdjustedPercent" + row.getAttribute ("LineAdjustedPercent") + "PSUOM" + resultset.getString ("PSUOM"), 1);

}

ResultSet.Close ();

stmt. Close();

}

catch (SQLException sqle)

{

throw new OAException ("error in query Preparation" + sqle, OAException.INFORMATION);

}

pageContext.writeDiagnostics (this, ' [AJ] after try-catch: ", 4");

}

}

}

}

Hi Bobo,

I tried the same requirement in my local instance and changed the code for you.

Please check process requires working Code of the form below:

' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
{
OAViewObject QuoteLinesLevel70VO1Obj1 = (OAViewObject) pageContext.getApplicationModule (webBean) .findViewObject ("QuoteLinesLevel70VO1Obj");
if(QuoteLinesLevel70VO1Obj1!=null)
{
If (QuoteLinesLevel70VO1Obj1.GetCurrentRow ()! = null)
pageContext.writeDiagnostics (this, "Current Row" + QuoteLinesLevel70VO1Obj1.getCurrentRow () .getAttribute ("UomCode"), 1);
}
           
pageContext.writeDiagnostics (, "concluded Save Button", OAFwkConstants.STATEMENT);
If ("Event.Go".equals (pageContext.getParameter (OAWebBeanConstants.EVENT_PARAM)))
{
OAViewObject QuoteLinesLevel70VO1Obj = (OAViewObject) pageContext.getApplicationModule (webBean) .findViewObject ("QuoteLinesLevel70VO1Obj");
if(QuoteLinesLevel70VO1Obj!=null)
{
pageContext.writeDiagnostics (thie, 'enter in Count' + QuoteLinesLevel70VO1Obj.getFetchedRowCount (), 1);
int count = QuoteLinesLevel70VO1Obj.getFetchedRowCount ();
RowSetIterator Iter = QuoteLinesLevel70VO1Obj.createRowSetIterator ("Iter");
{if(Count>0)}
Iter.setRangeStart (0);
Iter.setRangeSize (count);
for (int i = 0; i)<>
{
OAViewRowImpl row = (OAViewRowImpl) Iter.getRowAtRangeIndex (i);
If (row.getAttribute ("InventoryItemId")! = null & row.getAttribute ("OrganizationId")! = null)
{
String Item = row.getAttribute("InventoryItemId").toString ();
String Org = row.getAttribute("OrganizationId").toString ();
Number say = (Number) row.getAttribute ("LineAdjustedPercent"); LineAdjustedPercent
Dim Ext = (String) row.getAttribute ("Attribute1");
                          
                           int item1 is Integer.valueOf (Item) .intValue ();.   Converted entire string
int Org1 is Integer.valueOf (Org) .intValue ();.     Converted entire string
Try
{
pageContext.writeDiagnostics (this, "connection entry-front connection", 1);
Connection Conn = pageContext.getApplicationModule (webBean) .getOADBTransaction () .getJdbcConnection ();
pageContext.writeDiagnostics (this, "connection entered" & conn, 1);
pageContext.writeDiagnostics (this, "input connection [AJ]" & conn, 4);
String query = "select xxtmxc_primary_selling_suom(:1,a.inventory_item_id) PSUOM from mtl_system_items_b where a.inventory_item_id =: 2 and a.organization_id =: 3"; Index link //Changed
pageContext.writeDiagnostics (this, ' [AJ] after the query string", 4");
pageContext.writeDiagnostics (this, "message query" + Query, 1);
PreparedStatement stmt = conn.prepareStatement (Query);
pageContext.writeDiagnostics (this, "prepared statement Post" + stmt, 1);
                                Item1 is Integer.valueOf (Item) .intValue ();. Converted entire string
ORG1 = Integer.valueOf (Org) .intValue ();  Converted entire string
pageContext.writeDiagnostics (this, "Param1 all" + item1, 1);
pageContext.writeDiagnostics (this, "Param2 all" + Org1, 1);
pageContext.writeDiagnostics (this, "Param3 all" + Ext, 1);
stmt.setString(1,Ext);
stmt.setInt(2,item1);  ver1
stmt.setInt(3,Org1);  ver1
pageContext.writeDiagnostics (this, "Post Ext after SetString" + Ext, 1);
                                
for (ResultSet resultset = stmt.executeQuery (); resultset.next ();)  //Used for loop in Resultset
{
                                   
String psuom = resultset.getString ("PSUOM");
pageContext.writeDiagnostics (this, "[AJ] z:" + psuom, 4 "); //Here we got the value of the function
pageContext.writeDiagnostics (this, "m [AJ]:" + Ext, 4);
                                    
}
                                
stmt. Close();
}
catch (SQLException sqle)
{
pageContext.writeDiagnostics (this, ' [AJ] with the Exception: "+ sqle.getMessage (), 4");
throw new OAException ("error in query Preparation" + sqle, OAException.INFORMATION);
}
pageContext.writeDiagnostics (this, ' [AJ] after try-catch: ", 4");
}
                          
}
}
                 
      
}
         
super.processFormRequest (pageContext, webBean);
}
}

Thank you

Dilip

Tags: Oracle Applications

Similar Questions

  • Payroll Run query does not appear on the payroll LOV

    Hi all

    Am on 12.1.3
    DB - 11 GR 1 material

    Wen, trying to run on PAYROLL:
    FACE below error:
    Payroll Run query does not appear on the payroll LOV


    Thank you

    Please post the exact name of the simultaneous program you want to submit as well as all the parameters.

    I understand that you get an error when you try to select the LOV to pass parameters, right?

    If the program has not yet been presented, then it is an expected behavior not to find any file of log/output.

    Please see if these MOS Docs Help.

    Simultaneous request for payroll, payroll name Lov for payroll run Erros: APP-FND-1436: the list of values can not find all the values for you to choose [333524.1 ID]
    Payroll run parameter list of values (LOV) in the process "Retry Payroll Run" does not display any values [1368390.1 ID]

    Thank you
    Hussein

  • Query does not return number of records

    Hi guys,.

    Is someone can you please tell me why this query will not retrieve the correct number of records.
    I have a table with six users

    FIRST NAME LAST NAME
    David Robert
    Martin sinner
    Henry Robert King
    Edmund Tomkinson
    Robert Hayes Williams
    Tina Belkins

    When I run a query, SELECT * of USERS WHERE LAST_NAME LIKE "Robert."
    I get only 1 card back (David Robert). Is the space between the family name
    the cause? If so, how can I rewite the query?

    '%', Missing perhaps before and after the search string depending on what you want to find.

    SELECT * FROM USERS WHERE LAST_NAME LIKE '%Robert%';
    
  • sys_context procedure does not return an ip address

    Hello


    DB 11 GR 1 material

    What would be the reason for which this query does not return an IPAddress?

    Select sys_context ('userenv', 'IPAddress') of double;

    Thank you

    What would be the reason for which this query does not return an IPAddress?

    USERENV does not know what the IP # is.

    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> select sys_context('userenv', 'ip_address') from dual;
    
    SYS_CONTEXT('USERENV','IP_ADDRESS')
    --------------------------------------------------------------------------------
    

    Maybe it's because you are connected locally & not via SQL * Net

    Published by: sb92075 on October 27, 2010 12:53

  • query does not run strange

    For some strange reason, the following query 1 runs but the 2nd query does not run...
    observe the slight difference for local conditions and quotes from final for her... in the first query the final citation is in the second line.
    I bring as query 2 but she sends me results I also tried ltrim (rtrim (local) = "en_US", it does not help
    What is the problem here?


    Query 1
    --------
    SELECT *.
    Of ats_rules_bkp
    Subclass WHERE = "payments".
    CATEGORY = "qsg.
    AND clazz = 'help '.
    AND right = "ach".
    AND country = 'India '.
    AND region = "South".
    AND market_segment = "primary".
    AND local = "en_US
    '
    AND status = 'Active '.

    ---------------------------------------------
    Query 2

    SELECT *.
    Of ats_rules_bkp
    Subclass WHERE = "payments".
    CATEGORY = "qsg.
    AND clazz = 'help '.
    AND right = "ach".
    AND country = 'India '.
    AND region = "South".
    AND market_segment = "primary".
    AND local = "en_US."
    AND status = 'Active '.

    As I expected, you have a carriage return in your data. the LOCAL column is not store the string "fr_FR." It has an extra carriage return (character ASCII 10) data. You can modify the query to add the character CHR (10)

    local = 'en_us' || CHR(10)
    

    but it is probably more sensible to fix the underlying data, if this is in fact to store the string "fr_FR."

    Justin

  • ctxrule - match does not return a result

    v.11.1.07 - I created a ctxrule index as described below. However, although a query must match on the given document, it does not return. Any ideas?
    begin
    ctx_ddl.create_preference('ot_lexer', 'basic_lexer');
    ctx_ddl.set_attribute('ot_lexer', 'index_stems', 'ENGLOSH');
    end;
     
    begin
    ctx_ddl.create_section_group('ot_sec_group', 'auto_section_group');
    end;
     
    create table ot_profile_test
    (profile_id number,
    query clob);
     
    create index ot_profile_rule_ndx on ot_profile_test(query)
    indextype is ctxsys.ctxrule parameters
    ('stoplist ctxsys.empty_stoplist
    section group ot_sec_group
    lexer ot_lexer');
     
    insert into ot_profile_test values(1, '($apple and $pear) and (1 within food)');
    commit;
     
    exec ctxsys.ctx_adm.set_parameter('log_directory', '/yourdir');
    exec ctx_output.start_log('ot');
    exec ctx_output.add_event(ctx_output.event_index_print_rowid);
    exec ctx_output.add_event(ctx_output.event_index_print_token);
    exec ctx_ddl.sync_index('ot_profile_rule_ndx', '2040M', null, 1, null, ctx_ddl.lock_nowait_error);
    exec ctx_output.end_log;
    Then, run a query:
    declare
    a clob := 'apple orange pears banana
    <metadata>
     <indicators>
       <food>1</food>
     </indicators>
    </metadata>
    ';
    vn_profile_id number;
     
    begin
     
    select profile_id into vn_profile_id
    from ot_profile_test
    where matches(query, a) > 0;
     
    dbms_output.put_line(vn_profile_id);
     
    end;
     
    ERROR at line 1:
    ORA-01403: no data found
    ORA-06512: at line 8
    Profile_id = 1 should not be returned?


    In addition, the log file should not have 2 lines written in $I?
    WRITING APPLE: ((PEAR) TOKEN = (PEARS)) * ((1) IN FOOD), 0
    WRITING APPLES: ((PEAR) TOKEN = (PEARS)) * ((1) IN FOOD), 0

    As noted earlier, you must use a list of words, not a lexer to control, like the two conflicts between them. All what you need to do is remove the following line from your code:

    ctx_ddl.set_attribute ('ot_lexer', 'index_stems', 'ENGLISH');

    You can still have a lexer with other attributes; Just do not set the attribute index_stems to the lexer. Set the attribute generator of forms derived from the list of words only.

  • PC Windows 7 does not return the document or the printed page

    I had a setting for this in XP control but can't find the page, that I got it.

    This occurs in AN application, or a browser.  I print from a workbook Excel specific, for example, when I have a number of them opens.  The system does not return the workbook that I printed.  It's maddening and causes all sorts of questions.  Searching the Web for this instant product nothing and I know I can't be the only person who saw this.

    It is a platform of Windows 7 in a commercial network environment.  I use the snap Menu Addintools classic because I can't stand the Ribbon and never loved.  In Windows 7, I run a couple of other supplements that restore the XP the taskbar properly use, so you can work efficiently.

    None of the supplements are causing this problem because I was running the same classic Menu Add-in in the XP box and he had the same problem until I found workaround that I don't remember now.

    Everyone knows about this problem?

    Jeff Lynch

    Hello Jeff,.

    Please contact the Microsoft community.

    As the Windows 7 computer is under the corporate network environment, the issue that you are facing is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public.

    Please post your question in the TechNet Forum.

    https://social.technet.Microsoft.com/forums/Windows/en-us/home?category=w7itpro&filter=AllTypes&sort=lastpostdesc

    Hope the information above has been a useful answer, Mercia back to us if you respect them more.

  • Network type changes 'Public' and does not return to work when the default gateway is detected

    Original title: Type of network not restored on ethernet cable reconnect.

    I have a Dell Precision R5500 running Windows 7 Professional Service Pack 1. It is connected to a network that is stored as a type of 'work '. When the ethernet cable is removed and replaced network type changes to 'Public' and does not return to work when the default gateway is detected. I also have a Toshiba Tecra M10 running Window 7 Professional Service Pack 1 that initially detects the network restored as 'Public', but 'Work' once again Exchange is a connection to the default gateway. Is there a setting somewhere in the strength of the network to double check its type periodically?

    Hello

    You have any other network assets wireless (specifically) running on the computer?

    Have another active network connection could also cause this.

    Allows us to follow the methods mentioned below and see if they help.

    Method 1: Run the network troubleshooter.

    When the network type gets changed to 'Public' after the cable is disconnected and reconnected. The troubleshooter should let you know if there are errors with the associated services.

    See the following article:

    Using the troubleshooter from network in Windows 7:

    http://Windows.Microsoft.com/en-us/Windows7/using-the-network-troubleshooter-in-Windows-7


    Method 2:
    check if network discovery and file sharing options are enabled in the network and sharing Center.

    See the following steps:

    a. click on start toreduce this top, type network and sharing Center in the Start Search box, and then click network and sharing Center in the programs list.

    b. If network discovery is off, click the arrow to expand the section, click turn on network discoveryand then click apply.

    Reduce this includes this imIf that you are prompted for an administrator password or for confirmation, type your password or click continue.

    c. If file sharing is off, click the arrow to expand the section, click turn on file sharingand then click apply.

    Collapse this includes this ima

    If you are prompted for an administrator password or for confirmation, type your password, or click continue.


    Method 3: Uninstall the network drivers and then install the last set of drivers on the manufacturer's Web site and check the issue.

    See the following steps:

    (a) click Start, right click on computer.

    (b) click on properties, click on Device Manager

    (c) expand the network adapter, right click on the adapter option

    (d) click on uninstall

    (e) now go to your computer / site Web of the manufacturer of the device, download the updated drivers and install them.

    Reference:

    Updated a hardware driver that is not working properly:

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

  • Hello I use adobe reader in android mobile and do not run correctly does not touch NOT open turns on the edge of the cell phone android. The importance of the issue is 5.6. what I can do... ??

    Hello I use adobe reader in android mobile and do not run correctly does not touch NOT open turns on the edge of the cell phone android. The importance of the issue is 5.6. what I can do... ??

    [TWO double message deleteds... post the same question more than once is confusing... MOD]

    [This is an open forum, not a direct line to Adobe support... you have to wait a response]

    Thank you for your information, but the last update was solved the

    problem... Thank you...!!!

  • When I return from the page of google search for a link then button does not return return

    When I return from the page of google search for a link, then button does not return back. Instead, the same page refills. I need to go back click back button twice or even more. How to fix? I cheked it it another browser and there is no such behavior. It seems completele Firefox problem.

    the problem was resolved after remooving extenshion «user agent overrider»

  • can not be run Zoo Tycoon, when the running game does not appear anything, help me! my computer is Win7

    original title: subject zootycoon
    my computer can not be run Zoo Tycoon, when the running game does not appear anything, help me! my computer is Win7

    Hello

    1. what version of Zoo tycoon you play?

    2. is it works much earlier?

    I suggest to run the game as administrator and check.

    I suggest you to follow the steps from the links and check out.

    Improve the performance of your computer game

    http://support.Microsoft.com/kb/815069

    The problems of the game performance

    http://Windows.Microsoft.com/en-us/Windows7/fixing-game-performance-problems

  • HP 640 c: HP640c cartridge does not return to its original position and the printer will be no print anything

    Printer cartridge does not return to its original position on the right side of the printer after the top cover is opened, with the resume light continues to Flash.

    After restarting the printer, the cartridge moves to the right, but not all the way and remained there when the printer is off.

    The printer will not print anything.

    How can I get the cartridge is positioned correctly?

    Solved the problem... it's a defective color print cartridge, which was the carrage Act strangely.

  • Screen turns black and does not return. One stop forced

    When I leave my computer for a while, the screen turns black and does not return when I press 'enter', or any other key.  I do a forced shutdown (turn off with the power button).  Can I get, and the "incorrect closing" message when I turn on computer. I think that it is a problem of Hibernate.  Any ideas?.
    MMM

    Original title: hibernation problem?

    What happens if you press Ctrl + SHIFT + ESC when you want to get out of hibernation?

    You use a wireless keyboard and mouse with a transponder. What happens if you press the button on the transponder?

  • PC runs, but does not start. Monitor, keyboard and mouse with no signal.

    PC runs, but does not start. Monitor, keyboard and mouse with no signal. Pretty much. And when you want me to remove the battery of the bios, or whatever, it seems tight and hard to get out because it is surrounded by other elements.

    All fans work, the power/battery or anything that works I think that, since there is a fan on the right where it is and it seems to work. I remember what happens before, I don't know, but before that, there are many gels. This error below was made before all this happened, but I managed to run f8 and then run normally until it freezes again. Then, after that, it runs but does not start. No beeps etc. The best fans will have plenty of vouches and Bravo to wherever you like me to vouch or maybe send the great service that you provide to administrators if that's even possible, haha.

    Thanks in advance.

    "

    The file is possibly corrupted. The file header checksum does not match the checksum calculated. »

    It is a sign of a lack of food.  Looks like you have a desktop computer?

    Power supplies run about $50.  It is a rectangular box at the corner of the system in which the power supply will from the outside.  It's a pretty standard form in most of the PC and with a little investigation thorough replacements can be found.

    It is usually held in place by 4 screws and can be held in place with a spring clip.

    Most essential, is that you need to buy a replacement with the right number of straight plug forms to adapt to your PC.

    This seems more complicated than it really is and takes about 5 to 10 minutes to do the replacement.

    Look at the power output of the power supply failure and buy a new, more powerful.  New desktop PC usually come usually with a diet under size and what are the causes these failures is too strong a request for devices you have connected.  So, buy one with a higher power rating.  Usually about 500 Watts does the trick.

    If you do not feel upwards to this task, a technician should not charge you much like this.

  • Oracle query of relay and access function call does not return the list

    Thanks to aid in a previous post, I received, I created an oracle 10 g feature that returns the list after you run the sql code it contains. It works in oracle, using sql developer.

    I need to have the list that he returned to see the place in MS Access via a relay request. It does not work so far. The string for connection etc is ok, I'm able to use passthrough queries to run sql strings correctly. But when I try to call the function through the request of relay and access initially nothing seems to happen (IE no list) and if I try to run again, there is an "ongoing call odbc error. Current operation cancelled "." There are only three records in the table. I'm missing something, someone can he spot?

    The application of relay and looks like this

    Select * from fn_testvalues of the double

    Once that is running in oracle.

    To create the test table and 2 functions below.

    CREATE TABLE t_values (MyValue varchar2 (10));

    Table created
    INSERT INTO t_values)
    SELECT 'Merced' c1 FROM dual UNION ALL
    SELECT "Pixie" dual UNION ALL
    SELECT "452" DOUBLE);

    3 lines inserted
    FUNCTION to CREATE or REPLACE RETURN NUMBER IS fn_isnum(p_val VARCHAR2)
    n_val NUMBER;
    BEGIN
    n_val: = to_number (p_val);
    RETURN 1;
    EXCEPTION
    WHILE OTHERS THEN
    RETURN 0;
    END;
    /

    Feature created

    table test:
    SELECT val, isnum fn_isnum (MyValue)
    OF t_values;

    VAL ISNUM
    ---------- ----------
    Merced 0
    Pixie 0
    1 452

    Now the function that is called in the application of relay:

    create or replace function fn_testvalues
    sys_refcursor is back
    RC sys_refcursor;
    Start
    Open rc for
    Select t_values.*, fn_isnum (MyValue) t_values IsNum;
    Return (RC);

    end fn_testvalues;

    Why not?

    satyaki>
    satyaki>select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>
    satyaki>create or replace view bb
      2  as
      3    select *
      4    from emp;
    
    View created.
    
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>
    satyaki>select * from bb;
    
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO JOB1      DOB
    ---------- ---------- --------- ---------- --------- ---------- ---------- ---------- --------- ----
          7521 WARD       SALESMAN        7698 22-FEB-81     226.88        500         30 SALESMAN
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1815       1400         30 SALESMAN
          7788 SCOTT      ANALYST         7566 19-APR-87     598.95                    20 ANALYST
          7839 KING       PRESIDENT            17-NOV-81       7260                    10 PRESIDENT
          7844 TURNER     SALESMAN        7698 08-SEP-81       2178          0         30 SALESMAN
          7876 ADAMS      CLERK           7788 23-MAY-87     159.72                    20 CLERK
          7900 JAMES      CLERK           7698 03-DEC-81     1379.4                    30 CLERK
          7902 FORD       ANALYST         7566 03-DEC-81    5270.76                    20 ANALYST
          7934 MILLER     CLERK           7782 23-JAN-82     1887.6                    10 CLERK
          7566 Smith      Manager         7839 23-JAN-82       1848          0         10 Manager   23-JAN-89
          7698 Glen       Manager         7839 23-JAN-82       1848          0         10 Manager   23-JAN-89
    
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO JOB1      DOB
    ---------- ---------- --------- ---------- --------- ---------- ---------- ---------- --------- ----
             1 boock
    
    12 rows selected.
    
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>
    satyaki>select *
      2  from bb
      3  where empno = &eno;
    Enter value for eno: 7521
    old   3: where empno = &eno
    new   3: where empno = 7521
    
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO JOB1      DOB
    ---------- ---------- --------- ---------- --------- ---------- ---------- ---------- --------- ----
          7521 WARD       SALESMAN        7698 22-FEB-81     226.88        500         30 SALESMAN
    
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>
    

    Kind regards.

    LOULOU.

Maybe you are looking for