I was interested, so I did some googling. It seems clear that the SQL standards don't mention a 'rename column' command, so neither H2 nor Postgres is wrong (or right!).
A book (SQL Clearly Explained) I came across suggested "ALTER TABLE TEST RENAME COL1 TO COL2" was "correct", while Mysql is different again. Anything goes! -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
