Fetching row affected by a query

Hi =)
I've my execQuery method here that returns a ResultSet of results.
I would like to know the rows returned, but I cannot find a count, lenght or size method in the ResultSet class.
�Hoy can i count the number of Rows affected by a query?
public ResultSet execQuery(String consulta)
         * Variables locales
        ResultSet coleccion = null;
        Statement stmt;
         * Creamos statement y ejecutamos consulta
        try {
             stmt = conn.createStatement();
             coleccion = stmt.executeQuery(consulta);
        catch(SQLException ex)
                this.setError(ex.toString());
                return null;
        // Devolvemos filas afectadas
        return coleccion;
   }Thx!

simple answer:
   stmt = conn.createStatement(ResultSet.TYPE_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
   coleccion = stmt.executeQuery(consulta);
   coleccion.last();
   int rowCount = coleccion.getRow();note:
1. Returning a result set is not a good idea.
2. Why you need to know rows number here. i think its useless
Message was edited by:
j_shadinata

Similar Messages

  • How to get row number in the fetch row itself in Sql Query ?

    Hi,
    i am fetching some rows from a sql query . Is there any way to get row number as well in each row while all rows are fetched ?
    like this :
    RowNum data1 data2
    1 abc ere
    2 bnh ioi

    Hello
    Ofcourse you can get the rownum inside a query, just keep in mind that the rownum is the number of order in which the records were fetched from the table, so if you do an order by, the rownum will not be sequential, unless you query the information in a subquery first.
    SELECT rown, col1, col1
    FROM table
    Or
    SELECT rownum, col1, col2
    FROM (SELECT col_1, col_2 FROM table ORDER BY col1)
    Regards
    Johan

  • Need to retrieve number of rows affected by SQL query

    Hi,
    I am executing some update queries in SQL in a xMII transaction. Iam using a SQL Query template for the same and I need to find out how many records were affected by the last executed statement. I have tried doing SELECT @@ROWCOUNT in a second SQL template that executes after the UPDATE SQL Query Template. However, the results are intermittent, sometimes it returns 1 row affected as expected but sometimes returns 0 rows. Can anyone help on this.
    Thanks

    Anamika,
    1) As per sql best practices use of trigger is not recommend unless you don't have any other option because usually triggers consume more resources and IO since it involves internal monitoring.
    2) @@ROWCOUNT should go in same SQL session where you are performing update to identify rows affected else as you said earlier your results will not be accurate
    3) The other alternative is to create a Stored Procedure but it again boils down to your authorization issue. This would be easier and better if you have authorization to create SP's. But nevertheless give it a try.
    4) Lets forget about SP say that you have an Update Statement like
    Update Table1 set column2 = 'abc' where Column2 = 'xyz'
    In this case it is evident that you know what you are passing into the Where clause and to what table hence its obvious that you also know how many rows will be affected by using query,
    Select count(*) from Table1 where Column2 = 'abc'
    The @@ROWCOUNT is powerful within t-sql with SP, cursors etc..
    Hope this helps!!
    Regards,
    Adarsh

  • Best way to find the count of rows affected by a query

    Hi All,
    Is there a way to find the row count without actually executing the SQL statement? The count need not be accurate but it should be within acceptable limits. I know we can use 'explain plan' for this. But the value in plan_table.cardinality is way out of the actual expected count.
    We would appreciate any pointers and/or suggestions.
    Thanks
    Edited by: user779842 on May 4, 2011 2:21 AM

    maybe you can try this
    How to get estimated number of rows of query without running actual query :
    CREATE OR REPLACE FUNCTION get_rows_number (sql_select VARCHAR2, sql_id VARCHAR2) RETURN NUMBER AS
    rows_number NUMBER;
    BEGIN
    EXECUTE IMMEDIATE
    ‘EXPLAIN PLAN SET STATEMENT_ID = ‘||CHR(39) || sql_id || CHR(39)||’ FOR ‘ || sql_select;
    SELECT t.cardinality
    INTO rows_number
    FROM plan_table T
    WHERE statement_id = sql_id AND ID = 0;
    RETURN rows_number;
    END;hope it helps!

  • Get the number of rows affected by update statement

    Hi
    I'm working on an application that uses OCI as interface against an Oracle database.
    I'm trying to find out how i can get the number of rows affected by a query executed with OCIStmtExecute. it is not a select query.
    Best regards,
    Benny Tordrup

    If I run a bulk UPDATE query using OCIBindArrayOfStruct, is there a way I can tell which+ rows successfully updated?
    I have a file of records of which 75% of PKs are already in the table and will be updated, the other 25% aren't and should be inserted later. I want to attempt an UPDATE statement using OCIBindArrayOfStruct to execute in bulk and then check which entries in my bulk array successfully updated. If an array entry isn't successfully updated then I will assume it should be inserted and will store it for a Direct Path load later.
    Many thanks for any advice you can give as I've been trawling through the docs trying to find a solution for ages now.

  • How to count no of rows affected by a ref cursor ?

    Hi,
    I have taken a ref cursor inside the function since I want to return resultset to the calling application. I also need the NO. OF ROWS AFFECTED by the ref cursor. When I used refcur%rowcount, it returned me 0. Whereas actual no. of rows inside the table is 11.
    As a workaround I created a integer variable v_rcount and again executed the cursor's query using count() to store the no. of rows affected by the cursor query. See definition 1 and 2 :
    How can I get no. of rows affected by the ref cursor without taking additional variable ??? Any other means available ???
    DEFINITION ONE:
    create or replace function f_ref()
    RETURN curpkg.ref_cursor as
    stock_cursor curpkg.ref_cursor;
    v_rcount INTEGER;
    BEGIN
    OPEN stock_cursor FOR SELECT * FROM FIRSTTABLE;
    select count(*) into v_rcount from firsttable;
    dbms_output.put_line('['|| v_rcount||']');
    RETURN stock_cursor;
    END;
    OUTPUT:
    [11]
    DEFINITION TWO:
    create or replace function f_ref()
    RETURN curpkg.ref_cursor as
    stock_cursor curpkg.ref_cursor;
    v_rcount INTEGER;
    BEGIN
    OPEN stock_cursor FOR SELECT * FROM FIRSTTABLE;
    v_rcount := stock_cursor%rowcount;
    dbms_output.put_line('['|| v_rcount||']');
    RETURN stock_cursor;
    END;
    OUTPUT:
    [0]

    michaels>  DECLARE
       emp_row   emp%ROWTYPE;
       cur       sys_refcursor;
       FUNCTION f_ref
          RETURN sys_refcursor
       AS
          stock_cursor   sys_refcursor;
       BEGIN
          OPEN stock_cursor FOR
             SELECT *
               FROM emp;
          RETURN stock_cursor;
       END f_ref;
    BEGIN
       cur := f_ref;
       LOOP
          FETCH cur
           INTO emp_row;
          EXIT WHEN cur%NOTFOUND;
       END LOOP;
       DBMS_OUTPUT.put_line ('Fetched rows: ' || cur%ROWCOUNT);
       CLOSE cur;
    END;
    Fetched rows: 14

  • Counting rows in a mysql query

    Hey
    How do i count the rows in a mysql query?
    I have tried to make a while loop (as you can see in the code), but if i make this while loop i cant use the same query to get the database data.
    Doesnt java have a function that counts the rows?
    public DefaultTableModel searchCategory(String searchString){
            String returnString = "";
            try{
                RS = connection.executeQuery("SELECT name, price, products_type_id FROM katrinelund_products WHERE products_type_id = (SELECT products_type_id FROM katrinelund_products_type WHERE name LIKE '%"+searchString+"%')");
                int rowCount = 0;
                while(RS.next()){
                    rowCount++;
                String[] columnNames = {"Navn", "Pris", "Produkt type"};
                Object[][] data = new Object[rowCount][columnNames.length];
                int i=0;
                while(RS.next()){
                    data[0] = RS.getString(1);
    data[i][1] = RS.getString(2);
    data[i][2] = RS.getString(3);
    i++;
    table = new DefaultTableModel(data, columnNames);
    catch(SQLException E){
    System.out.println("Der skete en fejl" + E.getMessage());
    return table;
    }NOTE: the connection to the database is stored in the connection variable.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    yawmark wrote:
    The SELECT COUNT(*) cannot be fetched among other data, so in this case you must send two queries. Then there is much simplier to use the method I mentioned above.While it may be "simpler", it's not supported in a non-trivial number of drivers. So there are a number of situations in which your "simple" solution will not work. I assume you've been fortunate enough to work only with drivers that do support the functionality you recommend, but I can also only assume that you haven't had much experience beyond that.I apologize for my spelling errors. I'm not a native englishman.
    yawmark wrote:
    Knowing the amount of rows a resultset returns can be interesting if you're making some kind of search engine. Knowing the amount of data returned for a particular query can certainly be useful, and we've presented some reasonable means of obtaining that kind of information that don't rely on potentially unsupported features.
    I don't now about unsupported features. The ResultSet is (as far as I know) not tied to a specific SQL database. This, and all of it's methods is in the java.sql.ResultSet interface. Then all classes implementing this must have these methods. Am I not right?
    yawmark wrote:
    Stop dealing with however it's necessary or not.Sorry, partner, but you don't get to decide what I post here.
    This guy wants this problem to be solved, so apparentley he has a usage for it...And what you're apparently failing notice is that there are other solutions (better, in many cases) than the solution which you posted. Don't make the mistake of thinking your suggestion is golden. It isn't. Besides, there are no shortage of beginners that want the "problem" of i = i++ to be "solved"; no doubt they think they have an apparent usage for it, too. ~I'm well aware of that you decide on your own what to post. I just don't see how it is necessary to discuss the matter of necessity in this case. The problem still remains.
    I don't want any fuss here. I'm just so sick of everyone who yells "you don't need to know that". I haven't decried any of the other solutions (at least it wasn't my point), all I said was that it's not a good idea to send multiple queries to the database when you already have the answer three rows of code away. In some rare situations, the data may have been changed during the short period of time as the database is finished with the first query before you send the next one.

  • VO CONTAINS ALL THE DB ROWS AUTOMATICALLY WITHOUT ANY QUERY EXECUTION

    HI ALL,
    I am getting a strange issue. I have two VO say UserVO and PasswordVO.
    When i run the application i am not using any BC component in HomePg. I click on login and through another read only VO i am authenticating.
    After authentication i am doing getUserVO() and in WATCH i can see fetched row count and row count showing all the rows from DB. This View Object has not been executed before and still it shows all the rows.
    Now when i apply a view criteria into it and execute the query still it contains all the rows. Its not filtering it.
    Also, i have overridden executeQuery and executeQueryForCollection methods and i have put debug points there.
    It comes there only when i am explicitly executing the query after applying view criteria.
    Please let me know if i am doing something wrong.
    Thanks,
    Deepak

    Thanks Timo for a quick reply.
    a) I am using JDEV 11G Release 1 (11.1.1.6.0)
    b) Also i am specify the following two parameters in java options and still logs are not coming up in console:
    -Djbo.debugoutput=console -Djps.app.credential.overwrite.allowed=true
    c) "The framework executes vo in the background using the default query."
    Does that mean framework doesn`t internally call executeQuery to get rows from DB and executes the query some other way.
    As i have break point and its not coming there at all.
    Please advise.
    Thanks,
    Deepak

  • Fetch Row process error in form called from report

    I have an interactive report that calls a form (when user hits the edit link on a row). The form is using a fetch row process (Automatic Row Processing). The problem I have is if a user tries to hit the edit link on a row that was already deleted, I get the 'No Data Found' error. I got around it by adding a condition (exists) to the fetch row process, but that just retirns a blank recor din the form. I wanted to either make a nice error (with a validation) etc. Anybody run into this?

    Bob,
    The easiest thing to do would be to have the page with the interactive report submit the page and you could use a validation on that page to run the check before redirecting the user to the form with a branch. To do this, however, as the interactive report only has "link" options, you'll need to use a little javascript in the query...
    Example:
    SELECT id,
    '<span onclick="doSubmit(''' || id || ''')">Edit</span>' AS edit
    FROM TABLERegards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    Edited by: dmcghan on Dec 18, 2008 3:02 PM

  • Script output missing rows affected

    Hi,
    I'm not sure when it happened, but I notice that the script output no longer tells you how many rows have been affected by DML.
    eg,
    in sqlplus, if I do
    "> delete from xx;"
    it tells me.
    "3 rows deleted."
    but in sql developer all I get is
    "delete from xx succeeded."
    Is there any way to get sqldeveloper to tell me how many rows have been affected if I "Run Script"? Haven't it output the number of rows affected is a great "double check" that my query did what I expected, having it just say "succeeded" just tells me that it did something..

    Hi,
    I can now fix and reproduce this.
    This morning I downloaded the latest MacOS version which reports as "MAIN-32.13" (same as the old one I was running). And what do you know, it correctly says the number of rows inserted/deleted/updated (I did not trash my prefs folders)
    So, I diffed the two application directories, with the following differences.
    laguna:Downloads $ diff -r SQLDeveloper.app/ /Applications/SQLDeveloper.app/
    Only in /Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/patches: timesten_support.jar
    Binary files SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/doc/sqldeveloper_help.jar and /Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/doc/sqldeveloper_help.jar differ
    Only in /Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/doc: sqldeveloper_help.jar.backup
    Only in /Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/extensions: oracle.sqldeveloper.timesten.jar
    Only in /Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper: timesten_readme.html
    laguna:Downloads $
    I then tried check for updates, and it picked up timesten extension, which I installed.
    On the first restart after updates, I get the following error.
    java.lang.IllegalAccessError: tried to access class oracle.ide.net.IdeURLStreamHandler from class oracle.ide.net.URLFileSystem$1
         at oracle.ide.net.URLFileSystem$1.createURLStreamHandler(URLFileSystem.java:87)
         at oracle.ide.boot.URLStreamHandlerFactoryQueue.createURLStreamHandler(URLStreamHandlerFactoryQueue.java:119)
         at java.net.URL.getURLStreamHandler(URL.java:1104)
         at java.net.URL.<init>(URL.java:393)
         at java.net.URL.<init>(URL.java:283)
         at oracle.ide.net.URLFactory.newURL(URLFactory.java:636)
         at oracle.ide.layout.URL2String.toURL(URL2String.java:104)
         at oracle.ideimpl.editor.EditorUtil.getURL(EditorUtil.java:150)
         at oracle.ideimpl.editor.EditorUtil.getNode(EditorUtil.java:122)
         at oracle.ideimpl.editor.EditorUtil.loadContext(EditorUtil.java:91)
         at oracle.ideimpl.editor.TabGroupState.loadStateInfo(TabGroupState.java:950)
         at oracle.ideimpl.editor.TabGroup.loadLayout(TabGroup.java:1751)
         at oracle.ideimpl.editor.TabGroupXMLLayoutPersistence.loadComponent(TabGroupXMLLayoutPersistence.java:31)
         at oracle.ideimpl.controls.dockLayout.DockLayoutInfoLeaf.loadLayout(DockLayoutInfoLeaf.java:123)
         at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:631)
         at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:628)
         at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:614)
         at oracle.ideimpl.controls.dockLayout.DockLayout.loadLayout(DockLayout.java:302)
         at oracle.ideimpl.controls.dockLayout.DockLayoutPanel.loadLayout(DockLayoutPanel.java:128)
         at oracle.ideimpl.editor.Desktop.loadLayout(Desktop.java:356)
         at oracle.ideimpl.editor.EditorManagerImpl.init(EditorManagerImpl.java:1879)
         at oracle.ide.layout.Layouts.activate(Layouts.java:784)
         at oracle.ide.layout.Layouts.activateLayout(Layouts.java:186)
         at oracle.ideimpl.MainWindowImpl$6.runImpl(MainWindowImpl.java:734)
         at oracle.javatools.util.SwingClosure$1Closure.run(SwingClosure.java:50)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    and my worksheets wont open (just stays with the blue background). Restarting fixes this, but... Back to the original problem.
    If I then go and delete
    /Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/
    oracle.sqldeveloper.timesten.jar
    and
    /Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/timesten_support.jar
    The problem is fixed again.. So its something with those Jars.

  • netui-data:pager action to dynamically fetch rows

    Hi,
    How can I configure a data grid pager to dynamically fetch new rows when a user swap pages through the pager?
    I know I can fetch all my rows to a collection / array before rendering the datagrid and set the pager to iterate over it like this:
    [Controller]
    private List<Ride> rides;
    public List<Ride> getRides() {
         return rides;
    [Action]
    rides = rideDBControl.getAllRides(); // huge amount of data
    return forward;
    [JSP]
         <div style="border-width:2px;"><netui-data:dataGrid name="currentRidesGrid" dataSource="pageFlow.rides">
              <netui-data:configurePager pagerFormat="prevNext" pageSize="${pageSize}" />
              <netui-data:header>
                   <netui-data:headerCell headerText="Name" />
                   <netui-data:headerCell headerText="Description" />
              </netui-data:header>
              <netui-data:rows>
                   <netui-data:spanCell value="${container.item.name}" style="background-color: #f0f0f0;font-size:14pt;">
                   </netui-data:spanCell>
                   <netui-data:spanCell value="${container.item.description}">
                   </netui-data:spanCell>
              </netui-data:rows>
         </netui-data:dataGrid></div>
    But how can I make the pager call a method to update the contents of the collection "rides" according to the current selected page and page size? And how can I obtain the current page and page size inside that method?
    I want to paginate queries that may return a huge amount of data (1m + rows), so, fetching all rows at once is impracticable. What I want to do is propagate the current page and page size from the pager to a method that will update the current collection according to a query such as:
    Select X, Y, Z
    From Table
    Where ...
    And ROWNUM BETWEEN page * pageSize AND (page + 1) * pageSize
    Can anyone help a noob?

    For further reference I've found the answer by myself.
    To dynamically fetch rows you need to modify the <netui-data:configurePager> tag and include both a pageAction and partialDataSet attributes, e.g.:
    <netui-data:configurePager pagerFormat="prevNext" pageSize="${pageSize}" pageAction="pagination" partialDataSet="true" />
    Within the pagination action you can obtain the current row and page size from a PagerModel object. You can then update the dataSource (just remember to call the setDataSetSize providing the length of the full dataset so that the pager displays the correct amount of pages), e.g.:
    @Jpf.Action(forwards = { @Jpf.Forward(name = "success", navigateTo = Jpf.NavigateTo.currentPage) })
         public Forward pagination() {
              DataGridStateFactory dataGridStateFactory = DataGridStateFactory
                        .getInstance(getRequest());
    // Gets the pagerModel object for the grid
              PagerModel pagerModel = dataGridStateFactory.getDataGridState(
                        "currentRidesGrid").getPagerModel();
    // => Code to get the entire dataSource size <=
              pagerModel.setDataSetSize(dataSourceSize);
              // Obtain the first row and page size from the model
              int firstRow = pagerModel.getRow();
              int pageSize = pagerModel.getPageSize();
              // => Code to fetch the rows to be displayed <=
              rides = pageRides;
              Forward forward = new Forward("success");
              return forward;
    I hope this helps.
    Cheers

  • Fetch rows automatically

    Hi,
    got a select list containing the columns of emp and element all_columns, a textfield for the search string , a go button
    and a sql report which will filter the report through selected column and search string.
    How can the report be displayed (select list with all_columns) by entering the page, without pressing the go button ?

    Thanks - I had read the documentation before, but interpreted it differently.
    What I had read was in:
    http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14261/sqloperations.htm#i45288
    The extract of interest was:
    Opening a Cursor
    Opening the cursor executes the query and identifies the result set, which consists of all rows that meet the query search criteria. For cursors declared using the FOR UPDATE clause, the OPEN statement also locks those rows. An example of the OPEN statement follows:
    DECLARE
    CURSOR c1 IS SELECT employee_id, last_name, job_id, salary FROM employees
    WHERE salary > 2000;
    BEGIN
    OPEN C1;
    Rows in the result set are retrieved by the FETCH statement, not when the OPEN statement is executed.
    My interpretation was that the result of the query was put into the temporary tablespace and then retrieved into the program during the FETCH.
    Assuming I was wrong, what I'm wondering now is how I can possibly be running out of temporary space during this OPEN cursor process.

  • 'Fetched Rows' refresh issue

    When freezing views for several tables, the 'Fetched Rows' value is always the last updated value, not the correct one in the current context.
    In the case of finding the total number of rows there is a workaround - to select from the popup menu Table > Count rows, but then, why display an incorrect value ?
    And on the same 'count rows' topic, why do I need to further press the 'Apply' button in order to get the rows numbered ?
    Tudor

    You are right - the last fetch performed by Raptor/SQL Developer updates the fetch count on the status bar (this includes things like querying the columns when displaying a table tab).
    I have suggested previously that we have the fetch count displayed next to the query execution time on the SQL Worksheet, but haven't had any positive response.
    There doesn't appear to be enough room on the data tab for this to be displayed in the same place when querying table/view data from the table/view tab.
    As for the 'Count Rows' needing Apply - even if you don't want to, you are given the option of copying the query that is being used for the Count Rows (not that I think this means we should have the two step process for counting rows).

  • How to get number of rows return in SELECT query

    i'm very new in java, i have a question:
    - How to get number of rows return in SELECT query?
    (i use SQL Server 2000 Driver for JDBC and everything are done, i only want to know problems above)
    Thanks.

    make the result set scroll insensitve, do rs.last(), get the row num, and call rs.beforeFirst(), then you can process the result set like you currently do.
             String sql = "select * from testing";
             PreparedStatement ps =
              con.prepareStatement(sql,ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
             ResultSet rs = ps.executeQuery();
             rs.last();
             System.out.println("Row count = " + rs.getRow());
             rs.beforeFirst();~Tim
    NOTE: Ugly, but does the trick.

  • How to restrict number of rows returned in a query

    Hi frnds,
    I'd like to restrict number of rows returned by my query to some 10 rows. how to do that.When I try doing with the rownum<10 its giving results for a particular dept and that too some 6 rows only...btw I'm grouping my table and includes joins from many a table and am ordering the table results by a column.. How to do this..

    776317 wrote:
    Hi frnds,
    I'd like to restrict number of rows returned by my query to some 10 rows. how to do that.When I try doing with the rownum<10 its giving results for a particular dept and that too some 6 rows only...btw I'm grouping my table and includes joins from many a table and am ordering the table results by a column.. How to do this..
    TELL ME HOW MANY ROWS YOU HAVE IN TABLE?
    Because you have only *6 rows* in you column, if you less than 10 rows then it displays only containied/exist rows. nothing much
    select ename,empno from emp where rownum < 10;Thanks

Maybe you are looking for

  • Import a subtemplate in XML PUBLISHER 5.6.2

    Hi, we need to be able to reference subtemplates in our templates in XML Publisher. We were able to test successfully on our desktop by using the following command: <?import: file:///C:/SousGabarit/Variables/X0050_fr.rtf?>, but we failed after adapti

  • XSLT Mapping changes Required

    Hello Experts, I got one change requirment, where the name filed in the idoc contains special character (like semi colon) in between the name, I want to put double quotation for that special character at XSLT mapping. Eg: Input Name:   Ravi ; Kumar O

  • Multi mapping issue

    Hi ,      I am using a multi mapping(with out bpm) in my scenario. One source structure is mapped to 3 different targets and these 3 different targets are using 3 different adapters.   There will be a indicator from the source structure which descrim

  • Microsoft Word 2008. 12.7.6 compatible with Mountain Lion

    My I Mac is 2- 3 years old. It has 10.6.8. and I would like to upgrade to Mountain Lion  (mainly in order to process Raw photo files for a new camera I bought). So far so good. However, I want to know if I upgrade can I still use my Microsoft Word (2

  • Cloud sync with 10.6.8 Is it possible?

    Is this possible?