ORA-19160: XP0003 - syntax error: invalid variable name string

Cause : The given XQuery variable does not begin with the '$' sign

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

Fix the variable name to start with the "$" sign.

update : 23-07-2017

ORA-19160 - XP0003 - syntax error: invalid variable name string
ORA-19160 - XP0003 - syntax error: invalid variable name string

  • ora-23403 : refresh group "string"."string" already exists
  • ora-25122 : Only LOCAL bitmap indexes are permitted on partitioned tables
  • ora-10925 : trace name context forever
  • ora-25440 : invalid table alias: string
  • ora-26517 : materialized view control entry for 'string.string' was not found
  • ora-29656 : Invalid option for USING
  • ora-23475 : key column string must be sent and compared
  • ora-02398 : exceeded procedure space usage
  • ora-28007 : the password cannot be reused
  • ora-31411 : change set string is referenced by a change table
  • ora-09840 : soacon: Name translation failure.
  • ora-24072 : cannot execute MIGRATE_QUEUE_TABLE procedure; must own queue table
  • ora-13528 : name (string) is already used by an existing baseline
  • ora-29261 : bad argument
  • ora-28235 : algorithm not available
  • ora-08183 : Flashback cannot be enabled in the middle of a transaction
  • ora-31483 : cannot have spaces in the parameter string
  • ora-00061 : another instance has a different DML_LOCKS setting
  • ora-16544 : modifying DG_BROKER_START requires SID='*' qualifier
  • ora-30397 : multiple JOIN KEY clauses specified for the same child level
  • ora-36728 : (XSALERR01) While performing the ALLOCATE command with AGGMAP workspace object, the error logging limit of number was exceeded.
  • ora-03296 : cannot resize datafile - file string not found
  • ora-32338 : on commit refresh grab all the detailed tables
  • ora-07514 : scgcan: $deq unexpected return while canceling lock
  • ora-32550 : Replacement occured despite hint to the contrary
  • ora-12522 : TNS:listener could not find available instance with given INSTANCE_ROLE
  • ora-01685 : max # extents (string) reached in index string.string partition string
  • ora-32506 : expecting one of string, string, or string but found string
  • ora-00032 : invalid session migration password
  • ora-38766 : cannot flashback data file string; file resized smaller
  • 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.