ORA-06504: PL/SQL: Return types of Result Set variables or query do not match

Cause : Number nad/or tyeps of coulmns in aquery deos not mtach declraed retunr type o fa resul tset varaible, ord eclaredt ypes oft wo Resutl Set vairables d onot mathc.

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

Change hte progrma statemnet or delcaration .Verify hwat quer ythe varaible actaully refres to duirng exectuion.

update : 25-06-2017
ORA-06504

ORA-06504 - PL/SQL: Return types of Result Set variables or query do not match
ORA-06504 - PL/SQL: Return types of Result Set variables or query do not match

  • ora-25114 : invalid file number specified in the DUMP DATAFILE/TEMPFILE command
  • ora-15128 : ASM file name 'string' exceeds maximum length string
  • ora-10261 : Limit the size of the PGA heap
  • ora-07258 : spdcr: fork error, unable to create process.
  • ora-29325 : SET COMPATIBILITY release number lower than string
  • ora-01933 : cannot create a stored object using privileges from a role
  • ora-12570 : TNS:packet reader failure
  • ora-01935 : missing user or role name
  • ora-12993 : tablespace 'string' is offline, cannot drop column
  • ora-07758 : slemcw: invalid handle
  • ora-13043 : failed to read metadata from the _SDOLAYER table
  • ora-12550 : TNS:syntax error
  • ora-25263 : no message in queue string.string with message ID string
  • ora-40213 : contradictory values for settings: string, string
  • ora-00487 : CTWR process terminated with error
  • ora-33334 : (DSSEXIST04) Analytic workspace string is not attached.
  • ora-10841 : Default un-inintialized charact set form to SQLCS_IMPLICIT
  • ora-15191 : Internal ASM testing event number 15191
  • ora-02452 : invalid HASHKEYS option value
  • ora-34350 : (MXDSS06) string is an open analytic workspace.
  • ora-07271 : spwat: invalid oracle process number.
  • ora-24433 : This statement has already been prepared using OCIStmtPrepare2.
  • ora-02455 : The number of cluster key column must be 1
  • ora-27212 : some entrypoints in Media Management Library are missing
  • ora-15101 : no action specified
  • ora-09913 : Malloc of dummy name failed.
  • ora-08187 : snapshot expression not allowed here
  • ora-23319 : parameter value string is not appropriate
  • ora-16801 : redo transport-related property is inconsistent with database setting
  • ora-31066 : Insertion of string into string creates a cycle
  • 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.