About 3,180,000 results
Open links in new tab
  1. 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 …

  2. 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 LIKE '%' + @

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

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

  4. sql - What is the difference between JOIN and INNER JOIN ... - Stack ...

    SELECT * FROM table INNER JOIN otherTable ON table.ID = otherTable.FK Is there any difference between the statements in performance or otherwise? Does it differ between different SQL …

  5. SQL SELECT WHERE field contains words - Stack Overflow

    Jan 12, 2013 · SQL SELECT WHERE field contains words Asked 12 years, 11 months ago Modified 7 months ago Viewed 4.9m times

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

    17 In MS SQL Server Database, use this query to get the tables and respective column names that contains the input text:

  7. SQL Server® 2016, 2017, 2019 and 2022 Express full download

    Jan 25, 2017 · All previous version of SQL Server Express were available in both web and full downloads. But I cannot find full download of SQL Server® 2016 Express. Does it exist? Asked the …

  8. sql - How to Join to first row - Stack Overflow

    Feb 14, 2019 · SELECT Orders.OrderNumber, LineItems.Quantity, LineItems.Description FROM Orders INNER JOIN ( SELECT TOP 1 LineItems.Quantity, LineItems.Description FROM LineItems WHERE …

  9. SQL Replace multiple different characters in string

    Aug 30, 2016 · SQL Replace multiple different characters in string Asked 9 years, 3 months ago Modified 1 year, 4 months ago Viewed 224k times

  10. How to select unique records by SQL - Stack Overflow

    How to select unique records by SQL Asked 16 years, 1 month ago Modified 1 year, 11 months ago Viewed 748k times