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

what is the size of your data warehousing?

2054


How many numbers of sessions can one group in batches?

1029


Can some one explain me about Telecommunications(wireless) project in Informatica? Thanks in advance

1936


Define mapplet?

970


Differentiate between a repository server and a powerhouse?

1062


how to create user defined function (udf) in informatica

1266


What do you understand by SOA of Informatica?

935


How to create a non-reusable instance of reusable transformations?

1065


have u done any performance tuning? how u ll do?

2255


How can we delete duplicate rows from flat files?

1176


Sequence generator, when you move from develoment to production how will you reset

1961


How to generate or load values in to the target table based on a column value using informatica etl tool.

1031


What is mapplet in informatica?

993


What is persistent lookup cache?

979


How do you load more than 1 max sal in each department through informatica or write sql query in oracle?

1524