Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to extend Firebird table name length?

I'm a Firebird newbie here. I'm trying to use Firebird Embedded from an ASP.Net application. Everything connects fine but I'm running into problems with the length of column names. I'm trying to create a table named "Orchard_Framework_DataMigrationRecord." I keep getting an exception which says "Name longer than database column size." After some investigation, I've seen that a number of people have mentioned that Firebird has a column name length limit of 30 characters.

Is that correct and if so is there any way to change it? In my case, I can't change the name of the table; it really has to be that long.

like image 767
wwahammy Avatar asked Nov 22 '13 22:11

wwahammy


People also ask

What is the maximum length of field and table names?

Field names for shapefiles and dBASE tables can be no more than 10 characters in length.

What is the maximum length of a field name in mysql?

Aliases for column names in CREATE VIEW statements are checked against the maximum column length of 64 characters (not the maximum alias length of 256 characters).


2 Answers

Unfortunately there is no way to change the maximum identifier length, it's an implementation limit. There is a plan to remove this limitation but in current version (2.5) the max identifier length is 31 characters.

like image 164
ain Avatar answered Oct 08 '22 12:10

ain


This appears to be fixed as of Firebird version 4.0 Alpha 1: Increase maximum length of object names to 63 characters

like image 42
Miguel Angel Suarez Rodriguez Avatar answered Oct 08 '22 11:10

Miguel Angel Suarez Rodriguez