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 / radha sri seshu.kolla

YES SMITA I HAVE ONE DOUBT IN YOUR QUESTION. X CONTAIN 1,2
HOW ONE VARIABLE CAN HOLD TWO VALUES AT A TIME. TRY TO BE
MORE SPECIFIC IN YOUR QUESTION

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a sql select query that only returns each name only once from a table?

558


What is sql and its types?

623


What are pl/sql cursor exceptions?

567


What is the difference between a primary key and a unique key?

552


What is range partitioning?

512






How do I run a program in pl sql?

493


What is sql basics?

571


Why indexing is needed?

509


Define commit, rollback and savepoint?

569


How do you declare a constant?

518


What is difference between hql and native sql?

571


How do I find duplicates in sql?

497


Suppose a student column has two columns, name and marks. How to get name and marks of the top three students.

520


what are the properties and different types of sub-queries? : Sql dba

500


what is meant by nl2br()? : Sql dba

560