About 424,000 results
Open links in new tab
  1. sql - What is the equivalent of the Oracle "Dual" table in MS …

    Feb 7, 2015 · In SQL Server there is no dual table. If you want to put a WHERE clause, you can simple put it directly like this: SELECT 123 WHERE 1<2 I think in MySQL and Oracle they need a FROM clause to use a WHERE clause. SELECT 123 FROM DUAL WHERE 1<2

  2. sql - What is the difference between "||" operator and concat …

    Jul 9, 2012 · Oh come on SQL server has an equivalent operator + which is just like oracle's partial support of ANSI standard functions CHARACTER_LENGTH, OCTET_LENGTH , SUBSTRING or POSITION functions.

  3. What does double bars (||) mean in SQL? - Stack Overflow

    SQL Server uses '+' as a string concatenation operator, for instance. (Of course, the better solution would have been for the poster to simply run the query without the count() to see what it did in the first place instead of posting here.)

  4. Find the server name for an Oracle database - Stack Overflow

    Jan 24, 2015 · Is there a way of finding the name of the server an Oracle database is hosted on?

  5. sql - Not equal <> != operator on NULL - Stack Overflow

    Oct 9, 2014 · <> is Standard SQL-92; != is its equivalent. Both evaluate for values, which NULL is not -- NULL is a placeholder to say there is the absence of a value. Which is why you can only use IS NULL / IS NOT NULL as predicates for such situations. This behavior is not specific to SQL Server. All standards-compliant SQL dialects work the same way. Note: To compare if …

  6. Equivalent of Oracle's RowID in SQL Server - Stack Overflow

    Aug 4, 2009 · Stephanie: the assumption is that there is a unique key in the data, which assumes the data is normalized, which is an incorrect assumption sometimes. Thus, what's the equivalent to Oracle's RowID in SQL server.

  7. set serveroutput on in oracle procedure - Stack Overflow

    Oct 28, 2012 · Using SET SERVER OUTPUT ON are just telling the PL/SQL engine that *Hey please print the ARGUMENT/VALUES that I will be passing inside dbms_output.put_line and in turn PL/SQl run time engine prints the argument on the main console . I think I am clear to you all . Wish you all the best .

  8. Minus vs Except Difference in ORACLE/SQL Server

    Apr 5, 2011 · MINUS is a SQL set operation that selects elements from the first table and then removes rows that are also returned by the second SELECT statement in Oracle. And in SQL Server, we can use EXCEPT to do same thing. While migrating my project from oracle to SQL Server, I noticed a difference.

  9. Difference between NVARCHAR in Oracle and SQL Server?

    Aug 20, 2013 · In SQL Server, a NVARCHAR(20) allocates space for 20 characters which requires up to 40 bytes in UCS-2. In Oracle, by default, a VARCHAR2(20) allocates 20 bytes of storage.

  10. What is the Oracle equivalent of SQL Server's IsNull() function?

    Aug 19, 2010 · In SQL Server we can type IsNull() to determine if a field is null. Is there an equivalent function in PL/SQL?

Refresh