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

Does sql full backup truncate logs?

747


How run sql*plus commands that are stored in a local file?

712


Why do you partition data?

726


What is before trigger?

735


What is coalesce in sql?

732






What is difference between hql and sql?

702


What is t sql in sql server?

739


What is a dynamic query?

762


What is a natural join sql?

706


what is dbms? : Sql dba

736


what are the advantages and disadvantages of cascading style sheets? : Sql dba

803


Which query operators in sql is used for pattern matching?

719


What is sqlca in powerbuilder?

746


What is trigger in pl sql with examples?

722


What are the events on which a database trigger can be based?

817