Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6122981
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:57:45+00:00 2026-05-23T15:57:45+00:00

I am getting a syntax error when I run a MySQL statement. I know

  • 0

I am getting a syntax error when I run a MySQL statement.

I know backticks can be added to the tablename to make it work but was wondering why it happens in the first place.

Create temporary table 6514202534e1b20f0d6331 (user_id INT (10)) ENGINE=HEAP;

If I put this in Mysql Query Browser it treats the table name as two seperate words – 6514202534e1 and b20f0d6331.

The table name is generated dynamically and I haven’t had a problem with this before, so I was wondering why it stopped working all of a sudden.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T15:57:45+00:00Added an answer on May 23, 2026 at 3:57 pm

    I think this is because the server (mysql) understands it in this case as 6514202534*e^1 INT.

    Using the ` character:

    CREATE TEMPORARY TABLE `6514202534e1b20f0d6331` (user_id INT (10)) ENGINE=HEAP;
    

    In this way the MySQL Server understands (explicitly) that the whole phrase is database, table or field not a value or function, etc.

    For example `order` is legal while just order will rise an error for invalid order clause.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can someone run their eyes over this statement? I keep getting a syntax error
Hi i want to run an if statement but keep getting syntax errors near
I'm getting a strange syntax error when I run this in VB: SQLString =
I am getting syntax error with the following statement REPLACE INTO users (screenname, token,
I'm using the TreeView control in Maya 2009 but I'm getting a syntax error
i am using this code <a onclick=javascript:var t=setInterval(GetUpdates(5,ajaxResult),300);>GetUpdates</a> but getting the syntax error
I am trying to run the following query, but am getting a sql syntax
I am getting this error when I try to run this MySQL command: CREATE
I'm getting syntax error in firebug here is the code : $('#moderator-attention').live('toogle', function(){ function
Hey guys! I keep getting a syntax error (unexpected $end), and I've isolated it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.