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
what are the different type of normalization? : Sql dba
Can we call a function containing dml statements in a select query?
What are different types of indexes?
How do I create a memory optimized filegroup?
How do I remove all records from a table?
Are null values same as that of zero or a blank space?
What is exit statement?
How can the performance of a trigger be improved?
What is blind sql injection?
What is record type in pl sql?
What is execute immediate?
Explain the significance of the & and && operators in pl sql.
Is id a reserved word in sql?
What is the limitation on the block size of pl/sql?
Why sql query is slow?