Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 please help. 1064 sql error code

Author  Topic 

raje
Starting Member

4 Posts

Posted - 2009-12-04 : 01:26:02
when trying to import my sql file i get the below error. Can someone please point out whats causing the issue for me? (sorry, im a noob)


#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 '?--
-- Tabel structuur voor tabel `bescherming`
--

CREATE TABLE `bescher' at line 1

here is what im trying to insert
SQL query:

?--
-- Tabel structuur voor tabel `bescherming`
--
CREATE TABLE `bescherming` (
`id` int( 1 ) NOT NULL AUTO_INCREMENT ,
`type` int( 1 ) NOT NULL default '0',
`minuten` int( 255 ) NOT NULL default '0',
`prijs` int( 255 ) NOT NULL default '0',
`naam` varchar( 255 ) NOT NULL default '',
`time` int( 255 ) NOT NULL default '0',
PRIMARY KEY ( `id` )
) ENGINE = MYISAM DEFAULT CHARSET = latin1 AUTO_INCREMENT =4

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-12-04 : 01:33:23
This is a Microsoft SQL Server site. You should instead post your question on a MySql site. There's a MySql forum over at dbforums.com plus mysql.com has one I believe.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

raje
Starting Member

4 Posts

Posted - 2009-12-04 : 02:19:39
ok, sorry bout that, thanx for letting me know :)
Go to Top of Page
   

- Advertisement -