sql - Identifier is too long -


please me find why getting identifier long error , after having enough space role in record.

exception :

error report - ora-06550: line 14, column 24: pls-00114: identifier 'ou=internal,ou=users,dc=chinas' long ora-06550: line 18, column 24: pls-00114: identifier 'ou=internal,ou=users,dc=chinas' long 06550. 00000 -  "line %s, column %s:\n%s" *cause:    pl/sql compilation error. *action: 

code :

declare  type app_realm_rec record   (     resource_filter varchar2(500),     status varchar2(500),     role varchar2(500)  );    type app_realm_tab table of app_realm_rec index pls_integer;   realm_tab app_realm_tab;   begin    realm_tab(1).resource_filter := "/secure/records*";   realm_tab(1).status := "true";   realm_tab(1).role := "ou=internal,ou=users,dc=chinastreet,dc=com;ou=external,ou=users,dc=chinastreet,dc=com";    realm_tab(2).resource_filter := "/secure/login";   realm_tab(2).status := "false";   realm_tab(2).role := "ou=internal,ou=users,dc=chinastreet,dc=com;ou=external,ou=users,dc=chinastreet,dc=com";   dbms_output.put_line('hello');   end; 

use single quotes string in pl sql

declare  type app_realm_rec record   (     resource_filter varchar2(500),     status varchar2(500),     role varchar2(500)  );    type app_realm_tab table of app_realm_rec index pls_integer;   realm_tab app_realm_tab;   begin    realm_tab(1).resource_filter := '/secure/records*';   realm_tab(1).status := 'true';   realm_tab(1).role := 'ou=internal,ou=users,dc=chinastreet,dc=com;ou=external,ou=users,dc=chinastreet,dc=com';    realm_tab(2).resource_filter := '/secure/login';   realm_tab(2).status := 'false';   realm_tab(2).role := 'ou=internal,ou=users,dc=chinastreet,dc=com;ou=external,ou=users,dc=chinastreet,dc=com';   dbms_output.put_line('hello');   end; 

Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -