Gary,

Monday, February 18, 2002, 2:30:03 PM, you wrote:

GP> I've read and re-read the manual and searched mailing list archive and still
GP> can't see what is wrong with this statement - I'm sure someone can put me
GP> out of my misery ! I'm simply trying to move the position of the Cat2
GP> column.

GP> mysql>> alter table bollinks3 change Cat2 Cat2 smallint(5) unsigned not null
GP> after OutIP;
GP> ERROR 1064: You have an error in your SQL syntax near 'after OutIP' at line
GP> 1

The syntax is not correct for your version of MySQL.

You can find example how to change column positions if you look at:
    http://www.bitbybit.dk/mysqlfaq/faq.html#ch7_5_0

GP> I'm using mysql 3.22.32-log and have full privileges. The table is like
GP> this:
GP> Thanks, Gary Prosser




-- 
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
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