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...

My sql query is

1. select 1+x from dual?

2. select 1+'x' from Dual?

3. Select x+1 from dual?

what is the out put of the above queries?

Answer Posted / jafar

Hello;
I am not a DBA but I do not think you can use variables like
this. But I ran the SQL and the out put for them was the same:
ORA-00904: "X": invalid identifier
00904. 00000 - "%s: invalid identifier"
*Cause:
*Action:

You can do things like:
Select 1+1 from dual;
Select sysdate from dual
select sysdate - 300 from dual;
select user from dual;

Hope that helps.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define mapplet?

960


What is Data Caches size?

1029


What are the advantages of informatica?

956


What is lookup change?

982


How do you convert single row from source into three rows into target?

1090


Hello, Can you please send the admin and advanced mapping design sample questions to ns_sharmin@yahoo.com?

2276


what is the complex transformation you used in informatica

2522


What do think which one is the better joiner or look up?

1143


What is the commit type if you have a transaction control transformation in the mapping?

968


What is a predefined event?

1028


How to load the data from a flat file into the target where the source flat file name changes daily?

1003


What are the guidelines to be followed while using union transformation?

1063


Explain the different lookup methods used in informatica?

972


Mention a few design and development best practices for informatica?

930


What are the different options available for update strategy?

937