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

there are 2 variables called x and y ,x contains 1,2 and y
contains 3,4 we have to swap the values from x to y and y
to x with out using dummy variables and it can be done only
by using a single statement ? how?

Answer Posted / v

yeah completely agree with u(the above person).The answer
was supposed to be in a single statement and everybody
wrote an history 4 it....hehe
no offence meant

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I tell if sql is running?

998


Can we insert in sql function?

1027


Write the command to remove all players named sachin from the players table.

1124


What is the purpose of the partition table?

1003


What will you get by the cursor attribute sql%notfound?

1014


How do I filter in sql profiler?

949


What is a scalar value in sql?

1014


Does mysql_real_escape_string prevent sql injection?

910


Should I use mbr or gpt?

950


What is user defined functions?

918


Can a table have no primary key?

1010


What is foreign key sql?

947


What is difference between stored function and application function?

1105


What are the types of views in sql?

1041


What is difference between hql and native sql?

1093