In the last episode (Aug 29), abhishek sahay said:
> mysql> alter table pod_rating change 'Cable Planet' cable_plant varchar(15);
> ERROR 1064: You have an error in your SQL syntax near ''Cable Planet' cable_plant 
>varchar(15)' at line 1

I believe you need to use backtics ` ` to put spaces in field names
here.  ' ' and " " were fine for creating the column names, because at
that stage the mysql parser was processing strings, not column names.

-- 
        Dan Nelson
        [EMAIL PROTECTED]

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to