About 4,540,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. What is the difference between SQL, PL-SQL and T-SQL?

    Jun 25, 2009 · The query language that Microsoft SQL Server uses is a variant of the ANSI-standard Structured Query Language, SQL. The SQL Server variant is called Transact-SQL.

  3. Correct use of transactions in SQL Server - Stack Overflow

    Apr 14, 2012 · Correct use of transactions in SQL Server Asked 13 years, 8 months ago Modified 3 years, 7 months ago Viewed 439k times

  4. 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.

  5. 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 …

  6. 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 …

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

  8. How to return only the Date from a SQL Server DateTime datatype

    Sep 22, 2008 · 23 If you are using SQL Server 2012 or above versions, Use Format() function. There are already multiple answers and formatting types for SQL server. But most of the …

  9. SQL DATEPART(dw,date) need monday = 1 and sunday = 7

    Jul 22, 2014 · DATEPART(dw,ads.date) as weekday I need the result so: Sunday = 7 Monday = 1 etc. Is there any shortcut to do this? Or I will have to do a CASE statement?

  10. What is the use of GO in SQL Server Management Studio

    The GO command isn't a Transact-SQL statement, but a special command recognized by several MS utilities including SQL Server Management Studio code editor. The GO command is used …