Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Syntax error...WTF?
08-11-2010, 04:23 AM #1
- Join Date
- Apr 2010
- Thanked 0 Times in 0 Posts
ok, I am using SQL Server Management Studio, and things are going well.....then this happened.
I am getting a syntax error, which makes no sense to me, so I thought I might try on here.
I am trying to add these 3 pieces (1 row) of data into a database table called "Shippers"
USE Northwind; INSERT INTO shippers VALUES (‘4’, ‘Kaplan Express’, ‘(954)2029000’);
Msg 102, Level 15, State 1, Line 2
Incorrect syntax near '‘'.
Any ideas what the error is here? I am not seeing it.
08-11-2010, 05:02 AM #2
- Join Date
- Sep 2002
- Saskatoon, Saskatchewan
- Thanked 2,662 Times in 2,631 Posts
If thats exactly what you have, its likely because of the non-standard quotations (which the error also indicates).
Use a simple text editor like notepad to change them back and save it. Never use word or anything like that >.<
Been gone for a few months, and haven't programmed in that long of a time. Meh, I'll wing it ;)PHP Code:
header('HTTP/1.1 420 Enhance Your Calm');
Users who have thanked Fou-Lu for this post: