Microsoft® Excel® based database addin

 

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    DeftOne is offline Junior Member
    Join Date
    Feb 2010
    Posts
    1

    Default MySQL Query Field Name Issue?

    I am trying to execute a MySQL query, and keep getting the "There is a problem with this SQL statememnt - Please Check it!" error. It is a query that I have used in phpMyAdmin and in several PHP scripts, so I know it works. Through a process of elimination and simplification of the query, I have determined that the error only happens when a particular field is included in the query. The name of the field is "Mode". For some reason SQL Drill does not like this field, and always gives me the error whenever it is present in the query in any fashion.

    I have tried copying and pasting the query into SQL Drill and using the expression builder (not sure if that's what it's called) to no avail. Also, when I use the expression builder to add that field to the query, it puts quotes around the field name for some reason.

    Is "Mode" a restricted field name that I'm not aware of? I must admit I am no MySQL expert.

    Thanks for your help.

  2. #2
    admin's Avatar
    admin is offline Administrator
    Join Date
    Apr 2008
    Location
    Dublin, NYC
    Posts
    333
    Blog Entries
    1

    Default

    Hi

    Sorry you are having this issue.

    What type of SQL statement is causing a problem ? SQL Drill is only for running SELECT statements at the moment.. If the query is a SELECT then please could you post up a version of the SQL and I can try to replicate the issue.

    One other thing to know would be the data type of the Mode field.

    I can take a look at this later today if you can send over those details. Thanks and have a nice day
    SQL Drill Support
    www.sqldrill.com


Similar Threads

  1. Re: MySQL LENGTH issue on SELECT
    By Rik Wasmus in forum General MYSQL Discussion
    Replies: 3
    Last Post: 12-20-2009, 01:34 PM
  2. Simple MySQL issue
    By worldcyclist@gmail.com in forum General MYSQL Discussion
    Replies: 1
    Last Post: 12-13-2009, 12:18 PM
  3. mysql installation issue
    By ros in forum General MYSQL Discussion
    Replies: 0
    Last Post: 12-12-2009, 09:59 AM
  4. Limited query by field-Similar Issue
    By DN in forum Queries
    Replies: 1
    Last Post: 03-23-2009, 12:21 AM
  5. Limited query by field-Similar Issue
    By DN in forum Queries
    Replies: 2
    Last Post: 03-23-2009, 12:11 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts