When you uprgrade to 10g db adn try to use toad 8.5 version you will not be able to view the package body.
Invalid IN parameter error will be encountered.To solve this change the view all_arguments.
and extra parameter subprogramid is added in 10g Db.and this is not supported in toad versions.
Solution:
Take a backup of all_arguments table,
create view all_arguments1 as select * from all_arguments.
create a view as all_arguments placing the subprogramid as the last column.
CREATE OR REPLACE VIEW all_arguments (owner,
object_name,
package_name,
object_id,
overload,
argument_name,
POSITION,
SEQUENCE,
data_level,
data_type,
DEFAULT_VALUE,
default_length,
in_out,
data_length,
data_precision,
data_scale,
radix,
character_set_name,
type_owner,
type_name,
type_subname,
type_link,
pls_type,
char_length,
char_used,
subprogram_id
)
AS
SELECT "OWNER", "OBJECT_NAME", "PACKAGE_NAME", "OBJECT_ID", "OVERLOAD",
"ARGUMENT_NAME", "POSITION", "SEQUENCE", "DATA_LEVEL", "DATA_TYPE",
"DEFAULT_VALUE", "DEFAULT_LENGTH", "IN_OUT", "DATA_LENGTH",
"DATA_PRECISION", "DATA_SCALE", "RADIX", "CHARACTER_SET_NAME",
"TYPE_OWNER", "TYPE_NAME", "TYPE_SUBNAME", "TYPE_LINK", "PLS_TYPE",
"CHAR_LENGTH", "CHAR_USED", "SUBPROGRAM_ID"
FROM all_arguments1
Oracle Technical Experience and Test Cases Shared from different resource and through self leanings.
Subscribe to:
Post Comments (Atom)
COALESCE-SQL
Coalesce- return the null values from the expression. It works similar to a case statement where if expression 1 is false then goes to expr...
-
This is easily done with the following command: select to_char(to_date('56789','J'),'JSP') from dual / TO_CHAR...
-
Example 1: Passing parameters to report 1) Go into the Data Model and then change the query: select a.*, b.dname from emp a, dept b ...
-
Creating LOVs 1. Start a new module by clicking on File - New - Form. 2. Change Module’s name to TEST_LOV. 3. Set up DEPT and EMP...
No comments:
Post a Comment
Thanks for your comments submitted.,will review and Post soon! by admin.