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 9130989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:03:58+00:00 2026-06-17T08:03:58+00:00

INSERT INTO ‘tblJobNumbers’ VALUES (NULL, ‘3006’, ’05’, ‘THISTHS’, 0, ‘JOBLOCATION’, ”, ”, ‘JOBCOMMENTS’, ‘ES’,

  • 0
INSERT INTO 'tblJobNumbers' 
VALUES (NULL, '3006', '05', 'THISTHS', 0, 'JOBLOCATION', '', '', 
        'JOBCOMMENTS', 'ES', '01/14/2013', '01/15/2013, 
        '', '', '', 'CRS-2', '25000')

There’s my statement

  jobID int(11) NOT NULL AUTO_INCREMENT COMMENT 'referenced by tblJobResources.jreJobID',
  jobNumber int(4) NOT NULL,
  jobPrefix int(2) NOT NULL COMMENT 'reference tblJobPreix.jprID',
  jobCustomerTID varchar(7) NOT NULL,
  jobCustomerID int(11) NOT NULL COMMENT 'reference tblCustomers.cusID',
  jobLocation text NOT NULL,
  jobContactName text NOT NULL,
  jobContactInfo text NOT NULL,
  jobComments text NOT NULL,
  jobSoldBy varchar(2) NOT NULL COMMENT 'reference tblUsers.userID',
  jobStartDate varchar(10) NOT NULL,
  jobEstCompleteDate varchar(10) NOT NULL,
  jobCompleteDate varchar(10) NOT NULL,
  jobAcctgMethod text NOT NULL,
  jobBillMethod text NOT NULL,
  jobProduct varchar(10) NOT NULL,
  jobProductAmount varchar(10) NOT NULL,
  PRIMARY KEY (jobID)

There’s my table dump showing layout and datatypes. What am I missing? Please someone help, this is my work’s laptop and I don’t think “but the stupid code” is a valid excuse for destroying company property.

Error Message:

#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 ”tblJobNumbers’ VALUES (NULL, 3006, 05, ‘THISTHS’, 0,
‘JOBLOCATION’, ”, ”, ‘JO’ at line 1.

  • 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-06-17T08:03:59+00:00Added an answer on June 17, 2026 at 8:03 am

    remove single quotes around the tableName, it will be converted to a string. (not a table anymore)

    INSERT INTO tblJobNumbers
             -- ^ remove single quotes
    VALUES (NULL, '3006', '05', 'THISTHS', 0, 
    'JOBLOCATION', '', '', 'JOBCOMMENTS', 'ES', '01/14/2013', 
    '01/15/2013', '', '', '', 'CRS-2', '25000')
            -- ^ add single quote here
    

    also, as you can see you have forgot to close the single quote around the date value.

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

Sidebar

Related Questions

INSERT INTO table VALUES (NULL, 45, 12, NOW(), SELECT MAX(current_price) + 1 FROM table)
Sometimes I need to insert into the table some null values, or update them
insert into salary(name, basic) values('EEE', 20000), ('FFF', 25000) Error: Incorrect syntax near 'FFF'. name
INSERT INTO [Temp].[dbo].[Student] ([Fname], [Lname], [Gender]) VALUES (N'Aname', N'Alname', N'Male') GO This codes workes
INSERT INTO `ree`.`media` (`CREATEDATE`, `FILETYPE`, `MIMETYPE`, `MLSNUMBER`, `MODIFYDATE`, `POSITION`, `URL`) VALUES ('2011-12-27T15:00:16', 'PRIMARY PHOTO',
INSERT INTO files (fileUID, filename) WITH fileUIDS(fileUID) AS ( VALUES(1) UNION ALL SELECT fileUID+1
insert into Attributes (Id, Disabled, AttributeValue) values (@id, @disabled, @attr_value) if not exists (
INSERT INTO product_search_table (id, score) VALUES ( SELECT product_id, 50 FROM cart_product WHERE product_id
Cannot insert the value null into column 'COLUMN1',table'DB1.dbo.table1';Column does not allow nulls. Insert fails.the
I have this statement: INSERT INTO `alias`( `alias`, `ref_links_id`) VALUES (3334,4) And I get

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.