hi,
how to match retrieve the unmatched records from 2 tables
in which we dont have any primary key. example : table1 has
1,2,3,4,5 and table2 has 1,2,3,4,5,6,7,8,9,10 and i want
the numbers from 6 to 10 to be displayed and should not
come as null. i need the numbers. please reply as soon as
possible.
Answer Posted / newbie
SELECT * from Table2
EXCEPT
SELECT * FROM Table1
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What are “unrepeatable reads”?
How do I find the query plan in sql server?
What are the differences between user defined functions and stored procedures?
What is dimension table? : sql server analysis services, ssas
How can we delete a table in sql server?
What are the different types of backups avaialabe in sql server 2005?
what is datawarehouse?
What is hot add cpu in sql server 2008?
What is the difference between char, varchar and nvarchar?
How to create and drop temp table in sql server?
What is buffer cash and log cache in sql server?
Why can there be only one clustered index and not more than one?
What is a View ? Can we insert, Update and delete a view?
Explain what are magic tables in sql server?
What is the difference between deallocate cursor and close cursor?