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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:55:36+00:00 2026-05-28T06:55:36+00:00

Today i was executing DML statements from sql file in sqlplus, oracle 10.2, i

  • 0

Today i was executing DML statements from sql file in sqlplus, oracle 10.2, i found something weird which is actually a question “Enter value for hamburger:“. See attached image

and ending of question “Enter value for XXX” kept change with intervals. i mean after few seconds i found statement “Enter value for mcdonald”….

I want to know is it normal with sqlplus ????

i have tried to execute DML statement by giving location of sql file in sqlplus.

SQL>@/tmp/myDir/dmls.sql;

An Exemplary statement from sql file is

Insert into MYSCHEMA.MYTABLE (ID,DIX_DIR_ID,DIX_AGL,DIX_XML_INLINE) values (23202,1100080319000620471,'directory','<values>
 <dir_class_title>Person</dir_class_title>
</values>
');
  • 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-28T06:55:37+00:00Added an answer on May 28, 2026 at 6:55 am

    You most certainly have an ampersand in your statement.

    When SQL*Plus encounters an ampersand, it tries to replace it with what it is defined to. If it is undefined, it prompts for a value:

    This is a statment without ampersand:

    SQL> select 'foo' from dual;
    'FO
    ---
    foo
    

    Now, another statement with an ampersand. The value for foo is not (yet) defined, so it prompts for one:

    SQL> select '&foo' from dual;
    Enter value for foo: bla
    old   1: select '&foo' from dual
    new   1: select 'bla' from dual
    
    'BL
    ---
    bla
    

    Now, foo is defined to be bar:

    SQL> define foo=bar
    

    The select statement (with &foo) returns bar:

    SQL> select '&foo' from dual;
    old   1: select '&foo' from dual
    new   1: select 'bar' from dual
    
    'BA
    ---
    bar
    

    See also DEFINE and Defining Substitution Variables

    If you want to turn that behavior off, do as

    SQL> set define off
    

    Edit: changed set define= to set define off as per Adam Musch’s suggestion.

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

Sidebar

Related Questions

Today, I ran into this weird problem with a user using Mac OS X.
Today I stumbled about a Problem which seems to be a bug in the
Today when I was in computer organization class, teacher talked about something interesting to
Later today, I was scrolling through ejhon.com slides and I found out the following:
Google Reader API Seems expecting something different for authentication today! About a week ago,
Today I've tried to include file that returns object. I always use require_once, however
Today I found this query in our code that pulls up a list of
I'm trying to delete all calendar entries from today forward. I run a query
I need to make a graphic interface in Lazarus from which I run miscelaneous
Today I ran into an issue with LINQ to objects (not SQL) that popped

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.