About 3,900,000 results
Open links in new tab
  1. How do I perform an IF...THEN in an SQL SELECT?

    Sep 15, 2008 · 8 Using SQL CASE is just like normal If / Else statements. In the below query, if obsolete value = 'N' or if InStock value = 'Y' then the output will be 1. Otherwise the output will be 0. Then we …

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

    May 7, 2014 · Whilst "syntax" is a word that many programmers only encounter in the context of computers, it is in fact borrowed from wider linguistics. It refers to sentence structure: i.e. the rules of …

  3. SQL Case Expression Syntax? - Stack Overflow

    Aug 7, 2008 · Search conditions are detailed in the Transact-SQL User’s Guide. then precedes the expression that specifies a result value of case. expression is a column name, a constant, a function, …

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

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

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

  7. sql server - syntax for nolock in sql - Stack Overflow

    The list of deprecated features is at Deprecated Database Engine Features in SQL Server 2008: Specifying NOLOCK or READUNCOMMITTED in the FROM clause of an UPDATE or DELETE …

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

  9. SQL Server Linked Server Example Query - Stack Overflow

    The query is fully processed on the remote server thus will make use of index or any optimization on the remote server. Effectively reducing the amount of data transferred from the remote to local sql …

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

    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. Here's a …