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 / ramakanth
y=x+y-(x=y)
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
Can we call a function containing dml statements in a select query?
What are all ddl commands?
What is before and after trigger?
Can pl sql procedure have a return statement?
How much does sql certification cost?
What is sql profiling in oracle?
what are enums used for in mysql? : Sql dba
What is index example?
list out some tools through which we can draw e-r diagrams for mysql. : Sql dba
What is materialized view. What are different methods of refresh?
How to prepare for oracle pl sql certification?
what is heap table? : Sql dba
What is a design view?
What does the argument [or replace] do?
Can a composite key be null?