How to swap the data of two columns in a table. both the
columns containing varchar values.
Answer Posted / san
create table san(empid int,empname varchar(10))
insert into san values(1'san')
update san set empid=empname,empname=empid
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
what is the information that can be stored inside a bit column? : Sql server database administration
Do you know what is a trace frag? Where do we use it?
How do we synchronize On-Premise SQL server with SQL Azure?
How many non clustered indexes there can be on table ?
What is the openxml statement in sql server?
Write a SQL query to delete a table?
How to delete an existing database user?
Write a program using SQL queries to find a unique entry in a table.
If you want to send some data from access database to sql server database. What are different component of ssis will you use?
what are the different stages of Report Processing?
How to write a query with a right outer join in ms sql server?
Can we use custom code in ssrs?
Can you force a query to use a specific index?
What is difference between global temporary tables and local temporary tables?
Which language is supported by sql server?