About 756,000 results
Open links in new tab
  1. sql - Get list of all tables in Oracle? - Stack Overflow

    Oct 15, 2008 · Oracle also has a number of legacy data dictionary views-- TAB, DICT, TABS, and CAT for example-- that could be used. In general, I would not suggest using these legacy views unless you absolutely need to backport your scripts to Oracle 6. Oracle has not changed these views in a long time so they often have problems with newer types of objects.

  2. sql - Oracle "(+)" Operator - Stack Overflow

    Oct 26, 2010 · It should also be noted that even though the (+) works, Oracle recommends not using it: Oracle recommends that you use the FROM clause OUTER JOIN syntax rather than the Oracle join operator. Outer join queries that use the Oracle join operator (+) are subject to the following rules and restrictions, which do not apply to the FROM clause OUTER ...

  3. Oracle - How to execute a query with parameters?

    May 26, 2017 · SQL> select * from &ParamName_Type; Enter value for paramname_type: that is, all the string ParamName_Type wil be interpreted as a variable name and substituited with the value you enter. Also, consider that this is a client-specific behaviour, not an Oracle DB one; so, the same thing will not work in a different client (Toad for Oracle for ...

  4. What does a (+) sign mean in an Oracle SQL WHERE clause?

    Jan 29, 2014 · According to Oracle's documentation linked to in the answer, "To write a query that performs an outer join of tables A and B and returns all rows from A (a left outer join), use the LEFT [OUTER] JOIN syntax in the FROM clause, or apply the outer join operator (+) to all columns of B in the join condition in the WHERE clause.

  5. Get data type of field in select statement in ORACLE

    Mar 30, 2017 · If you don't have privileges to create a view in Oracle, a "hack" around it to use MS Access :-(In MS Access, create a pass through query with your sql (but add where clause to just select 1 record), create a select query from the view (very important), selecting all *, then create a make table from the select query.

  6. Can we have multiple "WITH AS" in single sql - Oracle SQL

    I can make the query work by repeating the same query multiple times, but do not want to do that, and leverage "WITH AS". It seems like a simple requirement but oracle does not allow me: ORA-00928: missing SELECT keyword

  7. sql - Oracle Not Equals Operator - Stack Overflow

    Nov 3, 2010 · @shanyangqu - the important part to read from that link is "this note by Scott Canaan suggests that in Oracle 10.2, they can produce different execution plans, and hence, different execution speeds" - but in the end, the effect was not proven, and several (valid, IMO) theories that would explain the observed behaviour were presented - none of which suggest that the different syntaxes make any ...

  8. How do I get textual contents from BLOB in Oracle SQL

    May 6, 2009 · BLOB_FIELD ----- oracle.sql.BLOB@1c4ada9 So what kind of magic incantations can I do to turn the BLOB into it's textual representation? PS: I am just trying to look at the content of the BLOB from an SQL console (Eclipse Data Tools), not use it in code.

  9. CASE .. WHEN expression in Oracle SQL - Stack Overflow

    One way I could think was using a Switch When expression in select query SELECT status, CASE status WHEN 'a1' THEN 'Active' WHEN 'a2' THEN 'Active' WHEN 'a3' THEN 'Active' WHEN 'i' THEN 'Inactive' WHEN 't' THEN 'Terminated' END AS StatusText FROM stage.tst

  10. sql - If statement in select (ORACLE) - Stack Overflow

    Hi I have simply select and works great: select 'CARAT Issue Open' issue_comment, i.issue_id, i.issue_status, i.issue_title, i.ISSUE_summary ,i.issue_description, i ...

Refresh