>> Is this possible within the "live" database/table, or do I have to create >> a new table with the colums needed, and do some "INSERT INTO NEWTABLE >> SELECT FROM OLDTABLE" and finally rename the new table to the old name? > > Well, since it was somewhat urgent, I did it by creating a new table, > but as renaming a table seems to be something you cannot do without > manipulating the system tables, I created a third table with the > name of the original table and copied the "temp" table into it. > > Just the question remains: Is it possible to "move" the primary key > within an existing table? (I remember I had to do this already a > couple of times in the past few years.)
Only by dropping and re-adding. -- With regards, Thomas Steinmaurer http://www.upscene.com/ ------------------------------------ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Visit http://www.firebirdsql.org and click the Resources item on the main (top) menu. Try Knowledgebase and FAQ links ! Also search the knowledgebases at http://www.ibphoenix.com ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/firebird-support/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/firebird-support/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
