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 8043925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T05:04:06+00:00 2026-06-05T05:04:06+00:00

As detailed in this question , it’s not possible to create OUT parameters with

  • 0

As detailed in this question, it’s not possible to create OUT parameters with size restrictions in Oracle 10g. Has this situation improved with 11g?

Here’s my real-world problem with this:

Oracle PL/SQL versions of INET6_ATON and NTOA functions?

You’re welcome 🙂 However, the one thing I do not like about these functions is the lack of a RETURN CHAR(32) forces any function-based index (FBI) to use the maximum VARCHAR2 size of 4000 for the entire index (which would usually error out because of index field size restrictions), unless you encapsulate the entire thing in a SUBSTR, forcing a fixed size. This is ugly to use in a typical SQL statement as you now have to make sure everybody is not only using the functions, but also using the SUBSTR encapsulation, so that the index is used properly.

Would virtual columns solve this problem? As in, you define virtual columns for each IP, like srcip_iptohex, srcip_nettohex_start, srcip_nettohex_end, and then put the CHAR(32) restriction on the virtual columns. Or do virtual columns even support PL/SQL calls? Since the virtual columns don’t actually get stored, you would still need to index the columns to make sure they are useful.

  • 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-05T05:04:09+00:00Added an answer on June 5, 2026 at 5:04 am

    You can’t alter the type of a virtual column, this results in ORA-54027 cannot modify data-type of virtual column.

    You can however define a virtual column with a SUBSTR (which will give the column the appropriate size), then index this virtual column. All queries against this column will be able to use the index without the need for additional “ugly” SUBSTR.

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

Sidebar

Related Questions

This question has been striking me for many days... Let's say I have a
Could you please suggest me the best possible answer to this question for a
I have looked around here to see if somebody has asked this question before
Let me preface this question and state that using Entity Framework is not an
Can anyone tell me if what is detailed in this example is possible with
I've been using the solution detailed in this question (including jLpr ) to print
Not sure where to post this question, but I am concerned about the security
I'm not really sure where to put this question (it's not really webapps or
I'm pulling a razor view's markup from the database, as detailed in this question:
I know this question has been asked several times an I spent all day

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.