About 1,670,000 results
Open links in new tab
  1. What does <> (angle brackets) mean in MS-SQL Server?

    Nov 8, 2013 · What does <> (angle brackets) mean in MS-SQL Server? Asked 11 years, 8 months ago Modified 3 years, 10 months ago Viewed 80k times

  2. 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] …

  3. How to fix SQL Server 2019 connection error due to certificate issue

    Dec 17, 2021 · In SQL Server Configuration Manager, in the console pane, expand SQL Server Network Configuration. Right-click Protocols for <instance Name>, and then select Properties. …

  4. Convert Rows to columns using 'Pivot' in SQL Server

    Apr 10, 2013 · Pivot is one of the SQL operator which is used to turn the unique data from one column into multiple column in the output. This is also mean by transforming the rows into …

  5. List the queries running on SQL Server - Stack Overflow

    Jun 2, 2009 · Is there a way to list the queries that are currently running on MS SQL Server (either through the Enterprise Manager or SQL) and/or who's connected? I think I've got a very long …

  6. SQL: How to properly check if a record exists - Stack Overflow

    Nov 23, 2010 · While reading some SQL Tuning-related documentation, I found this: SELECT COUNT(*) : Counts the number of rows. Often is improperly used to verify the existence of a …

  7. 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. SELECT CAST( CASE WHEN Obsolete = 'N' or InStock = 'Y' THEN 1 ELSE 0 …

  8. SQL Error: ORA-00942 table or view does not exist

    I use SQL developer and i made a connection to my database with the system user, after I created a user and made a another connection with that user with all needed privileges. But …

  9. sql - Adding an identity to an existing column - Stack Overflow

    Jun 26, 2009 · If we use SQL Server Management Studio to get rid of the identity value on column "id", a new temporary table is created, the data is moved to the temporary table, the old table …

  10. sql server - Altering a column: null to not null - Stack Overflow

    Mar 27, 2009 · This is undesirable for several reasons, so I am looking to update all nulls to 0 and then set these columns to NOT NULL. Aside from changing nulls to 0, data must be …