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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T08:52:47+00:00 2026-05-29T08:52:47+00:00

We just migrated from Oracle 8i to Oracle 11g. In doing so we ran

  • 0

We just migrated from Oracle 8i to Oracle 11g. In doing so we ran into a problem we have a variable called current_time. we use it as both a variable in various procedures and functions ans as well as column names in several tables. The references to the term ‘CURRENT_DATE) looks to be in the neighborhood of a few thousand in our procview. When we upgraded, suddenly any time we were referring to the term current_date the new function was overriding the variables and column names. My question is how can we disable the reference to the oracle defined function?

  • 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-29T08:52:48+00:00Added an answer on May 29, 2026 at 8:52 am

    You need to qualify the column name. Otherwise, Oracle’s scope resolution rules will choose the function over the column

    SQL> create table foo( current_date date );
    
    Table created.
    
    SQL> insert into foo values( date '2011-01-01' );
    
    1 row created.
    
    SQL> select current_date from foo;
    
    CURRENT_D
    ---------
    07-FEB-12
    
    SQL> select f.current_date from foo f;
    
    CURRENT_D
    ---------
    01-JAN-11
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We just migrated from MYSQL to Oracle 11g and I have to change some
We have just 'migrated' an SQL Server 2005 database from DEVEL into TEST. Somehow
I've just migrated from SQL2000 to SQL2008 and I have started getting an execute
i have just migrated from a single web server environment to a multiwebserver environment
I just migrated my Rails app from MySql to Neo4j. I have been storing
HI I just migrated from VS2008 to VS2010 Pro. When I use windows controls
I just migrated my django application from sqlite3 to mysql 5.1.41. I have a
I've got a fairly large MFC application that has just been migrated from VS6.0
I just right now migrated from C# to C++/CLR. First I was annoyed, that
I've migrated my database on my mobile device away from VistaDB because it's just

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.