Oracle Identifier Maximum Length - oracle-sqldeveloper

I have a database in MS Sql server.
I want to migrate the same to Oracle also.
But there are few tables and column names that are 30 character long.
Oracle does not accept any identifier which is more than 30 characters long.
Is there any option in Oracle that allows us to increase the length of the identifier?
Thanks

The maximum identifier length is 30 characters.
This is the latest discussion on stack overflow that shows there is no way to increase the identifier length
Change table/column/index names size in oracle 11g or 12c
Also there is a discussion on oracle forum where users have a suggestion to change the length of identifier.
https://community.oracle.com/ideas/3338

Related

How to include columns with length greater than 4000 characters in SSAS Tabular Model?

A few of the columns in the source sql view has column length greater than 4000 characters. These are columns which contain some user comments and needs to be inclided in my Tabular SSAS Model.
But whenever the character length is greater than 4000 characters, I am getting error while processing the model.
I found out that Tabular does not support column length greater than 4000 characters.
Is there any way to bypass this issue ?
In Visual Studio 2017 in compatibility level 1400 (SQL 2017 and Azure Analysis Services) I was able to import this query both in legacy data source mode (regular SQL driver) and in the new Power Query mode.
select cast(replicate(cast('A23456789' as varchar(max)),1000) as varchar(max)) as str,
len(cast(replicate(cast('A23456789' as varchar(max)),1000) as varchar(max))) as len
What are you doing differently? Are you using an older compatibility level or something?
I also would question the analytical value of importing huge text strings into an SSAS Tabular model. Can you explain the value of those columns? Can you possibly parse out the relevant pieces of info from the long strings?

Long strings are being clipped with (...) in postgres [duplicate]

I've recently installed pgAdmin III 1.18.1 and noticed a strange thing:
Long json query results are shortened to 256 symbols and then ' (...)' is added.
Could someone help me disable this shortening?
Thanks to user Erwin Brandstetter for his answer on Database Administrators.
There is a setting for that in the options: Max characters per column - useful when dealing with big columns. Obviously your setting is 256 characters.
Set it higher or set it to -1 to disable the feature.
in pgadmin (Version 5.4) select
file >> preferences >> Query Tool >> Results grid
and change Resize by data? to false. This will the column be sized to the widest of the datatype or column name.

sqlalchemy.exc.IdentifierError: Identifier 'index name' exceeds maximum length of 63 characters

I am running a migration script from MYSQL database to PostgreSQL. A new relationship has been recently created on MYSQL which breaks the import to PostgreSQL.
Error: sqlalchemy.exc.IdentifierError: Identifier 'index name' exceeds maximum length of 63 characters
Is there a way to truncate the identifier name or alternatively increase the maximum characters limit label length (table name, column name, index) in PostgreSQL to by-pass this limitation?
I found this excerpt from the postgresql documention:
The system uses no more than NAMEDATALEN-1 bytes of an identifier; longer names can be written in commands, but they will be truncated. By default, NAMEDATALEN is 64 so the maximum identifier length is 63 bytes. If this limit is problematic, it can be raised by changing the NAMEDATALEN constant in src/include/pg_config_manual.h.
Has anyone tried it out? Is there a better solution? I'm using sqlalchemy and python, is there a way of truncating the identifier in Sqlaclchemy?

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.
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.
This appears to be fixed as of Firebird version 4.0 Alpha 1: Increase maximum length of object names to 63 characters

Crystal Reports database field length

I'm running a Crystal Report connecting to a SQL Server 2005 database.
When I use Standard Report Expert and added my SQL Server table and clicked on 'Browse data', the field length seems to be double what is in the database for strings (nvarchars and varchars). Any idea why?
IIRC a field thats nvarchar(2000) for example will hold 2000 characters but it has 4000 bytes reserved since each char requires 2bytes storage. could this be the problem that you're seeing... SQL lists size in characters and crystal lists size in bytes?