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

Different circumstance which drives informatica server to expel records?

985


What is domain and gateway node?

1168


Explain Dataware house architecture .how data flow from intial to end?

2587


What happens to map if we alter the datatypes between source and its corresponding source qualifier?

1056


explain about unit testing? in real time?

2209


What is workflow? What are the components of the workflow manager?

1146


What is fact table? Explain the different kinds of facts.

1079


What do you mean by DTM and Load manager and what is difference between load manager and load balancer?

1159


How can we remove the duplicates from flat file source?

1041


What are different types of transformations available in informatica?

994


How many ways are there to create ports?

1335


How to update source definition?

1094


whats the logic to load the lower level of granularity of data to fact table.

2276


What is confirmed fact in dataware housing?

6975


What are the types of caches in lookup? Explain them.

971