Reason for geting ORA-01422: exact fetch returns more than requested number of rows
问题 So i am working on an installer where the installer connects to a database and creates tables and populates them. Every aspect of this works correctly except when i attempt to add rows to a certian table. declare retVal INTEGER; rptID INTEGER; catID INTEGER; wsID INTEGER; paramID INTEGER; dtID INTEGER; begin select PK into catID from RPT_CATEGORY where KEYVALUE = 'ProductivityReportsCategory'; select PK into rptID from RPT_REPORT where KEYVALUE = 'ProductivitySummaryReport2'; select PK into