ORA-13766: A ranking measure is required.

Cause : Th eusre attemtpedt o esletc dtaa rfoma SLQ Tnuin gSe tusnig apecrenatgea rgmuen twihtou tspceifiynga rnakign maesuer.

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

Ad da arnknig emasrue ro rmeov eth epecrenatgea rgmuen tan drerty hte poertaio.n

update : 26-04-2017

ORA-13766 - A ranking measure is required.
ORA-13766 - A ranking measure is required.

  • ora-12432 : LBAC error: string
  • ora-29374 : resource plan string in top-plan string has no plan directives
  • ora-01370 : Specified restart SCN is too old
  • ora-12727 : invalid back reference in regular expression
  • ora-30157 : An invalid argument was given to operating system call
  • ora-35587 : (SQLOUT20) The nesting of table functions and SQL commands has exceeded the maximum of number levels.
  • ora-12047 : PCT FAST REFRESH cannot be used for materialized view "string"."string"
  • ora-02212 : duplicate PCTFREE option specification
  • ora-39144 : file name parameter must be specified and non-null
  • ora-22872 : OID INDEX clause not allowed on tables with primary key based object identifiers
  • ora-02494 : invalid or missing maximum file size in MAXSIZE clause
  • ora-14628 : specification of bounds is inconsistent with LIST method
  • ora-38305 : object not in RECYCLE BIN
  • ora-00040 : active time limit exceeded - call aborted
  • ora-01191 : file string is already offline - cannot do a normal offline
  • ora-10638 : Index status is invalid
  • ora-12715 : invalid character set specified
  • ora-30443 : definition for filter string's item string is invalid
  • ora-15123 : ASM file name 'string' contains an invalid incarnation number
  • ora-10270 : Debug shared cursors
  • ora-26502 : error resignal
  • ora-24355 : attempt to store a negative number in an Unsigned Display type.
  • ora-14324 : values being added already exist in DEFAULT partition
  • ora-02327 : cannot create index on expression with datatype string
  • ora-26007 : invalid value for SETID or OID column
  • ora-06722 : TLI Driver: connection setup failure
  • ora-01664 : Transaction which has expanded the Sort Segment has aborted
  • ora-38783 : Instance recovery required.
  • ora-16157 : media recovery not allowed following successful FINISH recovery
  • ora-27165 : tried to join thread that does not exist
  • 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.