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

  • Home
  • SEARCH
  • 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 7998699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T15:17:02+00:00 2026-06-04T15:17:02+00:00

How can we find all the variables in the package, that are not declared

  • 0

How can we find all the variables in the package, that are not declared as anchored.
Suppose I have a package as shown below:

create or replace pkg body test 
is 
 TYPE AnEntry IS RECORD (
  term    VARCHAR2(20),   --TERM IS NOT  ANCHORED 
  meaning VARCHAR2(200));  --MEANING IS NOT ANCHORED 

 procedure abc is 
  v_emp_id number;-- here v_emp_id is not an anchored variable 
 begin


 end abc;

end test;

I need a sql query, to which i pass the package name, and it will given me all the list of non anchored variables with line number.

Do we have any data dictionary views, which have such granular details, I have seen user_identifiers table, which gives granular details, but I can’t such things to satisfy my condition.

  • 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-06-04T15:17:03+00:00Added an answer on June 4, 2026 at 3:17 pm

    Realistically, you’d need to go through the DBA_SOURCE view looking for strings like VARCHAR2(, NUMBER or DATE;.

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

Sidebar

Related Questions

Is there a way I can find all the variables in Ruby that begin
How can I find all column values in a column which have trailing spaces?
In visual studio when searching for files, how can I find all files that
How can I find of all the browsers and their details that are installed
Given a package, how can I automatically find all its sub-packages?
How can we find all the variables in a python program??? for eg. Input
How i can find all the windows created by a particular process using c#?
Is there a place where I can find all the keycodes for keys on
Is there some way I can find all active spies in sinon.js? I'd like
Can we find all tables in the msaccess using sql . as we do

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.