Consider the table T1 it consits
A,2,3,4
consider another table t2 it contain
1,2a,3a,4a
now i need o get the upadted answer

Answer Posted / rajesh

to get zero u must apply intersect set statement between
select statements of table1 and select statement of table2
syntax:
select * from t1
intersect
select * from t2

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 bcp? When does it used?

545


What is inline table-value user-defined function?

588


What is the advantage of sql server?

536


What is the command to change the recovery model?

567


How to execute a sql statement using mssql_query()?

545






What happens if the update subquery returns no rows in ms sql server?

587


What are the advantages of mirroring?

569


What are the steps you should follow to start sql server in single-user mode?

482


How many types of subqueries are there in sql server?

463


What are the recovery models for a database?

613


Explain the disadvantages/limitation of the cursor?

562


What is database isolation in sql server? : sql server database administration

564


What are the export options of ssrs?

126


What happens if null values are involved in arithmetic operations?

582


How many full-text indexes can a table have?

549