About 2,770,000 results
Open links in new tab
  1. SQL asterisk(*) all possible uses - Stack Overflow

    Apr 13, 2020 · It is used in sql-server for xml. In the code below, aliasing the subquery as ' [*]' means that COLUMN_NAME and DATA_TYPE xml nodes output on the same level as …

  2. What does <> (angle brackets) mean in MS-SQL Server?

    Nov 8, 2013 · In My Query one place some other developer using <> (angle brackets) What does it mean ?

  3. sql - NOT IN vs NOT EXISTS - Stack Overflow

    Which of these queries is the faster? NOT EXISTS: SELECT ProductID, ProductName FROM Northwind..Products p WHERE NOT EXISTS ( SELECT 1 FROM Northwind..[Order Details] od …

  4. What does the "@" symbol do in SQL? - Stack Overflow

    The @CustID means it's a parameter that you will supply a value for later in your code. This is the best way of protecting against SQL injection. Create your query using parameters, rather than …

  5. sql server 2008 - SQL query with NOT LIKE IN - Stack Overflow

    Please help me to write an SQL query with the condition as NOT LIKE IN.

  6. SQL: IF clause within WHERE clause - Stack Overflow

    Sep 18, 2008 · Is it possible to use an IF clause within a WHERE clause in MS SQL? Example: WHERE IF IsNumeric(@OrderNumber) = 1 OrderNumber = @OrderNumber ELSE OrderNumber …

  7. What is the use of the square brackets [] in sql statements?

    The Microsoft book for SQL course says "You should use two-part names to refer to tables in SQL Server databases, such as Sales.Customer" so they don't ask to surround namespace with …

  8. SQL WITH clause example - Stack Overflow

    Sep 23, 2012 · 353 The SQL WITH clause was introduced by Oracle in the Oracle 9i release 2 database. The SQL WITH clause allows you to give a sub-query block a name (a process also …

  9. How do I perform an IF...THEN in an SQL SELECT?

    Sep 15, 2008 · 2059 The CASE statement is the closest to IF in SQL and is supported on all versions of SQL Server.

  10. sql - Find all tables containing column with specified name - Stack ...

    @Revious INFORMATION_SCHEMA views included in SQL Server comply with the ISO standard definition for the INFORMATION_SCHEMA., sys.columns, sys.tables is Microsoft Sql Server …