Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
mysql:it 's a db not a dbms how it 's possible?!
Does the binary log enabling affect the MySQL performances?
Strange behavior, Table Level Permission
FULLTEXT query format question
Preventing Duplicate Entries
Comparing and writing out BLOBS
Executing MySQL Commands From Within C Program
Can 't access mysql after kernel upgrade
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Downgrade Mysql from 4 to 3 23
MySQL Cluster Software
mysql test 4 1 fails with the gis test
ERROR 2002: Can 't connect to local MySQL server through socket
Getting Identity after INSERT
Update one field with more fields from another table
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
mysql have same function mthod as Oracle decode()
 
General error;-1002 POS(1) Too many columns

General error;-1002 POS(1) Too many columns

2007-03-22       - By Chris J?lly

 Back
Reply:     1     2     3     4  

Hello!

i have a small table with one pk integer column and 4 varchar columns
and want to issue the following alter statement to add a new column:

  alter table my_table add ("delete_record" smallint)

if the table both is filled or empty i can not add the column. i always
get the error message:


---- Error -- ---- ---- ---- ---- ---- ---
Auto Commit: On, SQL Mode: Internal, Isolation Level: Not Committed
General error;-1002 POS(1) Too many columns
alter table my_table add ( "delete_record" smallint )

whats wrong with that statement?

thx, chris

--
the version of the database is 7.5 running at suse linux...



--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/maxdb?unsub=mysql@(protected)