Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

I am Having tables T1 and T2 both having same data how to
check (or) compare the data in both table are same?

Answer Posted / thakur singh rawat

(select * from T1
minus
select * from T2)
union
(select * from T2
minus
select * from T1)

If no rows returns then it means that the two tables
contain the same values or say same.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

936


How many types of objects are there?

982


Why do you need a sql server?

1074


what is unique and xaml nonclustered index

1027


What do you understand by integration services in sql server?

941


Explain how to maintain a fill factor in existing indexes?

971


Why truncate is ddl command?

1038


What protocol does sql server use?

927


How do I find sql server instance name?

944


Why we use the openxml clause?

991


What are the Advantages of using CTE in sql server?

1094


How to create a new schema in a database?

1109


How to change parameter value inside the report?

162


What is the difference between update lock and exclusive lock?

958


Which table keeps the locking information?

906