My Oracle Support Banner

Alter System With Double Quotes Fails With ORA-00972 If The Value Contains More Than 128 Bytes (Doc ID 1445663.1)

Last updated on DECEMBER 24, 2019

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 10.1 to 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.


When trying to set a parameter such as service_names using alter system and specifying more than 128 bytes arguments, the below error occurred:

SQL> alter system set service_names="0,1,2,3,4,5,6,7,8,9,q,w,e,r,t,y,u,i,o,p,a,s,d,f,g,h,j,k,l,z,x,c,v,b,n,m,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56" scope=memory;

alter system set service_names="0,1,2,3,4,5,6,7,8,9,q,w,e,r,t,y,u,i,o,p,a,s,d,f,g,h,j,k,l,z,x,c,v,b,n,m,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56" scope=memory
ERROR at line 1:
ORA-00972: identifier is too long


The arguments are specified in double quotation.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.