How to swap the data of two columns in a table. both the
columns containing varchar values.

Answer Posted / dinesh

select menu from (select m_name as menu from m_master) a
union select m_name as menu from db2 .dbo.m_master

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is self contained sub query?

768


What is the new security features added in sql server 2014? : sql server security

760


How to add a new dsn with the odbc driver for sql server?

746


what is sql server? : Sql server database administration

704


How to install sql server 2005 express edition?

811


What is the use of =,==,=== operators?

775


Do you know exporting and importing utility?

704


Can I delete event logs?

710


explain databases and sql server databases architecture? : Sql server database administration

706


What is data source document?

761


Can a synonym name of a table be used instead of a table name in a select statement?

775


What are the differences between user defined functions and stored procedures?

756


Tell me what is de-normalization and what are some of the examples of it?

771


You want to be sure that queries in a database always execute at the maximum possible speed. To achieve this goal you have created various indexes on tables which other statement will keep the database in good condition?

726


What is difference statement and preparedstatement?

730