Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

deference between & and &&

Answer Posted / esakkiraja

Both of these are substitution variable adn difference
between & and &&:

&--->the variable prefixed with an ampersand (&) to
prompt the user for a value.

eg:
SELECT employee_id, last_name, salary, department_id
FROM employees
WHERE employee_id = &employee_num ;

It should prompt the user to enter a value for employee_num


&&--->Mainly we used the double-ampersand (&&) if you want
to reuse the variable value without prompting the user each
time.

eg:SELECT employee_id, last_name, job_id, &&column_name
FROM employees
ORDER BY &column_name;

Here the user is asked to give the value for variable
column_name only once. The
value supplied by the user (department_id) is used both for
display and ordering of data.

Is This Answer Correct ?    28 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why more redos are generated when the oracle database is in begin backup mode?

1070


What is mrc and what is its use? : oracle accounts receivable

1099


I am Bsc Computer Science Graduate, I have good knowledge in SQL 7.0, Can I go for Oracle APPS course please suggest me the answer

2207


while creating requisitions i am unable to see the list of organisation can anyone help me out ?

2096


What is the importance of batch source set up in ar? : oracle accounts receivable

1197


Where in the Oracle directory tree structure are audit traces placed?

2575


Can you explain how to adjust the amount of advance already received against an invoice? : oracle accounts receivable

1218


how to replace not in with not exist?

3658


What is the disk migration? what is the steps involved in oracle disk migration?

1176


How would you go about increasing the buffer cache hit ratio?

2539


what is semphore explian it?

2739


key flexfield structure

2111


what are all the conversion and interfaces in GL,AP,AR,HRMS with example? otherwise send send link for these

2273


difference of using cursor for loop and open,fetch,close.which one is better

1733


IS IT POSSIBLE TO CREATE REPORTS FROM DIFFERENT UNIVERSES IN ONE DOCUMENT?

2205