PLSQL error
Hi,
Could you suggest on below:
Database: 11g
Below is part of my code which is giving error:
OPEN cur_vendor_name (v_todo_prog_date);
LOOP
vt_supplier_details.DELETE;
FETCH cur_vendor_name BULK COLLECT
INTO vt_supplier_details;
BEGIN
IF tcf_sucessfull(l_request_id) --Function
THEN
FOR vn_i_index IN 1..vt_supplier_details.COUNT
LOOP
l_request_id_2(vn_i_index) := fnd_request.submit_request(
application => 'XXCNV',
program => 'XXTOP_UFD_VJNB',
description => NULL,
start_time => NULL,
sub_request => FALSE,
argument1 => vt_supplier_details(vn_i_index)
END LOOP;
END IF;
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
EXIT WHEN cur_vendor_name%NOTFOUND;
END LOOP;
CLOSE cur_vendor_name;Errors
====
Warning: execution completed with warning
204/25 PLS-00308: this construct is not allowed as the origin of an assignment
204/25 PL/SQL: Statement ignored
thanks.
l_request_id_2 as l_request_id_2 NUMBER DEFAULT 0;Change as
TYPE l_request_id_2 IS TABLE OF NUMBER(100);or
TYPE l_request_id_2 IS RECORD (
l_request_id_2 NUMBER DEFAULT 0);Edited by: Venkadesh on Jun 21, 2012 12:16 PM
Similar Messages
-
How to handle the plsql error occuring in the exception block
We know how to handle exceptins which occur in BEGIN block.
But am unable to catch the exception in the exception block. Am writing an erroeneous code so that the control will go to exception block and there is also one plsql error, but am unable to handle that error, it's returning the error to the calling environment.
DECLARE
cnt NUMBER(5):=0;
BEGIN
select 'debalina' INTO cnt from dual;
DBMS_OUTPUT.PUT_LINE(to_char(cnt));
EXCEPTION
WHEN invalid_number THEN
DBMS_OUTPUT.PUT_LINE('error has occured inside begin block');
cnt:='deba';
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('error has occured inside begin block');
END;
please suggest me how to catch this exception?Hi,
DECLARE
cnt NUMBER(5):=0;
BEGIN
select 'debalina' INTO cnt from dual;
DBMS_OUTPUT.PUT_LINE(to_char(cnt));
EXCEPTION
WHEN invalid_number THEN
DBMS_OUTPUT.PUT_LINE('error has occured inside begin block');
cnt:='deba';
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('error has occured inside begin block');
END;
First of all your namee exception which you have posted i.e invalid_number itself is wrong.
You need to use named exception VALUE_ERROR for catching the exception in the main block.
SQL> DECLARE
2 cnt NUMBER(5):=0;
3 BEGIN
4 select 'debalina' INTO cnt from dual;
5 DBMS_OUTPUT.PUT_LINE(to_char(cnt));
6 EXCEPTION
7 WHEN Invalid_number THEN
8 DBMS_OUTPUT.PUT_LINE('error has occured inside main block');
9 end;
10 /
DECLARE
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error: character to number conversion error
ORA-06512: at line 4
SQL> DECLARE
2 cnt NUMBER(5):=0;
3 BEGIN
4 select 'debalina' INTO cnt from dual;
5 DBMS_OUTPUT.PUT_LINE(to_char(cnt));
6 EXCEPTION
7 WHEN VALUE_ERROR THEN
8 DBMS_OUTPUT.PUT_LINE('error has occured inside main block');
9 end;
10 /
error has occured inside main block
PL/SQL procedure successfully completed.Your doubt regarding catching the exception in exception block, you can execute as below, by nesting a Begin block inside the exception block itself.
SQL> DECLARE
2 cnt NUMBER(35):=0;
3 BEGIN
4 select 'debalina' INTO cnt from dual;
5 DBMS_OUTPUT.PUT_LINE(to_char(cnt));
6 EXCEPTION
7 WHEN Value_error THEN
8 DBMS_OUTPUT.PUT_LINE('error has occured inside main block');
9 Begin
10 cnt:='deba';
11 Exception
12 WHEN OTHERS THEN
13 DBMS_OUTPUT.PUT_LINE('error has occured inside exception block');
14 End;
15 END;
16 /
error has occured inside main block
error has occured inside exception block
PL/SQL procedure successfully completed.Hope your doubt is clear.
Twinkle -
SSO Enabled Environment. When login using OAM page, Some of the users are getting this error.
You have encountered an unexpected PLSQL error. Please contact System Administrator: When login using SSO
Not sure why this is happening. Few users started complaining that they get this error. If they using direct login url to EBS (bypass link) - It works fine.
Any idea ?please check Apache and application.log
looks like you hit a bug
Bug 14230537 : PLSQL ERROR OCCUR WHEN LOGIN EBS INTEGRATED WITH OAM(11.1.1.5.0 )
AppsMasti
Sharing is Caring -
PLSQL ERROR. REQUIRED HELP...!!
Hi,
I developed the following code which is throwing PLSQL ERROR. (error is below the code). Pls Help me out.
CODE :
Declare
vRow binary_integer;
v_pro_id number;
i NUMBER := 1;
cursor c1 IS (select BUSINESS_UNIT_ID, OBJECT_TYPE_ID, TASK_ID, CHECKLIST_HEADER_ID, CHECKLIST_ID, DEFAULT_SELF_REVIEW_FLAG, DEFAULT_PEER_REVIEW_FLAG, DEFAULT_ORIGIN_OF_DEFECTS, DEFAULT_ADMIN_SEVERITY, DEFAULT_ADMIN_CLASSIFICATION from RCL.RCL_CL_ADMIN_SETUP where BUSINESS_UNIT_ID = :P270_BUID);
rec c1%ROWTYPE;
TYPE bu IS TABLE OF RCL.RCL_CL_ADMIN_SETUP%ROWTYPE INDEX BY BINARY_INTEGER;
bu_rec bu;
begin
FOR k IN 1..wwv_flow.g_f01.count LOOP
vRow := wwv_flow.g_f01(k);
open c1;
fetch c1 into rec;
bu_rec(i) := rec;
WHILE (c1%FOUND) LOOP
i := i + 1;
FETCH c1 INTO rec;
bu_rec(i) := rec;
end loop;
close c1;
FOR j IN 1..i-1 LOOP
select id into v_pro_id from projects where id = wwv_flow.g_f32(vRow);
INSERT INTO RCL.RCL_CL_PROJECT_SETUP
(BUSINESS_UNIT_ID
,PROJECT_ID
,OBJECT_TYPE_ID
,TASK_ID
,CHECKLIST_HEADER_ID
,CHECKLIST_ID
,DEFAULT_SELF_REVIEW_FLAG
,DEFAULT_PEER_REVIEW_FLAG
,PROJECT_ORIGIN_OF_DEFECTS
,DEFAULT_PROJECT_SEVERITY
,DEFAULT_PROJECT_CLASSIFICATION)
VALUES
(bu_rec(j).BUSINESS_UNIT_ID
,v_pro_id
,bu_rec(j).OBJECT_TYPE_ID
,bu_rec(j).TASK_ID
,bu_rec(j).CHECKLIST_HEADER_ID
,bu_rec(j).CHECKLIST_ID
,bu_rec(j).DEFAULT_SELF_REVIEW_FLAG
,bu_rec(j).DEFAULT_PEER_REVIEW_FLAG
,bu_rec(j).DEFAULT_ORIGIN_OF_DEFECTS
,bu_rec(j).DEFAULT_ADMIN_SEVERITY
,bu_rec(j).DEFAULT_ADMIN_CLASSIFICATION);
END LOOP;
END LOOP;
end;
Error :
1 error has occurred
ORA-06550: line 11, column 25: PLS-00302: component 'RCL_CL_ADMIN_SETUP' must be declared ORA-06550: line 11, column 1: PL/SQL: Item ignored ORA-06550: line 21, column 14: PLS-00382: expression is of wrong type ORA-06550: line 21, column 1: PL/SQL: Statement ignored ORA-06550: line 25, column 14: PLS-00382: expression is of wrong type ORA-06550: line 25, column 1: PL/SQL: Statement ignored ORA-06550: line 46, column 4: PLS-00487: Invalid reference to variable 'RCL.RCL_CL_ADMIN_SETUP%ROWTYPE'.
Regards,
VMComplete Grant. Its working now.. Just got a solution from some forum. It happened due to a SYNONYMs. There was a SYNONYM name "RCL". I dropped that synonym and its working but the values are not getting inserted now... :(
-
PLSQL Error while using collections dATABASE:10G
Hi,
I am getting below error while compiling below code:
Error: DML statement without BULK In-BIND cannot be used inside FORALL
Could you suggest.
create or replace PROCEDURE V_ACCT_MTH ( P_COMMIT_INTERVAL NUMBER DEFAULT 10000)
is
CURSOR CUR_D_CR_ACCT_MTH
IS
SELECT * FROM D_ACCT_MTH;
TYPE l_rec_type IS TABLE OF CUR_D_CR_ACCT_MTH%ROWTYPE
INDEX BY PLS_INTEGER;
v_var_tab l_rec_type;
v_empty_tab l_rec_type;
v_error_msg VARCHAR2(80);
v_err_code VARCHAR2(30);
V_ROW_CNT NUMBER :=0;
--R_DATA NUMBER :=1;
BEGIN
OPEN CUR_D_CR_ACCT_MTH;
v_var_tab := v_empty_tab;
LOOP
FETCH CUR_D_CR_ACCT_MTH BULK COLLECT INTO v_var_tab LIMIT P_COMMIT_INTERVAL;
EXIT WHEN v_var_tab.COUNT=0;
FORALL R_DATA IN 1..v_var_tab.COUNT
INSERT INTO ACCT_F_ACCT_MTH
DATE_KEY
,ACCT_KEY
,P_ID
,ORG_KEY
,FDIC_KEY
,BAL
,BAL1
,BAL2
,BAL3
,BAL4
,BAL5
,BAL6
,BAL7
,BAL8
,BAL9
,BAL10
,BAL11
,BAL12
,BAL13
,BAL14
,BAL15
VALUES
DATE_KEY(R_DATA)
,ACCT_KEY(R_DATA)
,P_ID(R_DATA)
,ORG_KEY(R_DATA)
,FDIC_KEY(R_DATA)
,BAL(R_DATA)
,BAL(R_DATA)
,BAL(R_DATA)
,BAL(R_DATA)
,BAL(R_DATA)
,BAL(R_DATA)
,BAL(R_DATA)
,BAL(R_DATA)
,BAL(R_DATA)
,BAL(R_DATA)
,BAL(R_DATA)
,BAL(R_DATA)
,BAL(R_DATA)
,BAL(R_DATA)
,BAL(R_DATA)
,BAL(R_DATA)
COMMIT;
END LOOP;
CLOSE CUR_D_CR_ACCT_MTH;
EXCEPTION
WHEN OTHERS THEN
v_error_msg:=substr(sqlerrm,1,50);
v_err_code :=sqlcode;
DBMS_OUTPUT.PUT_LINE(v_error_msg,v_err_code);
END V_ACCT_MTH;931832 wrote:
Here i am using above method using forall because of large volume of data.Which is a FLAWED approach. Always.
FORALL is not suited to "move/copy" large amounts of data from one table to another.
Any suggestion ?Use only SQL. It is faster. It has less overheads. It can execute in parallel.
So execute it in parallel to move/copy that data. You can roll this manually via the DBMS_PARALLEL_EXECUTE interface. Simplistic example:
declare
taskName varchar2(30) default 'PQ-task-1';
parallelSql varchar2(1000);
begin
--// create trask
DBMS_PARALLEL_EXECUTE.create_task( taskName );
--// chunk the table by rowid ranges
DBMS_PARALLEL_EXECUTE.create_chunks_by_rowid(
task_name => taskName,
table_owner => user,
table_name => 'D_ACCT_MNTH',
by_row => true,
chunk_size => 100000
--// create insert..select statement to copy a chunk of rows
parallelSql := 'insert into acct_f_acct_mth select * from d_acct_mnth
where rowid between :start_id and :end_id';
--// run the task using 5 parallel processes
DBMS_PARALLEL_EXECUTE.Run_Task(
task_name => taskName,
sql_stmt => parallelSql,
language_flag => DBMS_SQL.NATIVE,
parallel_level => 5
--// wait for it to complete
while DBMS_PARALLEL_EXECUTE.task_status( taskName ) != DBMS_PARALLEL_EXECUTE.Finished loop
DBMS_LOCK.Sleep(10);
end loop;
--// remove task
DBMS_PARALLEL_EXECUTE.drop_task( taskName );
end;
/Details in Oracle® Database PL/SQL Packages and Types Reference guide.
For 10g, the EXACT SAME approach can be used - by determining the rowid chunks/ranges via a SQL and then manually running parallel processes as DBMS_JOB. See {message:id=1108593} for details. -
Dynamic Action Set Value - PLSQL Error - cannot contain an expression
I am trying to use below in a Dynamic Action to Set Value with PL/SQL Function. The dynamic action does not update the item appropriately. I tried to run the below directly in SQL Workshop but received the error "PLS-00372: In a procedure, RETURN statement cannot contain an expression". How can I get below to return the value needed?
DECLARE
rqstdaloe number;
rqstdeloe number;
devpercent number;
rqsttarget date;
timeleft number;
PSPTime number;
DevTime number;
DevPer number;
BEGIN
SELECT SUM("TRACK_TIME_SPENT") INTO rqstdaloe
FROM "TIME_TRACKER"
LEFT JOIN "TBL_R66_TASK_TYPE" ON "TASK_TYPE_ID" = "TRACK_TYPE"
WHERE "TRACK_REQUEST_ID" = :P2_REQUEST_ID AND "TASK_TYPE_TYPE" = 'DEV';
rqstdeloe := :P2_REQUEST_ELOE;
SELECT SUM(TT1."TRACK_TIME_SPENT") INTO DevTime
FROM "TIME_TRACKER" TT1
LEFT JOIN "TBL_R66_TASK_TYPE" TT2 ON TT1."TRACK_TYPE" = TT2."TASK_TYPE_ID"
WHERE TT1."TRACK_USER" = :P2_PSP_ASSIGNED_PRIMARY AND TT2."TASK_TYPE_TYPE" = 'DEV';
SELECT SUM(TT1."TRACK_TIME_SPENT") INTO PSPTime
FROM "TIME_TRACKER" TT1
WHERE TT1."TRACK_USER" = :P2_PSP_ASSIGNED_PRIMARY;
DevPer := ROUND(DevTime/PSPTime,2)*8;
timeleft := TRUNC(((NVL(rqstdeloe,0) - NVL(rqstdaloe,0))/DevPer)+.99999,0);
rqsttarget := to_date(sysdate,'mm/dd/yyyy') + timeleft;
RETURN rqsttarget;
END;Hi Dave,
just a quick hint. If you just want to have the time part of a date/sysdate, you can use TRUNC to do that. So your existing code
rqsttarget := to_date(sysdate,'mm/dd/yyyy') + timeleft;could be changed to
rqsttarget := trunc(sysdate) + timeleft;If you perform a TO_DATE on a date variable, the PL/SQL engine will first convert that date variable with an implicit type conversion to a VARCHAR2, because the TO_DATE interface only supports VARCHAR2's and NUMBER's.
But implicit type conversions are always dangerous, because if your default date format mask isn't mm/dd/yyyy your TO_DATE will fail.
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
PLSQL Error Database: 11g
oracle
Using xhost command is really old fashioned and pretty much obsolete. Why are you using this command?
If you are sitting at the servers console and need to run a GUI program like the Oracle Installer using the oracle account, the following will do the trick:
ssh -X oracle@localhostWhen using the above command make sure you do NOT set a DISPLAY variable or have one in your login script - SSH takes care of it. You also do not need the xhost command.
For further troubleshooting post your OS version and describe what you are trying to accomplish. -
Passing plsql parm to a sql statement in the procedure database link name
Would like to pass a parm that is the database link name to a stored procedure. I defined this as below. var1 is the name of the db link that I would like to pass
create or replace procedure proc1 (var1 in varchar2) as
cursor c1 is
select num,name,city from emp@var1;
However, this is getting a plsql error in the above code as bad bind variable, db link name expected.
Is there a method to pass a variable within a stored proc into a SQL statement that has a cursor ..
thanksHi,
Database links have to be hard-coded. If you really need to specify the database link at run-time, then you need Dyanmic SQL.
Why do you need to do this? How many databases are involved? Do you have new database links all the time? The more you can say about your business requirements, the more helpful we can be.
Are there only a couple of possible database links? If so, you might consider hard-coding each of them, and branching to the appropriate one in your code.
is the real variable here the environment (Development, Test, Production) that you're in? For example, do you need to use one database link in Development, a different one in Test, and a third in Production, but you don't want to change the code when you move from one environment to another? If so, you can try conditional comilation. -
LOG ERRORS failing to capture 2291 errors on UPDATE statement
We are running Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
We have often successfully used the error logging clause when performing batch inserts to the database. However, we now have a situation where an UPDATE statement is failing and rolling back upon encountering a foreign-key referential constraint [ORA-02291]. It is successfully recording Check constraint errors [ORA-02290]. The foreign keys are not deferred, and they have nothing to do with any unique constraints or indices on the table that is the target of the UPDATE statement. The Error-logging table was created by using the DBMS_ERRLOG package. We recreated it to make sure that we had not introduced column format errors. The same problem occurs. The UPDATE statement is attempting to update approximately 12000 rows. Any help in understanding this problem would be appreciated.
Here is the error statement
ORA-02291: integrity constraint (OIFS.FRAME_FK07) violated - parent key not found
Here is the problem statement and its surrounding PLSQL block:
BEGIN <<update_records>>
UPDATE frame f
SET (company_name,
address1_line,
address2_line,
address1_city,
address1_state,
address1_zip,
contact1_name,
contact1_phone_number,
update_date,
update_user,
-- comments,
facility_name,
facility_type,
doing_business_as,
contact1_phone_ext,
contact1_fax,
contact1_email,
contact2_name,
contact2_phone_number,
contact2_phone_ext,
contact2_fax,
contact2_email,
source_survey,
source_status,
address2_city,
address2_state,
address2_zip,
facility_location_number,
attention_line,
company_official,
facility_irs_code
) =
(SELECT company_name,
address1_line,
address2_line,
address1_city,
address1_state,
address1_zip,
contact1_name,
contact1_phone_number,
SYSDATE,
user_in,
facility_name,
facility_type,
doing_business_as,
contact1_phone_ext,
contact1_fax,
contact1_email,
contact2_name,
contact2_phone_number,
contact2_phone_ext,
contact2_fax,
contact2_email,
source_survey,
source_status,
address2_city,
address2_state,
address2_zip,
facility_location_number,
attention_line,
company_official,
facility_irs_code
FROM oifs.respondent r
WHERE r.cin = f.cin
WHERE f.cin IN
(SELECT cin
FROM
(SELECT cin,
company_name,
address1_line,
address2_line,
address1_city,
address1_state,
address1_zip,
contact1_name,
contact1_phone_number,
facility_name,
facility_type,
doing_business_as,
contact1_phone_ext,
contact1_fax,
contact1_email,
contact2_name,
contact2_phone_number,
contact2_phone_ext,
contact2_fax,
contact2_email,
source_survey,
source_status,
address2_city,
address2_state,
address2_zip,
facility_location_number,
attention_line,
company_official,
facility_irs_code
FROM oifs.respondent
MINUS
SELECT cin,
company_name,
address1_line,
address2_line,
address1_city,
address1_state,
address1_zip,
contact1_name,
contact1_phone_number,
facility_name,
facility_type,
doing_business_as,
contact1_phone_ext,
contact1_fax,
contact1_email,
contact2_name,
contact2_phone_number,
contact2_phone_ext,
contact2_fax,
contact2_email,
source_survey,
source_status,
address2_city,
address2_state,
address2_zip,
facility_location_number,
attention_line,
company_official,
facility_irs_code
FROM oifs.frame
LOG ERRORS INTO oifs.frame_load_errors
(job_num || ' ' || TO_CHAR(SYSDATE, 'YYYYMMDD HH24:MI:SS') || ' update')
REJECT LIMIT UNLIMITED;
EXCEPTION
WHEN OTHERS THEN
ohub.err_pkg.record_and_continue(msg_in => 'problem in updating FRAME rows');
RAISE;
END update_records;Thank you for your help. It pointed me in the right direction, which was to temporarily disable the triggers. The ORA-02291 errors were then properly captured in the error-logging-table.
The problem did not appear to be related to the trigger. The problem that was captured in my PLSQL error-handler but not the error-logging-table was an ORA-02291, which was specific to the original table. The trigger-driven processing did not seem to generate any errors (I have PLSQL error-handling logic in there as well).
I was aware of Tom Kyte's statement, and I knew triggers were dicey when I decided to use them. It seemed the best way to try to ensure database integrity when regular Foreign-Key and Check constraints did not suffice. I am now paying the price for that decision. -
A problem with plsql trigger in my form
i created two text field and a button(insert) to take the value of the text feild at run time and insert it in the table
this is my procedure
CREATE OR REPLACE PROCEDURE insert_value
(brn_id_in_p IN branch.brn_id%TYPE,
brn_name_in_p IN branch.brn_name%TYPE)
IS
BEGIN
INSERT INTO branch (brn_id,brn_name)
VALUES (brn_id_in_p, brn_name_in_p);
END insert_value;
and in the form button trigger (when button pressed ) i wrote this
EXECUTE insert_value(:BRANCH.BRN_ID_TF,:BRANCH.BRN_NAME_TF);
but it gave me plsql error but i dont know why?
note BRANCH is the datablock name and BRN_ID_TF,BRN_NAME_TF is the name of the itemsOnly write
insert_value(:BRANCH.BRN_ID_TF,:BRANCH.BRN_NAME_TF);
and then give me the error which is prompted...
another problem may occur with the data type which you declared in the properties of the text items
:BRANCH.BRN_ID_TF and :BRANCH.BRN_NAME_TF
in your forms. -
Getting error while creating placeholder column
i have created the code for placeholder in the following way:
in before i have specified:
function before report return boolean is
begin
if :dno=10 then
:cp_job:='manager';
elsif :dno=20 then
:cp_job:='salesman';
end if;
return(true);
end;after executing i got the following error: rep-fatal plsql error eccoured
ora-6502-numeric or value errorokay. and what is the type and length of cp_job?
when i get that error, it is usually because the variable is the wrong type, or if it is the right type, then the length may be too short.
when do you see the error? when you compile the trigger or when you run the report? -
How to download a file from a table not in the parsing schema
We have a table in another schema which holds files in a blob column. I can create a form on this table and the file upload works fine. The file browse page item has the source as the blob column and storage type "BLOB column specified in Item Source attribute". The download link generated for the page shows a call to apex_util.get_blob_file and the parameters are correct. However, when you click on the link you get a Page Not Found 404 error. Same error in Apex 4.1.1. The plsql error is:
ORA-20544: Invalid table owner
ORA-06512: at "APEX_040000.WWV_FLOW_DML", line 1628
ORA-06512: at "APEX_040000.HTMLDB_UTIL", line 2244
ORA-06512: at line 31
Is there a way to use apex_util.get_blob_file to download a file when the table is in another schema?
Rod WestHi,
I am not sure that the post explains everything as the "Automatic Row Processing" and "Automatic Row Fetch" process work fine on this page and therefore security should not be an issue.
Thanks for the view suggestion, but I am not sure that a view is a good option for us because the parsing schema does not have create view privilege and therefore the view would be difficult to install and maintain. We will problably end up with a custom download file process.
Rod West -
When I update a second row in my form I lose connection and chrash
Hello everyone out there,
I have a problem, and it is becoming a big problem.
When I run my form on the web, using the 6iserver, I can update a row and commit it without any problems. If however I update another row and commit this, I get a couple of FRM-40733 PLSQL error BUILT IN DBMS_ERROR_TEXT failed Then an unhandled exception and finally I get ORA-03114 Connection lost. This is reproducable every time and seems to be occurring in al forms I generate new since a week or two! I don4t know of any changes of the enviremont on the development side.
The error doesn4t occur on when running the form client server!
Oracle database version 8.1.7.3.0
9ias version 1.0.2.2.2
We use Headstart version 6.5
I truly hope someone knows more about this problem!
Martijn VeldhoenOK - we still need to know what line this is happening at.
As a minimum, you can put in a few message lines message('Got to line10'); etc etc So you know the line which is
causing the problem
Once you estanlish this - try and remove all other code and items on the Forms so that it still reproduces - this way you
have the smallest (and simplest) reproducable test case.
Regards
Grant -
Deploying PLL file in Application Server (oracle IAS10g) VERY URGENT
Hai,
I have some doubts abt PLL files.(PL sql Libraries)
I tried to use PLL in Windows and it runs fine.
When I tries to use that pll on Linux Advanced Server 3 using Oracle IAS10g, The Function in the pll is not accessible.
What am I doing wrong??
1.In Which path I have to deploy the PLL file
2. Is the PLL file is compiled
3. How to make a Linux Version out of it?
Our Pll file name is ENCRIPT1.pll
Th error message is
PL/SQL ERROR 201,...
identifier ENCRIPT1 must be declared
Please Help
IT IS VERY URGENThai
As u said, We have compiled the pll file in linux application server The compilation of the pll file was successful. And then compiled the form in linux application server. But still the same problem occurs. We have also checked the case sensitivity. Actually the form is working very well in the Wndows machine.
The error is
identifier ENCRYPT MUST BE DECLARED
PLSQL ERROR 201 -
Tabular form number validtion is not working
Hi,
I have an tabular form with updatable columns which has datatype as number. i have created the in built tabular form validation "Item/value specified is numeric" for this updatable columns.
when i entered any non numeric character like "asdasd" into this updatable columns. it shows me plsql error. PL/SQL: numeric or value error: character to number conversion error.
can you please help me on this?
Regards,
NileshHi,
If you enter "asdasd" and get PL/SQL: numeric or value error: character to number conversion error , it only implies the right thing is happening.
Maybe what you are alluding to is that the messages is not the way you want it. It should perhaps be "<column_name> must be numeric."
What do you have in the Error Message item of this process? If is it null you are likely to get the message of the type you are getting.
Did you by any chance try to change the default error message, which reads "#COLUMN_HEADER# must be numeric."?
Regards,
Maybe you are looking for
-
I have a apple iPad mini I bought new last year in November. I don't know much of anything else except it has 16GB. There aren't any other problems besides me forgetting the passcode. I have tried to get help from apple support but seemed to go in c
-
Extract article from HTML code
Hi, I'm trying to build a search engine for an RSS feed. Thing is i'm trying to store every article as a BLOB field in the database. To optimize my search i'll need to extract the article only and nothing else (no unrelated hyperlinks or html code) I
-
Upgrading to 1.2.1
I have sqldeveloper 1.2.0 installed and used the 'Check for Updates' option in HELP which told me there are no updates available. Not once has this successfully downloaded updates for me. Just wondering why this feature is available at all. I am hopi
-
MBA For Sale in Apple stores...but
The Raleigh store in NC recieved their MBAs yesterday and already sold out. Not sure when they're getting more. However, I did ask on behalf of myself and those of us that would like the 1.8ghz processor with the 80gb hard drive, if that package set
-
Hi I'm making a site, but do not have an online host yet. I want to make a login system, so I need a database. but when i want to set the site definition thing i don't know how to insert a proper path, or even what to insert. please give me step by s