How to swap the data of two columns in a table. both the
columns containing varchar values.
Answer Posted / nilesh
UPdate temp
set col1=col2,
col2=col1
| Is This Answer Correct ? | 21 Yes | 15 No |
Post New Answer View All Answers
Explain the microsoft sql server delete command?
How to delete existing rows in a table?
what is a live lock? : Sql server database administration
What are the different type of replication in sql server?
How to truncate the log in sql server 2012? : sql server database administration
What are the properties of primary key?
How to use union to merge outputs from two queries together in ms sql server?
How to enter unicode character string literals in ms sql server?
Difference between report and query parameter.
What does <> symbol mean?
List out the different types of locks available in sql server?
Is natural join and equi join same?
How to add more data to the testing table in ms sql server?
What is the difference between dropping a database and taking a database offline?
Explain the phases a transaction has to undergo?