ORA-19207: scalar parameter string of XMLELEMENT cannot have an alias.

Cause : The scalar parameter to XMLELEMENT has been qualified with an alias.

Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts

Remove the AS clause of the scalar element.

update : 26-04-2017
ORA-19207

ORA-19207 - scalar parameter string of XMLELEMENT cannot have an alias.
ORA-19207 - scalar parameter string of XMLELEMENT cannot have an alias.

  • ora-07219 : slspool: unable to allocate spooler argument buffer.
  • ora-06031 : NETDNT: connect failed, unrecognized object name
  • ora-27486 : insufficient privileges
  • ora-16138 : end of log stream not received from primary
  • ora-16651 : requirements not met for enabling Fast-Start Failover
  • ora-08236 : smsget: cannot share subcube with listener
  • ora-12561 : TNS:unknown error
  • ora-39077 : unable to subscribe agent string to queue "string"
  • ora-09932 : Close of ORACLE password file failed.
  • ora-39162 : Transportable tablespace job require privileges
  • ora-39314 : call to DBMS_SCHEMA_COPY.SYNC_CODE is not legal
  • ora-10900 : extent manager fault insertion event #string
  • ora-36155 : (XSMXAGGRFROM) workspace object must be a variable or formula of a similar data type to workspace object to be used with FROM, or a TEXT variable or formula to be used with FROMVAR.
  • ora-30374 : materialized view is already fresh
  • ora-16079 : standby archival not enabled
  • ora-31486 : cannot support column string in this configuration
  • ora-12699 : Native service internal error
  • ora-00827 : could not shrink sga_target to specified value
  • ora-08231 : smscre: unable to attach to SGA
  • ora-02718 : osnprs: reset protocol error
  • ora-09211 : sfwfb: error writing to file
  • ora-01118 : cannot add any more database files: limit of string exceeded
  • ora-31445 : invalid lock handle while acquiring lock on string
  • ora-16078 : media recovery disabled
  • ora-01183 : cannot mount database in SHARED mode
  • ora-31492 : could not set session parameters for LogMiner session
  • ora-01171 : datafile string going offline due to error advancing checkpoint
  • ora-00356 : inconsistent lengths in change description
  • ora-24265 : Insufficient privileges for SQL profile operation
  • ora-06954 : Illegal file name
  • Oracle Database Error Messages



    Oracle Database High Availability Any organization evaluating a database solution for enterprise data must also evaluate the High Availability (HA) capabilities of the database. Data is one of the most critical business assets of an organization. If this data is not available and/or not protected, companies may stand to lose millions of dollars in business downtime as well as negative publicity. Building a highly available data infrastructure is critical to the success of all organizations in today's fast moving economy.

    Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.