About 9,530,000 results
Open links in new tab
  1. How to select only 1 row from oracle sql? - Stack Overflow

    Jan 19, 2012 · This syntax is available in Oracle 12c: select * from some_table fetch first 1 row only; select * from some_table fetch first 1 rows only; select * from some_table fetch first 10 …

  2. sql - Oracle: Get a query to always return exactly one row, even …

    If you always expect zero or one row then you can use a group function i.e.: select dump(max(dummy)) from dual where dummy = 'Not Found' You will always get at least one …

  3. oracle sqldeveloper - SQl Developer Single Query result tab …

    Jul 30, 2015 · Executing both queries together, opens up two separate query result windows, each with respective results. So executing the query you put up in the answer, would pop two …

  4. Single-Row Functions - Oracle Help Center

    Single-row functions return a single result row for every row of a queried table or view. These functions can appear in select lists, WHERE clauses, START WITH and CONNECT BY …

  5. Select rows from table that have only one occurrence of a value

    Jan 8, 2007 · I am trying to select rows from a table which has only 1 occurrence of the surname. Example of rows in my table. It has 3 columns, SURNAME, CLIENT_ID, SECTOR. The query …

  6. How to show SQL output in 1 ROW instead of normal multiple lines?

    Feb 20, 2024 · How to show 2 rows from this SQL in one line like “A, B”. Our DB is 11g R2. SELECT * FROM ( SELECT 'A' f1 FROM DUAL UNION SELECT 'B' FROM DUAL );

  7. Oracle SQL Developer: Fetching SQL Statement Result Sets

    May 28, 2014 · SQL Developer doesn’t show you all records, all at once. Instead, it brings the records down in ‘chunks,’ or as-needed. There is a preference that tells SQL Developer how …

  8. A requirement to fetch only one valued row - Ask TOM

    Apr 11, 2017 · I have a requirement where i need to fetch only one record for the id provided. If the id is present in the table it will fetch that particular record and if it is not present , it will fetch …

  9. Selecting A Single Row From Oracle Sql Tips Tricks - sqlpey

    Nov 22, 2024 · When you only want to select a single row from a table in Oracle SQL, you can use ROWNUM to limit the results. Alternatively, you can use a nested subquery or the MIN …

  10. plsql - Return Single Row In Oracle Function - Stack Overflow

    Sep 21, 2018 · I'm attempting to return a single row of user data from a function based on the input of a user. I cannot access the values of the object columns. I have tried the procedure …

  11. Some results have been removed
Refresh