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

  2. sql - Left Outer Join using + sign in Oracle 11g - Stack Overflow

    This contradicts what I linked to in my answer, which is an excerpt from Oracle Database 10g SQL (Osborne ORACLE Press Series) 1st edition (February 20, 2004), stating: "In a left outer …

  3. parsing - How can I fix MySQL error #1064? - Stack Overflow

    May 7, 2014 · When issuing a command to MySQL, I'm getting error #1064 "syntax error". What does it mean? How can I fix it?

  4. How can I do an UPDATE statement with JOIN in SQL Server?

    This was an example, but the point is as Eric said in How can I do an UPDATE statement with JOIN in SQL Server?. You need to add an UPDATE statement at first with the full address of …

  5. SQL Server Linked Server Example Query - Stack Overflow

    On the positive side T-SQL syntax will work. SELECT * FROM [SERVER_NAME].[DATABASE_NAME].[SCHEMA_NAME].[TABLE_NAME] OPENQUERY …

  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. MySQL error: You have an error in your SQL syntax; check the …

    Apr 18, 2011 · #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 What does the error …

  8. ERROR 1064 (42000): You have an error in your SQL syntax;

    I have a MySQL commands: CREATE DATABASE IF NOT EXISTS courses; USE courses CREATE TABLE IF NOT EXISTS teachers( id INT(10) UNSIGNED PRIMARY KEY NOT …

  9. sql - What is the syntax meaning of RAISERROR () - Stack Overflow

    I just created a Instead After Trigger whose syntax is given below: Create trigger tgrInsteadTrigger on copytableto Instead of Insert as Declare @store_name varchar(30); declare @sales in...

  10. Error code 1064, SQL state 42000: You have an error in your SQL …

    May 6, 2010 · SET OPTION SQL_SELECT_LIMIT=DEFAULT The problem is that the SET OPTION syntax has been deprecated for some time and is now no longer valid in MySQL 5.6. …