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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:26:21+00:00 2026-06-15T21:26:21+00:00

I have an Oracle query which works fine when I use the command window

  • 0

I have an Oracle query which works fine when I use the command window but does not in an SQL window.

I use Pl/SQL Developer so the command window is like the DOS window.

The query is as follows:

SELECT EMPLOYEE_ID, FIRST_NAME, &&COLS 
FROM EMPLOYEE
ORDER BY &COLS;

So is the error prompted by PL/SQL Developer? Should I use another tool rather than PL/SQL Developer?

  • 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-15T21:26:22+00:00Added an answer on June 15, 2026 at 9:26 pm

    The variable substition using the ampersand is a mechanism that’s neither part of SQL nor of PL/SQL. It’s an extension of SQLplus. The same extension are implemented by Oracle’s SQL Developer.

    As far as I know, these extension are not implemented by Allround Automations’ PL/SQL Developer.

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

Sidebar

Related Questions

I have a join in a oracle query which looks like: FROM eiv.table1 eiv.table2
I have the following HQL query which works fine, however it returns a list
I have a query which works very fast on Oracle. field1 and field2 and
I wish to use a jQuery .load(oracle apex url) query. I have a main
I have a query which is something like this SELECT t.category, tc.product, tc.sub-product, count(*)
I have the following Query which works great! The only thing is that I
I have a sql query to obtainrecords for a date range. My query works
I have this oracle sql which gives me a subset of records for paging.
I have an Oracle query, which has something to the effect of Having Count(field)
I have the following query, which works in MySQL, and I need help&hints to

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.