Topic: SQL*Plus and PL/SQL >> SET_CONSTRAINT_COLUMNS
|
Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property.
You may review the entire Oracle Certification Program Candidate Agreement online Here.
|
|
|
|
| Title: SET_CONSTRAINT_COLUMNS |
| sumit |
Posted: Jan 19, 2006 02:12:10 PM |
Total Post: 2
Joined: Nov, 2005
|
hi all
i am geting fallowing error
ERROR at line 12:
ORA-06550: line 12, column 1:
PLS-00306: wrong number or types of arguments in call to
'SET_CONSTRAINT_COLUMNS'
ORA-06550: line 12, column 1:
PL/SQL: Statement ignored
i ran following code
DECLARE
CANON_INVOKER VARCHAR2(32767);
TYPE CourseList IS TABLE OF VARCHAR2(30);
COLUMN_TABLE CourseList := CourseList('a');
OBJECT_NAME VARCHAR2(32767);
CONSTRAINT_NAME VARCHAR2(32767);
BEGIN
CANON_INVOKER:='aaaaa';
OBJECT_NAME:='a';
CONSTRAINT_NAME:='aa';
sys.dbms_apply_adm_internal.SET_CONSTRAINT_COLUMNS (CONSTRAINT_NAME,OBJECT_NAME,COLUMN_TABLE,CANON_INVOKER);
END;
please let me know where i am wrong
thanks
-sk |
|
|
chandra |
| Posted: Jan 29, 2006 01:52:43 AM | |
|
Total Post: 2
Joined: Jan, 2006
|
Check the source code and the argument types and number of arguments for the call being made.Also be careful that the
variables used are not keywords. I dont have oracle installed and hence posting you the overview solution of the query as to what you should be doing.
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |
|
|
|
|
Forum Rules & Description
Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user
|
| |
Get FREE Magazines
|
Top 10 Forum User
|
| Murtuja Khokhar | 857 |
| Mohammed Taj | 746 |
| positive fanatic | 483 |
| Jayanta Sur | 479 |
| Vigyan Kaushik | 386 |
| Gopu Gopi | 334 |
| Gitesh Trivedi | 322 |
| Vinoth Kumar | 264 |
| neeraj sharma | 258 |
| Ramesh Jois | 246 |
|
|