in Oracle 12 is there a way to enforce the max length of function name (and constant-names) to be 30 chars only? (as in oracle 11g and priors)
enforcing functions name length in Oracle 12 to meet SQL-92 standard
454 Views Asked by Bauerhof At
1
There are 1 best solutions below
Related Questions in ORACLE
- sqlplus myusername/mypassword@ORCL not working with Oracle on Docker
- Oracle setting up on k8s cluster using helm charts enterprise edition
- Oracle Managed Data Access Client can't work from IIS but work for local debug environment
- If composite indexing created - indexing is called?
- Oracle Http server ISNT-07551
- why here not creating table?
- Data migration from Oracle Database Clob to GCP Bucket
- SQL Alchemy custom type, forcing blob bind parameter
- How to send message to syslog agent in plsql
- Whatever the data available in previous record it should add to the new record
- I have an Oracle SQL query that is giving me a "ORA-00918: column ambiguously defined" error on a line that is a comment line
- 'ORA-12170: TNS:Connect timeout occurredORA-12170: TNS:Connect timeout occurred' ERROR while working on oracle with laravel
- Is their any way i can open parallel query tabs
- VSCode Libraries not showing for New Java Project
- I can't ssh to my instance, Connection refused
Related Questions in PLSQL
- How to send message to syslog agent in plsql
- In PLSQL, How to fetch "User Tables" but not limited to Owner wise only, that have been created under different Schemas of different Users
- How to add the decimal point based on the condition in oracle?
- I am writing the sql query to get the latest supervisor and their job
- How to pass a array object to an oracle stored procedure?
- Difference between an "IS" or "AS" function/procedure declaration PL/SQL
- Best way to create a conditional SQL query? CASE, DECODE, or IF/THEN?
- Can anyone please post working code to send email using sendgrid on Azure databse using PLSQL procedure
- Retrieve record specific date and time in Oracle SQL
- Need to use join result into second cursor in PL/SQL
- ORACLE: Build 'INSERT INTO' statements from 'SELECT *' results
- ORACLE: Build 'INSERT INTO' statements from SELECT * results
- Error in Syntax - Oracle APEX - apex_authorization.is_authorized function
- How to convert CLOB to varchar , and separate them by comma
- Please, my Oracle EBS query when creating a custom report still contains duplicate data,
Related Questions in ORACLE12C
- How to use CONNECT BY in Oracle with columns that contain strings with forward slashes
- Yii2 - Oracle performance issue when getting one row by a unique field
- Pivot statement randomly produces NULL valued columns (Oracle 12c)
- Validate datatype stored in VARCHAR2 column
- No data source definition was found for data source name: 'StorePrimary'. Oracle Retail Xstore POS Dev Setup
- Oracle catch exception code given at runtime
- Oracle's SDO_NET.FIND_CONNECTED_COMPONENTS fails with 'wrong number or types of arguments in call'
- Clone schema within same database
- Oracle PL_SQL set execution timeout
- Error while exchanging partition in Oracle ORA-14097: column type or size mismatch in ALTER TABLE EXCHANGE PARTITION
- Oracle impdb command throws ORA-12154 error, but sqlplus and sql developer are working properly
- Oracle xQuery merge two xml matching nodes
- Oracle 12c impdp ORA-12154: TNS:could not resolve the connect identifier specified
- Get new password from OraOLEDB Password Change Dialog
- Fetch/Update the amount value from previous record based on date
Related Questions in NAME-LENGTH
- enforcing functions name length in Oracle 12 to meet SQL-92 standard
- Scala method name length convention
- Internet Explorer: FileUpload control doesn't recognize files with long file names
- Maximum Possible File Name Length in Windows Kernel
- Maximum length of variable name in JavaScript
- How to find directories with the name of specific length
- Does JUnit have some weird 30 character length limit on the name of your class?
- Programmatically determine maximum filename length
- Does Java have a limit on the class name length?
- What is the maximum length of a table name in Oracle?
- Max name length of variable or method in Java
- Maximum Method Name Length
- Maximum filename length in NTFS (Windows XP and Windows Vista)?
- Effect of field name length of a database on performance?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Oracle function name length can be restricted through the COMPATIBLE parameter or through an event trigger.
Setting the COMPATIBLE parameter to a value lower than 12.2.0.0.0 will prevent any identifiers more than 30 bytes. However, this is a powerful parameter that affects a lot of functionality and cannot be easily changed.
An easier, but not as comprehensive approach, would be to create an event trigger that blocks any DDL that creates an object with a long object name. For example, the below trigger prevents one schema from creating any functions with long names.
Trying to create a function like this:
Will generate this error:
How badly do you need to restrict the names within a function? I can think of a somewhat-difficult way to restrict all identifiers of a function to 30 bytes, but it would be even more difficult to restrict only constant identifiers to 30 bytes.