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
How to enable tcp/ip protocol on a sql server?
Can you pass expressions to function parameters?
What is the difference between functions and scalar functions?
What are the advantages dts has over bcp?
How to use subqueries with the exists operators in ms sql server?
How does a profiler work?
What is the full meaning of dml?
You have modified 100 store procedures and want to replicate these changes from development to prodution, and production can have users using the Server/DB, how would you replicate without causing issues?
Can we insert data into view sql server?
What does it mean to be in union?
Differentiate between delete and truncate.
How will you monitor replication latency in transactional replication? : sql server replication
Can a database be shrunk with users active?
What is difference between cte and view?
What are the features of Embedded SQL