About 10,800,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.

  2. SQL Server Linked Server Example Query - Stack Overflow

    It's my understanding this is a "pass-through query" that passes SQL to the other server; and while useful for accessing other vendors' databases, it's best to use a "native" query between MS-Sql …

  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. Inserting multiple rows in a single SQL query? - Stack Overflow

    Jan 17, 2009 · In SQL Server 2008 you can insert multiple rows using a single INSERT statement.

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

  6. MySQL error: You have an error in your SQL syntax; check the manual ...

    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 mean?

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

    mysqldump -h <host> -u <username> -p <database> > dumpfile.sql dumpfile.sql By mistaken dumpfile.sql added twice in the syntax. Solution : I removed the dumpfile.sql text added to first line of …

  8. 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 all tables to join …

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

  10. sql - Incorrect syntax near '' - Stack Overflow

    I'm trying to run the following fairly simple query in SQL Server Management Studio: SELECT TOP 1000 * FROM master.sys.procedures as procs left join master.sys.parameters as params on p...