|
-
Apr 28th, 2006, 02:02 AM
#1
Thread Starter
Addicted Member
SQL string with space?
Hi,
How do I store a space-containing string in MySQL? When I try to store e.g. "Steffen Sveegaard", MySQL returns an error! The variable is wrapped in "'s in the query.
-
Apr 28th, 2006, 02:48 AM
#2
Re: SQL string with space?
What is the error raised?
-
Apr 28th, 2006, 03:00 AM
#3
Thread Starter
Addicted Member
Re: SQL string with space?
"You have an error in your SQL syntax near 'Sveegaard (id int (255) not null primary key auto_increment, dato varchar (75) ' at line 1" while creating a new table
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|