About 2,010,000 results
Open links in new tab
  1. What are the differences between T-SQL, SQL Server and SQL

    Sep 19, 2013 · A further note - the SQL extensions, like T-SQL, are generally considered full-fledged programming languages, complete with looping, if/then, case statements, etc. SQL …

  2. LEFT JOIN vs. LEFT OUTER JOIN in SQL Server - Stack Overflow

    Jan 2, 2009 · A LEFT JOIN B A LEFT OUTER JOIN B A RIGHT JOIN B A RIGHT OUTER JOIN B A FULL JOIN B A FULL OUTER JOIN B A INNER JOIN B A JOIN B Also take a look at the …

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

    Sep 15, 2008 · The CASE expression cannot be used to control the flow of execution of Transact-SQL statements, statement blocks, user-defined functions, and stored procedures.

  4. Is there a Boolean data type in Microsoft SQL Server like there is in ...

    Jun 29, 2010 · Quoting the MSDN article: bit (Transact-SQL) An integer data type that can take a value of 1, 0, or NULL. The SQL Server Database Engine optimizes storage of bit columns. If …

  5. What is the difference between SQL, PL-SQL and T-SQL?

    Another significant difference between T-SQL and SQL is the changes done to the DELETE and UPDATE commands that are already available in SQL. With T-SQL, the DELETE and …

  6. Syntax of for-loop in SQL Server - Stack Overflow

    May 20, 2011 · SQL is a very different language compared to what you're used to. It's focused on what, not how. You tell SQL Server what results you want, and let it figure out how to produce …

  7. Get the time of a datetime using T-SQL - Stack Overflow

    Sep 6, 2010 · However, I do find the vote reasoning + downvote harsh. Although not for the SQL 2000 as per the exact question, it's still relevant (and correct) for later versions. As questions …

  8. Should I use != or <> for not equal in T-SQL? - Stack Overflow

    Yes; Microsoft themselves recommend using <> over != specifically for ANSI compliance, e.g. in Microsoft Press training kit for 70-461 exam, "Querying Microsoft SQL Server", they say "As …

  9. When should I use semicolons in SQL Server? - Stack Overflow

    While checking some code on the web and scripts generated by SQL Server Management Studio I have noticed that some statements are ended with a semicolon. So when should I use it?

  10. Function to Calculate Median in SQL Server - Stack Overflow

    According to MSDN, Median is not available as an aggregate function in Transact-SQL. However, I would like to find out whether it is possible to create this functionality (using the Create …