Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7637615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T07:59:11+00:00 2026-05-31T07:59:11+00:00

Below is the procedure in my code: PROCEDURE OutputShipTo (MonRec IN OUT meta_imi_monitor%ROWTYPE, CustomerChangesRec

  • 0

Below is the procedure in my code:

PROCEDURE OutputShipTo (MonRec IN OUT meta_imi_monitor%ROWTYPE, 
                        CustomerChangesRec IN CustomerChanges%ROWTYPE, 
                        InType In CHAR) 
IS
BEGIN
  EXECUTE IMMEDIATE sql_stmt_loc_insert USING 'ZMSH', 'ZMSH',
      CustomerChangesRec.cab_id,CustomerChangesRec.tab_id,'ZMSH';
END;

When this procedure is getting executed, I’m getting the below error:

ERROR at line 1:
ORA-00904: invalid column name
ORA-06512: at line 601
ORA-06512: at line 1114

It is just giving me the error line number of location of procedure and where it is called. Probably, there is an invalid column in the DML ‘sql_stmt_loc_insert’, but i’m unable to figure out where it is. Is there any way, I can find out the exact error line number from the DML stmt ‘sql_stmt_loc_insert’ so that I can see the invalid column and correct it.

I can’t give the code of ‘sql_stmt_loc_insert’ due to very large number of lines.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T07:59:13+00:00Added an answer on May 31, 2026 at 7:59 am

    With the EXECUTE IMMEDIATE interface, there is no way to get more specifics about the error.

    Generally, the way people debug code that generates dynamic SQL is to print out (either to the console or to a log table) the SQL statement and the bind variables prior to calling EXECUTE IMMEDIATE. Then you can run the code interactively to get more specifics about the error.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How do I code the algorithm below in VB.NET? Procedure logfile() { if C:\textfile.txt=exist
I have ADO.Net code as below, that calls a stored procedure. Within the stored
When making an HttpWebRequest within a CLR stored procedure (as per the code below),
I have written grammar for a language (sample code below) //this is a procedure
Below is pseudo-code for SQL Server stored procedure I need to write: int[] followers
Below is some code from a C++ procedure. The original can be found here;
Below is the code: CREATE PROCEDURE [dbo].[PR_CDMS_ADMIN_GET_SECURITY_INFO] ( DECLARE @chvMajorCatgry varchar(50) DECLARE @chvMinorCatgry varchar(50)
I currently have the following code in a stored procedure (see below). In an
I've below stored proc: CREATE OR REPLACE PROCEDURE demo.run_demo(v_sql IN VARCHAR2, return_code OUT number)
How can I return List<personel> data type from below procedure. If I press F5

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.