13

Is it possible to rename a table in Firebird or I should create a new table and then move the data using insert?

2

2 Answers 2

9

Apparently not.

You must either create a new table, copying over old values or create a view with the intended name which is identical to the original table.

See http://www.firebirdfaq.org/faq363/ for further details.

-6

It is possible to change the column name by:

ALTER TABLE "tableName" ALTER "columnName" TO "NewColumnName";
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.